Advanced search  

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]

Pages: [1]   Go Down

Author Topic: album/userpics/100020/pic.jpg  (Read 3478 times)

0 Members and 1 Guest are viewing this topic.

aquafen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
album/userpics/100020/pic.jpg
« on: March 30, 2004, 02:52:56 pm »

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!
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
album/userpics/100020/pic.jpg
« Reply #1 on: March 30, 2004, 04:50:02 pm »

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

Nibbler

  • Guest
album/userpics/100020/pic.jpg
« Reply #2 on: March 30, 2004, 06:20:42 pm »

Subfolders will not be created if SILLY_SAFE_MODE is set to 1 in your config.inc.php.
Logged

aquafen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
album/userpics/100020/pic.jpg
« Reply #3 on: March 30, 2004, 07:32:22 pm »

I dont have conf.inc.php file, i have only config.php!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
album/userpics/100020/pic.jpg
« Reply #4 on: March 30, 2004, 10:47:41 pm »

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
Logged

shoobeedoodoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
album/userpics/100020/pic.jpg
« Reply #5 on: March 31, 2004, 07:03:16 am »

Is there anyway for the uploaded pictures to be put in separate folders for different users?

Thanks!

-Stephen
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
album/userpics/100020/pic.jpg
« Reply #6 on: March 31, 2004, 08:12:31 am »

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
Logged

aquafen

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
album/userpics/100020/pic.jpg
« Reply #7 on: March 31, 2004, 08:41:59 am »

I was change define('SILLY_SAFE_MODE', 0);, but i dont see changes, pictures uploaded into albums/userpics/  without subfolder!
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 18 queries.