Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: 'Batch add pictures' option for users...  (Read 4607 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: 47843
  • 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.026 seconds with 18 queries.