Notification on new comments Notification on new comments
 

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

Main Menu

Notification on new comments

Started by dEnA, October 06, 2006, 05:29:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dEnA

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

bitcloud

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?

bitcloud

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

any pointers?

Stramm

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