Advanced search  


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.

Pages: [1]   Go Down

Author Topic: 'Batch add pictures' option for users...  (Read 4045 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 18
'Batch add pictures' option for users...
« on: November 02, 2003, 11:58:38 pm »

Is this disabled for security concerns?  If not, how can it be enabled so that users can upload pics via ftp, and then 'batch add' them ?
DoofCentral - Your Psychedelic Universe

Berlin IT Services

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
'Batch add pictures' option for users...
« Reply #1 on: November 03, 2003, 07:59:40 am »

usually you don't give ftp access to users, so nobody thought about the option to batch-add for regular users.
If you want to let your users batch-add you'll have to "tweak" your coppermine install (haven't tested this, just from memory): edit theme.php and put the batch-add stuff
Code: [Select]
<a href="searchnew.php" title="">{SEARCHNEW_LNK}</a>into the user admin section.
Edit searchnew.php and remove the line
Code: [Select]
if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);(better still: replace it with some other authentification scheme).

Be warned: this is not supported, nor recommended! It's totally insecure to give people ftp access - be sure to restrict them to a folder of your choice within albums (not userpics!) and to let them upload only, not rename or delete.
Make them use xp_publish wizard instead!
Don't say we didn't warn you!

Pages: [1]   Go Up

Page created in 0.016 seconds with 18 queries.