Delete all favorites for cpg1.5.x Delete all favorites 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

Delete all favorites for cpg1.5.x

Started by Αndré, November 11, 2010, 01:36:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

This is a port of the cpg1.4.x plugin 'Delete All Favorite' by Sami. It adds a button to the 'My Favorites' page which removes all pictures/files from your favorites.

I cleaned up and optimized the code, removed unnecessary files and language strings and moved the delete button to the right (next to the table header 'Favorites').


peterlustig

Hey, this is VERY useful, thanks a LOT!

pols1337

Hi,

You may need to warn users that, in the list of plug-ins, it needs to be ABOVE the plug-in Album addfav (album_addfav): v1.3.  Otherwise, the icon for "Album addfav" overrides the icon for "Delete all favorites."

Joel / pols1337

Αndré


nickelas

I can't get this plugin to work, no button shows up.
Tried the patch and putting the plugin first in order. Any ideas?

Thanks,
http://uppsalafoto.se/galleri/
Human

Αndré

Probably the "send favorites to admin" button overwrites the "delete all favorites" button. Please try what happens if you (temporary) uninstall the Favorite Mailer plugin.

nickelas

Thanks,
Temporarily unistalled "send favorites to admin" and a few other plugins but no progress.
Don't know if its related but It looks like the "My Favorites" page does not completly load, it keeps waiting for something
Human

Αndré

#8
Please try to enable the "Allow ZIP-download of favorites" feature in the Coppermine config.

I'll release a new plugin version soon.

Αndré

Version 1.1 attached to initial post. It should fix the issues nickelas and pols1337 reported.

nickelas

Great,
Version 1.1 is working for me.
Human