coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: sword on December 08, 2006, 10:10:39 PM

Title: not showing pics for guests?
Post by: sword on December 08, 2006, 10:10:39 PM
Hi

I want to hidden particular pics in a album only for guests. Registered users should see all pics. Is there a way to do this? If yes, how?

Thank you
Title: Re: not showing pics for guests?
Post by: Sami on December 09, 2006, 06:36:34 AM
simple answer would be No
you should create a new album and put those image under that and set the Album can be viewed by to members of 'Registered' group
Title: Re: not showing pics for guests?
Post by: sword on December 09, 2006, 09:10:27 AM
Thank you sami

Your solution is not for me  :-\. The reason is: If I have a album with pictures of holidays, I would show pics with landscapes to all users, but some pics with my family only to registered users. But all pictures should be in the same album, because there all of the same holidays.

Maybe, its a feature for the next version of cp  ;D
Title: Re: not showing pics for guests?
Post by: Joachim Müller on December 09, 2006, 02:54:35 PM
Then use the album keyword feature to embedd the pics from a restricted album into the one that should be available for everyone. Pics from linked albums respect permissions.

Here's the setup: create album "A" and put all pics into it that are suppossed to be private. Set permissions on that album to be accessible only for members of the group "family". Edit the files within this album and set the file keywords to something individual like "Holiday2006HawaiiFamily" (make sure to enter the keyword as one word, similar to the one I just typed in).

Then create another album "B" with all the pics that are meant to show to the public. Assign viewing permissions accordingly ("everyone" or "registered", depending on your setup and taste). Finally go to the album properties of that album and set the album keyword to "Holiday2006HawaiiFamily".  That's it.