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: automatically batch updading...?!?  (Read 4971 times)

0 Members and 1 Guest are viewing this topic.

[WSC]KevinMitnick

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
automatically batch updading...?!?
« on: March 21, 2004, 08:47:10 pm »

hi guys

had a great idea of coppermine-feature...
what about to associate a server-dir path to an album, which allows to automatically update new photos if they are uploaded into the specified folder?

thx 4 any feedback
[WSC]KevinMitnick
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
automatically batch updading...?!?
« Reply #1 on: March 21, 2004, 10:50:23 pm »

and how should this function be triggered? As most people are webhosted, cron-jobs are not an option (Windows' scheduled tasks aren't neither). The trigger would have to be[list=1]
  • any user who visits the gallery would trigger the search wether new pics have been added (making the script run slow)
  • the admin logging in and browsing a special url (doesn't make sense, as he could have used batch-add in the meantime as well)[/list:o]I don't see any benefit in such a function, since only the admin can have ftp access to upload pics in the first place (unless you're on a LAN and your users are accessing an intranet).
    However, if you think such a mod would be helpfull for you, you're welcome to post the code and we'll make it available as a hack.

    GauGau
Logged

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
automatically batch updading...?!?
« Reply #2 on: March 31, 2004, 01:17:54 am »

I've suggested the same thing before.  I'm guessing that it probably isn't a good idea to have database checking everytime for new pics because it would probably slow things up.

A better way would probably be to have a update button in admin area to click after you ftp new pics over.

With lots of tgp sites, galleries are submitted and stored in database, then when ready to update page, you click rebuild or update button to rebuild page with new info.

Another option would be to link all the albums with their folders like you currently have to, but have it so that you can link lots of albums to folders before you have to click to have thumbnails made. So, instead of choosing one album at a time and clicking to have updates made, you select multiple albums and their folders, then click update.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.