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: 'Batch add pictures' option for users...  (Read 3912 times)

0 Members and 1 Guest are viewing this topic.

Greg_downunder

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
    • http://www.doofcentral.com
'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 ?
Logged
DoofCentral - Your Psychedelic Universe
http://www.doofcentral.com

Berlin IT Services
http://www.berlinit.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
'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!


GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.