That would be great if a user could receive only one notification about all new comments since his last visit of the node. Or just limit maximum notifications per day per node.

Comments

greggles’s picture

Status: Active » Postponed

I believe this would require some additional database tables in the Comment Notify module. Since this module is meant to be lightweight I don't think it makes sense to provide this feature.

If there is some way to do it without requiring a ton of additional code/database table then I'd certainly be interested in patches.

Gus24’s picture

So maybe add just a global option to limit maximum notifications per day per node? Then the user will recieve only 1 (or as many as you need) notification in a day from one suscribed node. And no matter if he visited the node or not. I'm not sure but I think this wouldn't hurt too much the lightness of the module.

greggles’s picture

I don't see how it matters if this is a global option?

My point is that we would need a database table that tracks "user" and "last contacted" time which would make this not lightweight.

greggles’s picture

Status: Postponed » Active

So, we actually can do this with the accesslog table. It might be a slowish query on some sites but I think it could be worth it.

Oleksa-1’s picture

Users on our website also request such kind of feature.
Sub.

MakeOnlineShop’s picture

Hi,

I second this request.

Nodes with hundreds of comments send too many Email and my host limits to 200 emails an hour.

Am i am the only one to have nodes with so many comments ?

I know that people could unsubscribe but it seems that they don't do it even when i put the unsubscribe link on top of the message.

Is there any other module allowing to limit notification sending ?

Thanks a lot.

rexcn’s picture

Sub.
It is very important for me.

greggles’s picture

Title: Only one notification until a use visit node again » Only send one notification until a user visits the node again

@kytykyty - important enough you're willing to help make it happen in some way? a bounty or writing documentation or some other help?

jdln’s picture

Subscribing.

jordanmagnuson’s picture

Hm... I take it this issue has gone into hibernation?

I just wanted to say that I think this is a significant feature request. I definitely appreciate this module's intention of being lightweight (that's why I'd prefer to use it over other offerings), but if you look at all the popular forum software, for instance, "one notification per visit" is always the default behavior, and I think it's what people have come to expect when subscribing to comments...

This module is great, and it works well for a site with few comments, but is impractical for any site that receives loads of comments, because when people subscribe, they're expecting to get one notification of "new comments on node x", rather than twenty emails in their inbox the next morning.

Could this be done somehow with a url callback? So when we send a notification email, we set some kind of flag to not send any further notifications for this node/user combination... then when the user clicks the (special) link in their email, the flag gets reset?

The thing about performance is, whatever weight this feature would add to the module, it could easily be made an optional setting, which means that everything would still be super lightweight for people who don't want this feature... right?

OddJob’s picture

I can see the overhead the feature might add:
-either you send an an email and flag the email address for 24 hours, before sending another email notification.
-you offer the option to receive a new email notification with each comment, or only one per day.

I think the focus, least what I get from the module is to provide a minimal feature set for anonymous users to receive notification when something is posted. As opposed to a registered user and/or author, who I would think could (should?) have options? Similar to how Drupal group Notifications are configured. This might encourage anonymous users to register for more features.

Just my 2 cents.