Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Can Category have a password?  (Read 2092 times)

0 Members and 1 Guest are viewing this topic.

pinkforeversite

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Can Category have a password?
« 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?
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Can Category have a password?
« Reply #1 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Can Category have a password?
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.