ZenphotoCMS Forum
Password Protect - 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: Password Protect (/thread-1119.html)

Pages: 1 2 3


Password Protect - S11 - 2007-11-19

I'm using the Default-Password theme right now but want to use the Default-Dark Theme and add the password protect script.

I've managed to do Steps 1 and 2; upon Step 3, I am able to get it working but it doesn't ask for a password upon clicking the Album. Yes; I have ensured there is an _ before the album name, I even changed it to a "." to check if that'd help.

My code for Step 3 is shown below... if anyoen could help, that'd be great! Thx!

" title="">




Password Protect - aitf311 - 2007-11-19

Instructions for ZP 1.1+

In order to get it working just take the password.php and album_images files from default-pass and drop them in default.

Open up album_images and fill it with this:

`

                " title="View album: ">





                " title="View album: ">





















            " title="">

`

add this to the top of your album.php:

`

`

and in album.php replace the albums and images DIVS with:

`

`