different folders different folders
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

different folders

Started by Chefkochx, January 26, 2004, 05:19:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chefkochx

hi
when I upload my pics, they will stored in albums/userpics/10002
Is it possible, that CPM makes a different between some pics?
Maybe coppermine can upload the userpics in userpics and pic which are in maincategorys in albums/main/100    or albums/userpics/100  ?
Or is it a static folder?

thx
Chefkoch

Joachim Müller

if you (or your users) upload by http (with the "upload" link in coppermine's navigation), the pics will go into albums/userpics/some_sub_folder. If you upload pics by ftp (to use the batch-add function later), you mustn't upload to "albums/userpics/some_sub_folder", but you should create some folder(s) within "albums". There have been discussions on the file structure before, with users requesting to have the file structure match their category/album structure - this can be easily done if you ftp-upload (which you always should do as gallery admin), but the structure within "userpics" has to remain the way it is. There's no point in having it otherwise, your visitors won't notice the difference anyway, since the database keeps track of the pics, the human doesn't have to.

GauGau

Chefkochx

and is it possible, that I give some special rights to some of my users, which give them the ability to create their own albums in other folders (not only in the usergallerys). But this rights shouldn't be the admin rights. Only the rights to create folders.
I think, when users have more pics with the same topic(party, birthday, etc.), they should post it in a seperate folder as in the usergallerys.
Is there a simple solution?

Casper

No, it's not possible at the moment to give partial admin rights, or for anyone other than admins to create albums in other categories.
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

Chefkochx


Chefkochx

When my users can't create folders in Maincategorys, they could create albums in the usergallerys. But this is another problem because I think unregistered Users can't see this Usergallerys. Is it possible, that everybody can see this usergallerys even unregistered user?

thx
Chefkoch

Casper

Yes, the owner, or the admin, can set the album properties, just the same as the other albums.  In admin mode, click on 'properties' (next to the album thumb), and change 'album can be viewed by' to everyone.
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

Chefkochx

but I can't choose between such options.
I'm owner of the gallery but I can't change the options of categories
can you tell me the exactly way?
Besides, I have CPM 1.2.0 Standalone

hyperion

The users have to do this for their albums.

The easiest way for you to do this directly for all users would be to run an update SQL query for the visibility field in the albums table.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)