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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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