"Censor" individual photos by grouping

Insane Ninja

Joined: 2006-12-06
Posts: 5
Posted: Wed, 2006-12-06 08:48

i plan on having dozens of albums..

i want almost all photos to be viewable by everyone, but certain photos to be viewable only by VIP groups.. without separating them from the albums they are already in

for example, if i go to a concert, and want the backstage photos to be visible only to a specific group, but do not want to separate them from the timeline of the other photos, all in one album/folder

the best i can think of right this moment are hard-coded conditional sql statements pertaining to either a keyword/tag, or a customfield (maybe)

has anyone solved this problem already?

the MUST HAVE detail is that these VIP photos are sharing the same album as the regular photos

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2006-12-06 14:48

Each item in gallery can have different permissions. So remove the view rights for the the guest user for the itmes you don't want them to see.

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
Insane Ninja

Joined: 2006-12-06
Posts: 5
Posted: Thu, 2006-12-07 03:28

okay.. say i have a folder with 500+ items.. each one i specifically want permissions altered for, has a keyword embedded (by picasa, its faster).. any suggestions for a quick php script to run this down?

one in particular, has 1700+ items, a quarter of them to be censored..

i'm looking for something more... all at once

 
Insane Ninja

Joined: 2006-12-06
Posts: 5
Posted: Sun, 2006-12-10 16:53

is there a generalized sql command i could have search for photos and alter permissions based on the existence of a keyword? something i could run after uploads

 
Insane Ninja

Joined: 2006-12-06
Posts: 5
Posted: Tue, 2006-12-12 14:13

okay i'm crossing...

`g2_Item`

`g2_AccessMap`

and for ease of reading.. i'm using text from `g2_PermissionSetMap` instead of coding numbers in

what am i missing?