How to let users delete favorites after downloaded? How to let users delete favorites after downloaded?
 

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

How to let users delete favorites after downloaded?

Started by forkedatfark, January 30, 2007, 07:15:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

forkedatfark

Hi,

I saw this thread about a similar topic, but it doesn't really explain where to put a line of code, and it might have changed since coppermine has changed.
http://forum.coppermine-gallery.net/index.php?topic=7687.0

I would like to let my users delete things from their favorites after downloading them as a zipped file.
That way, they won't be downloading pictures again that they added to favorites in a previous session.

Thanks

Joachim Müller

Favorites behaviour has changed dramatically from cpg1.3.x to cpg1.4.x: in cpg1.3.x the favorites used to be stored inside a cookie, while in cpg1.4.x it is being stored database-sided. Subsequently, the thread you refered to doesn't apply at all.
However: if a pic is stored in a user's favorites, the "add to favorites" the user used in the first place to add the file becomes a "remove from favorites" link. Subsequently, users can remove files from their favorites the same way they added them in the first place, so this method should be pretty self-explanatory.


forkedatfark