forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: Mate Matic on December 26, 2014, 07:54:50 pm

Title: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on December 26, 2014, 07:54:50 pm
I made a new album (kategory: no kategory).

Now, I want to set a password for this album.
The checkbox "Password protect this album" has been enabled.
I can write a new password in the appropriate field.
But when I click on "update album", I can't find the permission dropdown field "Album can be viewed by" anywhere.
Coppermine brings no error message.
When I log off (administrator) an click on the mentioned album, no password is requested. You can access the album and view all pictures.

Did I forget something or did I configure my coppermine wrong?
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Αndré on December 26, 2014, 09:32:49 pm
You can either restrict access to an album by password or by user group. If you choose to set a password, the "Album can be viewed by" drop-down box automatically changes to "Me only".

Please post a link to your gallery and the password protected album, so we can check ourselves. Maybe it's just a caching issue on your side.
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on December 27, 2014, 03:13:18 pm
Hm, there's no "Album can be viewed by" drop-down box.

Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on December 27, 2014, 03:24:06 pm
Here's the link to my gallery:

http://www.m-tron.net/coppermine (http://www.m-tron.net/coppermine)

The right album "Fotos" should be password protected for all users. I've set "12345" as password.
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Αndré on December 27, 2014, 07:42:15 pm
Please try again with the curve theme: http://www.m-tron.net/coppermine/?theme=curve
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on December 27, 2014, 07:54:03 pm
Behavior just as mac ox x theme.
No "Album can be viewed by" drop-down box visible.
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Αndré on December 27, 2014, 08:20:01 pm
Strange, as that's a default field which is always visible (see attached screenshot). Have you applied any modification or installed plugins? If so, try if it works as expected if you disable them. If not, try to re-upload all Coppermine files (like you'd perform a regular upgrade), maybe one or more files got corrupted during upload.
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on December 30, 2014, 06:09:58 pm
I haven't installed any plugins. I merely use ImageMagick instead of GD to resize big images.
So, I now have reinstalled coppermine like I did as I updated to the newest coppermine version.
But the password is still not requested.
And there's still no "Album can be viewed by" drop-down box visible, when I set the password.

Link to my coppermine (the password protected album should be "Flyer"):

http://www.m-tron.net/coppermine (http://www.m-tron.net/coppermine)


Really strange.
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Αndré on December 30, 2014, 08:34:50 pm
From the docs:
Quote from: http://documentation.coppermine-gallery.net/en/albums.htm#album_prop_controls_album_can_be_viewed_by
If you have set the config option "Albums can be private" to NO (not recommended), you won't be able to specify access permissions, i.e. all albums will be public and the "Album can be viewed by" will not even be displayed.

Please try to set the above mentioned setting to "YES" and try again. Maybe a candidate for the "known issues" page.
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on January 02, 2015, 01:20:54 pm
André, thank for this hint.
Now, my album settings look correct as you can see attached.
But unfortunately the password protected albums won't be displayed in the album lost anymore:
Only the album "Bilderlexikon der Flugzeuge" can be found on my site:

http://www.m-tron.net/coppermine (http://www.m-tron.net/coppermine)
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on January 02, 2015, 01:23:58 pm
Permission dropdown field "Album can be viewed by" is now displayed.

Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Αndré on January 02, 2015, 02:26:33 pm
Set this option to "YES": http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumb_advanced_private_icon_show
Title: Re: Album password not requested (cannot set album password to guests/anonymous)
Post by: Mate Matic on January 02, 2015, 03:45:02 pm
Good things come to those who wait. ;D
This check mark finally solved the problem (see attachment).
Now all album - also those with password - are shown in my album list.

Thank you very much for your help and patience.