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: Show only new files when uploading via FTP  (Read 3700 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
Show only new files when uploading via FTP
« on: November 10, 2010, 03:43:02 pm »

Adaptaion of A little functionality hack for batch upload
Here is the modification to do for version 1.5.x ( or at least 1.5.8 )

You upload your photos via FTP, but when you want to integrate by click on FTP, the pictures appear, the old and new.

Very annoying when there is a lot of photos.
- Slow Posting (together with all the thumbnails are displayed).
- Hard to find that news in the lot.

With this change, there will only be shown that the new upload.

Edit in coppermine root the file searchnew.php.

Code: [Select]
$checked = isset($expic_array[$picfile]) ? '' : 'checked="checked"';Add after
Code: [Select]
if ($checked == 'checked="checked"'){
Code: [Select]
        return $return;
    } else {
        $winsizeX = (300);
Replace with
Code: [Select]
        return $return;
    } else {
        $winsizeX = (300);

Coppermine 1.5.22 hosting by Free
Pages: [1]   Go Up

Page created in 0.016 seconds with 19 queries.