Member
Member
fxk   09-06-2009, 21:45
#1

Hi,

I created a gallery at http://photos.project22.org and protected some of the albums, like http://photos.project22.org/klettern.

To check this, I logged out, forwarded the link to friends

  • everywhere I could still see the photos. Have a look yourself.

ZP 1.2.5 (SVN 4060)
What I did?
Well, I added a Album password, two times - ("klettern") - I also tried using a Guest User Name, tried it without ...
Any hints?

Thanks so much, fxk

Member
Member
sbillard   10-06-2009, 02:32
#2

Seems to be broken. We will have to figure out what happened.

Member
Member
sbillard   10-06-2009, 02:40
#3

Ok, found the difficulty. It will be fixed in tonight's build, but that may not be so stable as there has been a lot of change going into it recently.

You can change the function checkAlbumPassword($albumname, &$hint) in functions.php circa line 545. There is a line that reads
global $_zp_pre_authorization, $_zp_loggedin;
and needs to read
global $_zp_pre_authorization, $_zp_loggedin, $_zp_gallery;

Member
Member
fxk   10-06-2009, 08:03
#4

Thanks again for a very fast reply!!!
I'll do a new checkout later tonite.

fxk

Member
Member
fxk   11-06-2009, 22:08
#5

Works fine now, after the latest checkout!
Fxk

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.