Hi,
thanks for this nice module.
Is it possible to disable notifications if a user just edit a comment or article. I can say it in another way; we only want notifications on newly created things.

Thanks,
Tonny

Comments

moshe weitzman’s picture

Seems like a good idea to me as well.

Raving’s picture

Me three, but in the 5.x version :)

jose reyero’s picture

Title: Only mails on new nodes/comments » Notifications depending on event types (Only mails on new nodes/comments)
Version: 6.x-1.x-dev » 5.x-5.x-dev
Category: support » task

Ok, I'd like to have this feature too so, let's try to spec it out a little bit. In the meanwhile I've added some options in notifications_event() which should allow other module to just swallow an event, if someone is in a hurry it is commented there)

Ideally we'd have some global settings and per-user options, so any user can set up which event types to subscribe to. It should be possible to build this in a simple plug-in, as plug-ins can throw query conditions into the queue query.

So I'm thinking:
1. Building some global settings in the notifications module itself, so the admin has some check boxes to define which event types should be further processed or just swallowed by the system.
2. Let the door open for an event_type plug-in which may handle per-user/per event type settings with one more table and throwing conditions into the queue query.

The first one wouldn't be too difficult, I'll add it to my list. The second one would take a bit more, so if anyone wants to contribute a plug-in for this....

Thoughts?

davidgibbens’s picture

I would like to see this in 5.x too as at the moment I am leaning towards Subscriptions (which has the options built in) when really I would sooner go with Notifications because of its extensibility.
As this functionality is available with Subscriptions, you can see a possible UI for this feature there (though it's a fairly obvious implementation anyway).
Is there any update on when this might be available please?

jose reyero’s picture

Assigned: Unassigned » jose reyero

Temporary hack here, http://drupal.org/node/293571

jose reyero’s picture

Status: Active » Fixed

Finally, implemented (for 5.x and 6.x)

I think this should be quite flexible and it is overridable by and other module. See notifications_event() function.

vstmusic’s picture

Thanks for this new implementation ! Very nice !

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.