Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Delete all favorites for cpg1.5.x  (Read 6553 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Delete all favorites for cpg1.5.x
« on: November 11, 2010, 01:36:07 pm »

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').
« Last Edit: January 25, 2012, 12:02:56 pm by Αndré »
Logged

Snowcamper

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Delete all favorites for cpg1.5.x
« Reply #1 on: November 12, 2010, 09:58:52 am »

Thx!  :)
Logged

peterlustig

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Delete all favorites for cpg1.5.x
« Reply #2 on: November 30, 2010, 04:42:04 pm »

Hey, this is VERY useful, thanks a LOT!
Logged

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 240
Re: Delete all favorites for cpg1.5.x
« Reply #3 on: January 25, 2012, 12:54:40 am »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Delete all favorites for cpg1.5.x
« Reply #4 on: January 25, 2012, 09:04:32 am »

Related to the other issue you reported. Should also be fixed with the patch suggested here.
Logged

nickelas

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Delete all favorites for cpg1.5.x
« Reply #5 on: January 25, 2012, 11:00:50 am »

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/
Logged
Human

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Delete all favorites for cpg1.5.x
« Reply #6 on: January 25, 2012, 11:17:09 am »

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.
Logged

nickelas

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Delete all favorites for cpg1.5.x
« Reply #7 on: January 25, 2012, 11:35:03 am »

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
Logged
Human

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Delete all favorites for cpg1.5.x
« Reply #8 on: January 25, 2012, 11:47:07 am »

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

I'll release a new plugin version soon.
« Last Edit: January 25, 2012, 11:52:35 am by Αndré »
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Delete all favorites for cpg1.5.x
« Reply #9 on: January 25, 2012, 12:03:41 pm »

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

nickelas

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 112
Re: Delete all favorites for cpg1.5.x
« Reply #10 on: January 25, 2012, 03:51:52 pm »

Great,
Version 1.1 is working for me.
Logged
Human
Pages: [1]   Go Up
 

Page created in 0.03 seconds with 21 queries.