How can I check whether user has entered the album password?
Using default theme, I put a printAlbumZip() link on the album.php
The problem is when a user tries to access the album and hasn't entered the password, he can still see the link for downloading zip file. Clicking on it gives some nasty errors, so I thought it would be nice to hide it from the user until he can actually see the album and use the link.
I've been looking for how to test this myself and checkForPassword() doesn't help any, but instead triggers a fatal error about it not being defined.
What I need to do is make SURE no album thumbnail is shown for protected albums, but I need a way to test for that and if whether or not the user is actually logged in for that album.