Categories - Members Only Categories - Members Only
 

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

Categories - Members Only

Started by nexxuse, March 03, 2004, 08:16:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nexxuse

Is it possible to make a category members only?

Casper

Sure, set all the album permissions to be viewed by registered users only.
Then no-one else can see the pics.
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

nexxuse


Casper

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:
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

Casper

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  :?
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

nexxuse

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 )

Casper

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.
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

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:
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

Casper

will you please stop editing posts after someone has replied.  it makes it very confusing.  Just post the changes in a new post.
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

nexxuse

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

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