coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: pinkforeversite on December 18, 2014, 07:21:57 PM

Title: Can Category have a password?
Post by: pinkforeversite on December 18, 2014, 07:21:57 PM
Can you put a password on an entire category. My gallery is www.pink-forever.com/gallery and if possible I would like to password protect all of photos? Is that possible? I know you can do individual albums but have way to many to do in and password protect?
Title: Re: Can Category have a password?
Post by: allvip on December 18, 2014, 09:37:27 PM
This is one way to protect the images from unregistred users :

Go to Config - User settings - Allow unlogged users (guest or anonymous) access and choose from:

No
Yes: thumbnail only
Yes: thumbnail and intermediate image
Yes: thumbnail, intermediate, and full-size image

Users will see only the log in page if you choose No.

In Users - Group you have more advanced options.

You can also go to Config - Registration and enable Admin activation of registrations.
Title: Re: Can Category have a password?
Post by: ΑndrĂ© on December 26, 2014, 10:29:26 PM
To answer your question: no, that's not possible out of the box. Permission can only be set on album level. If you have a quite static category/album structure, an SQL query could set permissions on all existing albums (or all in a specific category) and then you just need to set permissions for new albums. If this would work for you, we can create an appropriate SQL query.