forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: nexxuse on March 03, 2004, 08:16:57 pm

Title: Categories - Members Only
Post by: nexxuse on March 03, 2004, 08:16:57 pm
Is it possible to make a category members only?
Title: Categories - Members Only
Post by: Casper on March 03, 2004, 08:24:03 pm
Sure, set all the album permissions to be viewed by registered users only.
Then no-one else can see the pics.
Title: Categories - Members Only
Post by: nexxuse on March 03, 2004, 08:35:17 pm
N/m
Title: Categories - Members Only
Post by: Casper on March 03, 2004, 08:41:52 pm
yes, they can.  Set 'visitors can upload' to yes, in the album properties.  This only allows groups who have upload permission set to yes in groups to upload, not everyone.

edit;  I answered a question you have editted out,  :wink:
Title: Categories - Members Only
Post by: Casper on March 03, 2004, 08:42:14 pm
in answer to your editted question, No you cannot have albums within albums, but you can have as many levels of sub-categories as you want.

edit;  jeez, now that ones gone.  I'm getting confused  :?
Title: Categories - Members Only
Post by: nexxuse on March 03, 2004, 08:52:58 pm
Sorry for confoosing you I fiddle and get things to work..

Now heres the problem I am having

1. It seems when you click Category if noone has uploaded any pics(http://forum.coppermine-gallery.net/index.php?topic=3496) the Albums do not link anywhere they link to thumbnails.php?album= (then nothing else)

2. When person goes to upload photo They dont See Category > Albums

all they see is Album Album Album Album is there anyway to make it show Category then the albums? ( I have categories with same album names )
Title: Categories - Members Only
Post by: Casper on March 03, 2004, 09:12:47 pm
I seem to remember seeing this before.  I can't remember the cause, but is easy to fix I think.

Do a search, using 'AND' between words to narrow the search.
Title: Categories - Members Only
Post by: Casper on March 03, 2004, 09:26:50 pm
Try this thread, and if necessary, the one that points to;
http://forum.coppermine-gallery.net/index.php?topic=1158&highlight=thumbnail+php+album


And I should have said this earlier, only one topic per thread please, in the future.  :wink:
Title: Categories - Members Only
Post by: Casper on March 03, 2004, 09:30:04 pm
will you please stop editing posts after someone has replied.  it makes it very confusing.  Just post the changes in a new post.
Title: Categories - Members Only
Post by: nexxuse on March 03, 2004, 09:31:59 pm
Quote from: "casper"
Try this thread, and if necessary, the one that points to;
http://forum.coppermine-gallery.net/index.php?topic=1158&highlight=thumbnail+php+album


And I should have said this earlier, only one topic per thread please, in the future.  :wink:



the thread linked in thread helped I had to change  

code in the list_albums() function to

Code: [Select]
       $visibility = $alb_thumb['visibility'];
        if ($count > 0) {