Hello,
I use zenphoto to host a small photo website for my family. I recently upgraded a several-years-old version to the current one (1.4.9).
In my old version, I had it set up where the main gallery was password-protected. On the front page, guests could get into the site by entering just a password (no username), and below the form, there was a password hint.
In the new version, I've also set up guest access, but there are two issues I'm trying to solve, because I think they will be confusing to users:
1) guests can log in without a username, but the login form is still asking for one (i.e. it's the same form I would use to log in as an admin)
2) the password hint is not displayed.
Is there a built-in way to get the behavior I had before? i.e. don't ask for a username and display a hint on the front page? I've searched through the forum and the docs, but I don't seem to find anything that explains this for a recent version. It's been so long since I set up the original site that I've honestly forgotten whether I had to hack anything to get it set up that way.
Thanks in advance for any help you can offer!
Comments
We will look into this. If you can please submit an issue on Github so that it doesn't get lost.
Do you know what version you were using before when this worked?
`<?php printPasswordForm($hint); ?>`
This will take and show the hint set in the backend under Gallery options->Gallery password, and then also honor whether you have show username selected in options->security (uncheck show username), instead of forcing the showing of username.
Let us know if that works for you. We should probably change this in all included themes so backend options are enforced.
Shall I still submit this as a bug on github? I'd be more than happy to if it will help.