Has anyone got any ideas on this; I just uploaded approx 60 files to a node for which I have set a test notification.
As I expected my inbox was flooded with about 40 notifications, what happened to the other 20 odd messages? Well I had to call my ISP to ask them to unblock the spam filter as the flood caused the filter to treat these messages as spam...
I really need a solution to this, is there any way to put all of these notifications into one message by default?
I've had a real quick look at this and am not able to give you an answer. I can tell you where to look....and hopfully give you some pointers as how to work these things out.
The digest setting is set in the admin section at (My Account -> My Notification Settings) notification/settings. This form is processed by kernel/notification/settings.php which seems to cycle through all the notification handlers making changes by calling $handler->storeSettings( $http, $Module );
Notification handlers are in kernel/classes/notification/handler , the digest one in kernel/classes/notification/handler/ezgeneraldigest/ezgeneraldigesthandler.php
So if you look into the storeSettings method you should be able to work out what you need to do to set digest notifications for users.
Hi Bruce thanks for the ideas, I'll look into it and see what I can come up with.
[update] Ok I looked... wow there's some PHP in there... Unfortunately I'm not to good with that stuff. I noticed the kernel/notification/settings looks for $availableHandlers, I assume it gets these from notification.ini. If i was to override notification.ini with notification.ini.append.php would it be wise to set it so that only ezgeneraldigest is available? Or would this cause other headaches within the system?
For the traffic this site will attract I don't think anyone will need the standard notification (the one that sends emails for every change), but would removing it from available notification types disable it? [update]
Cheers!
Pardon me while I burst into flames...
You must be logged in to post messages in this topic!