forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: epsilon on March 04, 2004, 07:11:44 pm

Title: Directory Creating per User Upload Album in /userpics
Post by: epsilon on March 04, 2004, 07:11:44 pm
I would like that when a user creates and upload a new album for example (album lea), a new directorie will be created in /userpics like /userpics/lea

How i can do it, it will be great have this option in the script, thanks.
Title: Directory Creating per User Upload Album in /userpics
Post by: DefenceTalk.com on March 05, 2004, 06:31:08 pm
:)

Been asking/recommending similar solution but it was turned down that it can't be done? :( userpics folder just keeps getting bigger and bigger. ;)
Title: Directory Creating per User Upload Album in /userpics
Post by: Casper on March 05, 2004, 06:43:54 pm
cpg does normally put such pics in a folder it creates just for that user anyway, i.e., for user ID 25, it creates folder 10025.
But as there is no need for admin to go into userpics, cause cpg and the database take care of this, why does it matter?  
What you want is for coppermine to name the folder with the username, instead of the user ID.  I don't know how difficult this would be to code.
Title: Directory Creating per User Upload Album in /userpics
Post by: Nibbler on March 05, 2004, 07:38:45 pm
My gallery doesnt create any new folders atall, just dumps all the images in userpics, not sure quite why it isnt doing as you describe Casper. Anyway, having such a large number of files in one folder can cause problems - it has crashed my ftp client on several occasions.
Title: Directory Creating per User Upload Album in /userpics
Post by: Casper on March 05, 2004, 11:16:12 pm
:oops:
seems I missed the change, sorry.  Coppermine used to act the way I described, but it seems to have stopped when 1.2.1 came out.

Can any of the dev's tell me why this changed.
Title: Directory Creating per User Upload Album in /userpics
Post by: Nibbler on March 10, 2004, 08:34:31 pm
Just stumbled upon the explanation for this - it only creates those extra directories if SILLY_SAFE_MODE is not set.
Title: Directory Creating per User Upload Album in /userpics
Post by: Casper on March 10, 2004, 09:50:16 pm
That explains why it doesn't do it for me any more.  I did not turn it on for some time after starting my gallery, until I had problems.