I was running zenphoto version 1.1.6 and had it so that any guest to the gallery had to provide a password using a hint (Name of our daughter). I upgraded to version 1.1.7 and it is now asking for a username and password every time a new user comes to the site. This is not the behaviour that I would like.
Was this an actual change or is there something wrong going on.
If I remove gallery guest user and passwords then no password or guest is required.
If it is on purpose is there any chance to have the option of just a password?
Thanks
--edit--
When I try to enter a guest password and not a gallery guest user it says:
"Your gallery passwords did not match"
--edit--
Fixed the password not matching, it was a browser problem
OK. Think I have worked it out.
I managed to set it up with a blank guest user name (my browser kept filling it in with admin for some reason which was one problem I had). I then changed template-functions.php from line 3472 to:
`
$tempo =getOption('gallery_user');
if(!empty($tempo)) echo "n ".gettext("Login")."";
else echo "n ";
`
A bit of a hack but it works. What did you think?
The user name in the login form is allowed to be blank. Your best bet is to mention that in the hint or at least tell your guest users. (Or, of course you could establish a guest user name.)
Your hack will work, but if you eventually grant someone a user and priviledges in your admin user list your hack will prevent him from supplying his user name so he won't be able to log in except on the admin page.
It seems like a tricky balance. For me, not showing the field is much more user friendly in the password only situation, but I see your point on making it easy for proper users to be able to log in. Is there any possibility of making it an option in gallery config?
Two other possibilities:
That would be marvellous. Thanks for all your work.