Hiding albums/categories to non-registered users + users not in group Hiding albums/categories to non-registered users + users not in group
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Hiding albums/categories to non-registered users + users not in group

Started by aresdk, May 03, 2004, 09:30:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aresdk

Hi!

How do I do that?

The FAQ somehow does not apply to 1.2.1 since the hack does not work (not even the code seem the same).

Thanks in advance.

Best regards
Martin

Casper

Albums can be hidden, but not categories.

In config, make sure 'users can have private albums' is set to YES.

Now change the properties of each album you want to hide.  You can now see a box 'Album can be viewed by'.

Note, in version 1.2x you also need to have 'show private album icon' set to yes in config, or admin will not see these albums.  In 1.3 they will see all anyway.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

aresdk

Hi!

All what you wrote is of course done allready. My problem is, that users not allowed to see album x still see a "private icon"... that's not intuitive. I want it to be hidden totally as stated in FAQ :

http://coppermine.sourceforge.net/faq.php?q=hidePrivateAlbumsLink#hidePrivateAlbumsLink

But my code is not the same. I believe the above applies to 1.1 and not 1.2+.

How to fix this?

TIA

Casper

Yes, this is a known bug in 1.2.1 and earlier.
It is fixed in 1.3, due out soon.
For a fix to 1.2.1, see this post, http://forum.coppermine-gallery.net/index.php?topic=758.msg14255#msg14255
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

aresdk

Thanks for your reply, Casper.

I might as well wait for 1.3. I shortly tried the beta... looks _very_ appealing!

Do you have any idea of how short time before it's due?

TIA