Dupechecker plugin for cpg1.5.x Dupechecker plugin for cpg1.5.x
 

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]

Main Menu

Dupechecker plugin for cpg1.5.x

Started by jayhunter, March 03, 2011, 10:06:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jayhunter

Hi everyone.

I finally got around to clean up my little dupechecker plugin. I have been using it for month now and it's working like a charm.

The plugin will generate a md5 hash for every file in the database. When someone tries to upload something, it is checked against the md5 hash and filesize of every existing file. If a duplicated is found the upload is denied.

When you install the plugin in a gallery with existing pictures you will need to hit the "Fill in missing MD5 hashes" button in the plugin manager and let it run. It will not identify existing duplicates though.

Changelog
===============
v 1.1

  • Fixed wrong plugin hook. Now it really works.
  • Some minor beautifications
-------------------
v 1.0 Initial release

Cheers,
Jayhunter

ΑndrĂ©

Thanks for your contribution. I added you to the 'Contributor' group, so you can maintain this (and maybe future) announcement threads. Please don't abuse your additional privileges by editing old posts.

beautysport

A few bugs with this plug-in. Using the X-treme theme. When the dupe indicator popup window comes up a few times, the secondary popup window where you check to bypass further popup windows during that upload session, is glitchy. The popup windows usually still continue so it becomes necessary to babysit each session. Fixing this to allow more concise options would be a *huge* improvement to an otherwise fantastic plug-in. Also, uninstalled the plug-in as a manual way to disable, and the popup box is STILL ghosting even though it's no longer installed, so is now a major headache. Any help or improvements with this plug-in situation would be greatly appreciated.

ruzakuku

Hello,

Well, plugin simply does not work for me (fresh copy of cpg 1.5.34). I generated the hashes of all files already online, then tried to upload 3 times the same picture (one by one), every time the pic was added to the album... (same album or various, no change).

netb

I just saw in its documentation that
QuoteNote: his will only work with the default HTML and Flash upload methodes.
Maybe that's the issue, it would be nice to support and the new HTML5 Upload if that's what you are using. Did you click on "Fill in missing MD5 hashes"?