coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: aresdk on May 03, 2004, 09:30:19 PM

Title: Hiding albums/categories to non-registered users + users not in group
Post by: aresdk on May 03, 2004, 09:30:19 PM
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
Title: Re: Hiding albums/categories to non-registered users + users not in group
Post by: Casper on May 03, 2004, 10:05:00 PM
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.
Title: Re: Hiding albums/categories to non-registered users + users not in group
Post by: aresdk on May 04, 2004, 10:31:58 AM
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
Title: Re: Hiding albums/categories to non-registered users + users not in group
Post by: Casper on May 04, 2004, 12:02:22 PM
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
Title: Re: Hiding albums/categories to non-registered users + users not in group
Post by: aresdk on May 04, 2004, 06:09:06 PM
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