Keywords and private albums Keywords and private albums
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Keywords and private albums

Started by orangutan, September 30, 2005, 04:48:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

orangutan

Hello!

I want to solve such kind of problem: when a user places a picture in his private album and enters a keyword for that picture, the picture can be viewed in another album with the same keyword only  if the user's album has public rights, but it cant's be viewed if the rights of user album are "Only me".

In which coppermine gallery file I need to rewrite some code?

P.S. sorry for my bad english =)
Thanks

Stramm

why do you want to have private albums when a simple search would make the pics public again??

The permission stuff isn't that easy. And I don't think you can keep the private album system as is and just let searches pass. For that you'll have to rewrite and rethink more than you may be aware right now. To get a start check out $FORBIDDEN_SET