forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: jayhunter on March 03, 2011, 10:06:51 am

Title: Dupechecker plugin for cpg1.5.x
Post by: jayhunter on March 03, 2011, 10:06:51 am
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
-------------------
v 1.0 Initial release

Cheers,
Jayhunter
Title: Re: Contribution: MD5 Dupechecker Plugin
Post by: Αndré on March 03, 2011, 11:47:13 am
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.
Title: Re: Dupechecker plugin for cpg1.5.x
Post by: beautysport on April 02, 2013, 10:31:51 am
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.
Title: Re: Dupechecker plugin for cpg1.5.x
Post by: ruzakuku on February 12, 2015, 06:08:25 pm
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).
Title: Re: Dupechecker plugin for cpg1.5.x
Post by: netb on February 13, 2015, 12:07:14 pm
I just saw in its documentation that
Quote
Note: 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"?