Show only new files when uploading via FTP Show only new files when uploading via FTP
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Show only new files when uploading via FTP

Started by cavok, November 10, 2010, 03:43:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cavok

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.

Find$checked = isset($expic_array[$picfile]) ? '' : 'checked="checked"';
Add afterif ($checked == 'checked="checked"'){

FindEOT;
        return $return;
     
    } else {
        $winsizeX = (300);

Replace withEOT;
     } 
        return $return;
     
    } else {
        $winsizeX = (300);


Coppermine 1.5.22 hosting by Free