Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to let users delete favorites after downloaded?  (Read 2027 times)

0 Members and 1 Guest are viewing this topic.

forkedatfark

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
How to let users delete favorites after downloaded?
« on: January 30, 2007, 07:15:19 pm »

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
« Last Edit: February 01, 2007, 06:56:42 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to let users delete favorites after downloaded?
« Reply #1 on: January 31, 2007, 08:11:51 am »

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.

Logged

forkedatfark

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: How to let users delete favorites after downloaded?
« Reply #2 on: January 31, 2007, 11:54:15 am »

Thanks so much.
I hadn't seen that there.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.