Pages (2): 1 2   
Member
Member
whyves   30-10-2013, 00:40
#1

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

Member
Member
sbillard   30-10-2013, 01:18
#2

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.

Member
Member
whyves   31-10-2013, 20:27
#3

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

Member
Member
sbillard   31-10-2013, 20:41
#4

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.

Member
Member
whyves   31-10-2013, 23:12
#5

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.

Member
Member
sbillard   01-11-2013, 00:37
#6

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.

Member
Member
whyves   01-11-2013, 08:57
#7

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 ?

Administrator
Administrator
acrylian   01-11-2013, 10:47
#8

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

Member
Member
whyves   01-11-2013, 18:57
#9

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.

Member
Member
whyves   01-11-2013, 19:01
#10

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.

Member
Member
sbillard   01-11-2013, 20:14
#11

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.

Member
Member
whyves   02-11-2013, 01:28
#12

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.

Member
Member
sbillard   02-11-2013, 01:30
#13

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

Member
Member
vincent3569   03-11-2013, 07:55
#14

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.

Administrator
Administrator
acrylian   03-11-2013, 09:33
#15

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

Member
Member
whyves   04-11-2013, 17:47
#16

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.

Administrator
Administrator
acrylian   04-11-2013, 18:42
#17

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

Member
Member
sbillard   04-11-2013, 19:25
#18

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.

Member
Member
whyves   04-11-2013, 19:44
#19

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.

Member
Member
whyves   04-11-2013, 20:45
#20

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).

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.