Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Notification on new comments  (Read 3613 times)

0 Members and 1 Guest are viewing this topic.

dEnA

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Notification on new comments
« on: October 06, 2006, 05:29:45 pm »

Hi, could someone modify someone of those email-notification mods so that when a user gets a comment he doesnt get email, but he could get for example a text somewhere like "You have X new comment(s)" if he has new comments.. Would be very thankful for all help

Thanks
dEnA
Logged

bitcloud

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Notification on new comments
« Reply #1 on: November 24, 2006, 03:45:39 am »

just wanted to bump this one...

I've attempted a hack, but I'm not getting too much working on this one...
anyone else tried this?
Logged

bitcloud

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Notification on new comments
« Reply #2 on: April 01, 2007, 07:24:48 am »

Yeah I too would love to see that feature... i've tried to implement this but I've had no luck....

any pointers?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Notification on new comments
« Reply #3 on: April 01, 2007, 08:24:21 am »

Solution 1:
would mean a new field in the users table. If someone comments, you set the field to true. Then you need a new check when a user opens the gallery, if the above set field is true. If positive -> display, that he has new comments.

Solution 2:
When opening the gallery you query the notification table for commented on but not revisited pictures of that user. If at least one is existing, you display a message (linked to the subscribtion manager, you can use the function login_form -> really, really easy to come up with a solution)

Disadvantage of course is the additional query. So it would be amazing to make that an admin option (modpack - performance settings)

However this is not plugin related

Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.