![]() |
|
How to check if album password has been entered? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How to check if album password has been entered? (/thread-6277.html) |
How to check if album password has been entered? - bryanbrazil - 2009-12-14 Is there a way to check if a guest has entered the password for a password-protected album? I tried using checkforPassword(), but this returns true even after the guest has entered the album password. I have a sidebar in Wordpress that is only displayed on my protected album's url. However, I only want it to display after the user has entered the password, I don't want it to display on the password form page. Hope this makes sense...thanks! How to check if album password has been entered? - sbillard - 2009-12-14 Maybe it is not completely clear. With the current Zenphoto, your theme has no need for the If you are using So, if I understand correctly, you want a sidebar to display on your gallery pages (except for the password form page) if the user is logged in. So you should be able to just display the sidebar on each script except the password form one. How to check if album password has been entered? - bryanbrazil - 2009-12-14 I didn't explain it very well... I am the only Zenphoto user, anyone visiting my site doesn't login to Zenphoto. I do have one password-protected album, however, that they would need the password to access. I figured out my problem, I just need to rearrange my Wordpress sidebars and then not call that particular one on my Zenphoto password page. Thanks for your help! |