ZenphotoCMS Forum
zpBootstrap: Can't make Top level Album just simply pw protected - 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: zpBootstrap: Can't make Top level Album just simply pw protected (/thread-11443.html)

Pages: 1 2


zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 30-10-2013

Hi
I have read quite a lot of blog posts about the user item... tried a few things myself, but can't figure out the way to just have one album protected with a simple pw (no userid, just pw) and just for viewing the photo, not admin side.
All my other albums are public.

I have the following set up (mine is in French so my translation might be approximate) :

  • Option/security : Username / non selected
  • Album "XYZ" level 1 : published
  • Album "XYZ" password protected, Yes / But I have not added any user in the field above the pw. I only entered a PW and my album is displayed with a locker on the Album Admin page.

Result :

  • The album is displayed with a locker image on the galerie side : good
  • when a user clicks on the image he is prompted a Login/PW
    form: NOT GOOD / Should be only PW
  • The form is stating that the page I'm trying to display is protected by a PW : good
  • when I type the saved PW in the form, the form refreshes exactely the same and I never get access to the PW Only protected Album.

I'm certain I have missed something in the settings, because from all I read it seems people can do nearly everything with the user control.
Thanks in advance for your help.

Yves




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 30-10-2013

Zenphoto version Missing--NOT GOOD
Theme in use Missing--NOT GOOD
Information about your install Non-existent--NOT GOOD

If you want us to help you really need to meet us half way at least. The behavior you describe could be right and proper under many circumstances.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 31-10-2013

Thanks sbillard for your answer, sorry for the missing information.
ZP Version : 1.4.5.5 [679750f04c] (Version officielle)
Paramètre régional présentement utilisé : fr_FR.UTF8
Theme in use: zpBootstrap (but I tried several Themes with same behavior)
Version PHP : 5.4.19
Version de MySQLi : 5.1.66




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 31-10-2013

Check and report on the following settings:

Gallery option "Gallery type"--should be "public"
Gallery password--Should be an "open lock" icon.
Security option "User name"--should be un-checked.

Reset your album passwords by clicking on the "lock" Icon on the album tab. Verify you have no "locked" albums.

Then set one album password (and only the password) and see if you get the correct behavior.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 31-10-2013

Confirmed and reset in the order advised :

  • Gallery Type Public (Was public)
  • Gallery pw -- Open lock (Was Open)
  • Resaved Gallery options
  • Security option "User name" -- unchecked (Was uncheked)
  • Resaved Securtiy options
  • Albums all unlocked (on Album settings summary page)
  • Recreated only the pw for the Album that I want protected (with pw accepted)
  • Resaved Album Option
  • Check on Album Settings summary (showing one album locked).
  • Waited 15 Minutes / Open another browser with cookies all deleted / -->
  • All albums are available except one with a locker image (OK)
  • Click on the locker image : form displayed contains 2 fields username and pw (NOK / NEED ONLY PW FIELD Required).
  • Filled in th PW in the PW field --> ignored / form refreshes showing the exact same form a second time.

NOTA : when I type my admin login and pw in the form that is displayed on top of the locked album, I get rejected as well.




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 01-11-2013

Quote:NOTA : when I type my admin login and pw in the form that is displayed on top of the locked album, I get rejected as well.
This is an indication that the form is NOT a standard Zenphoto one. All such forms produced by Zenphoto will allow login of a Zenphoto user.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 01-11-2013

Thank you sbillard.
It must be zbBootstrap theme then.
Can the thread title be changed at your admin level to allow 3rd Party zbBootstrap (author_vincent3569) noticing this problem ?




zpBootstrap: Can't make Top level Album just simply pw protected - acrylian - 01-11-2013

I changed the topic title. But you should try to reproduce this with an official theme, too.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 01-11-2013

Reproduced / Very close :

  • Now switched the whole galery on Default theme Black.
  • With same exact set up. I have checked the options galery and security set up again and refreshed the pw for my protected album to ensure same conditions.
  • The form is now pw only (OK) instead of username+pw with zpBootstrap.
  • However, when pw typed in and click on Connect / the form refreshes and nothing happens at all. I can type and type again with no impact. Coming back to the galery page, the locked album is still locked and cannot be accessed.

I believe the form on zpBootstrap is incorrect given my set up(should not display username field).
However, I believe the behavior with the default theme is also incorrect as typing the pw on a locked published galery does not give access to the galery.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 01-11-2013

Adding something strange :
Behavior is sligthly different when typing a wrong pw instead of the correct one.
Correct pw, the form reapears again and again, not allowing access but not givong any hint about what is wrong.

Wrong pw, the form reapears but with red warning in French :
"Impossible de se connecter.
Vérifiez votre mot de passe et essayez de nouveau. "
"Impossible to connect.
Check you password and try again. "

That may help you find what is wrong.




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 01-11-2013

Be sure that your browser has not cached the logon page and is re-showing it to you.

As for zpBootstrap, be sure you have the most recent version for the 1.4.5 release. The password form problem really sounds a not updated version.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 02-11-2013

I erazed all cach each time before testing on a separate browser. I doubt I can have a cach impact. Typing the right PW only leads me to seeing the form again and again no matter what.

As long as I don't see Default theme working, I have no chance to get zpBootstrap working correctly.




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 02-11-2013

Sorry, cannot help you further. This does not occur in the testing that I have done--all works as expected.




zpBootstrap: Can't make Top level Album just simply pw protected - vincent3569 - 03-11-2013

Quote:As for zpBootstrap, be sure you have the most recent version for the 1.4.5 release. The password form problem really sounds a not updated version.
the latest release of zpBootstrap is only avaliable with zenphoto 1.4.4.x

I try to update it to 1.4.5, but I have not enough time.




zpBootstrap: Can't make Top level Album just simply pw protected - acrylian - 03-11-2013

If you need help let us know. There are actually only minor things you need to update in general.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 04-11-2013

Not only a zpBootsrapt pb.
I have entirely rebuilt the install from scratch using the last zp package 1.4.5.6. and default theme only.
I have uploaded my albums again.
Made all the required configuration as advised by sbillard.
My locked top level album (that contains no image of its own, it only contains subalbums with images) can still not be accessed using the set pw. The pw form refreshes again and again, not allowing access to the pw protected top album.




zpBootstrap: Can't make Top level Album just simply pw protected - acrylian - 04-11-2013

You should really update to the just released 1.4.5.7 (for other reasons though).




zpBootstrap: Can't make Top level Album just simply pw protected - sbillard - 04-11-2013

The other thing required for passwords to work is cookies or having set album sessions. If your browser refuses cookies then you will not be able to log-in to the front end.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 04-11-2013

I will update to 1.4.5.7 tonight.
All my browsers are cookies friendly.
I will test tonight pw protect just a simple top level album with pictures in it and no sub-albums.




zpBootstrap: Can't make Top level Album just simply pw protected - whyves - 04-11-2013

Just finished my update.
Added a test album just with photos in it / no subalbum.
Protected it with PW (no guest user, just pw) / Locker displayed.
All albums and images are published including this one.
The locker on the album is displayed correctly, the form is poping up whe I click on the album, my security level is definitely allowing cookies...
But when I type the pw in the form and click connect / it fails and the form reapears again
What am I doing wrong ? Would you like to test the behavior (I can share url and pw just for test).