Hi,
I was wanting to achieve the following:
1) My site password protected - easily done.
2) My site with a user registration page where the person registers with an email address and password. When they register it emails me to tell me. They are then either declined and back to square one or they are acccepted by me and can then view my gallery with the email and password they created. They would just log in to view the gallery.
3) Once registered I would then like a log of who has logged on to my gallery and when so I can track who has been visiting and who hasn't? Ideally what they viewed as well but not as important really.
Is all of this achievable? I've read through the forums but can't find anything that matches my exact situation.
Any help is greatly appreciated. I am a php novice to say the least and have been just altering themes using a bit of common sense to get my desired results so far. I basically need an idiots guide if this is possible?
Thanks again.
Stuart
Comments
How long does it take for a cookie to expire? can I not set that to one day, 4 hours? or similar? so I'll know who has logged in each day?
Thanks again.
* Actually, you could get a log of sorts by setting the define `DEBUG_LOGIN` to true, also in functions-basic.php. You will get a lot more data than you probably want, though.
The login handling is all done by the script lib-auth.php. This script is designed so that it could be replaced by an equivalent. You could modify it to provide the logging you desire. You would have to be aware of any changes that might be made to the script release to release so that your version did not slip out of date.
Thanks again for your help, you do a great job.
Thanks a lot for your efforts, I'll keep an eye on developments once I have my logon working.