News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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://coppermine-gallery.com/forum/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