When my users upload pictures, the pictures uploaded in album/userpics/ How i can do next, for all users creating unique folder album/userpics/100000/ - here are user pictures
Example: for Aquafen - folder is 100000
for Gringo - folder 100001
fir Alex - folder 100002
Im so sorry, i very bad speak English! (im russian)
Help me please!
This is normal, the users pics are uploaded into /userpics, or /userpics/1000?. Coppermine uses these folders to keep track with the database. These pics can be put in any album, using the edit pics.
You must leave these folders alone, and do not create in advance.
If you want to create folders to ftp pictures, make your folders in the /albums folder, NOT in the albums/userpics folder.
Subfolders will not be created if SILLY_SAFE_MODE is set to 1 in your config.inc.php.
I dont have conf.inc.php file, i have only config.php!
Trust us, you do have a file named config.inc.php on your webserver, it's in the include folder within coppermine and has been created during coppermine install.
If you don't have silly safe mode, you won't have to bother anyway.
GauGau
Is there anyway for the uploaded pictures to be put in separate folders for different users?
Thanks!
-Stephen
they are in different folders (one folder for each user) by default. Like Nibbler pointed out: if you have silly_safe_mode enabled, they will not be in separate folders.
There have been requests before to change the way folders are being created and pics are stored within userpics (i.e. on http upload), but nobody has come up with a working hack that really made sense. Why bother? The database keeps track of the pic location, you won't have to.
GauGau
I was change define('SILLY_SAFE_MODE', 0);, but i dont see changes, pictures uploaded into albums/userpics/ without subfolder!