I spent a couple of hours with the Subscriptions module last night and it appears, after some testing, that notifications are sent to users even if the comment is not published. (On our site, comments are moderated and must be approved before their release.)
Please let me know if this is a valid feature request or if I'm missing something in the configuration options.
Thanks,
Kevin
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | subscriptions.zip | 37.81 KB | Mr.Sollis |
Comments
Comment #1
dziemecki commentedIt's a valid request. Unfortunately, I've attempted to implement it before, but was unable to find a reliable indicator to drive the send/no send decision. If I recall correctly, the applicable hooks exposed the published status too late in the decision process to useful. That might change, or I might get smarter, so I'll keep this on the to do list. Just be prepared for it to take a little while.
Comment #2
kmillecam commentedMaybe I can get this functionality by using your "Test held posts prior to sending" feature.
In the help, you explain: Test held posts prior to sending" tells Subscriptions to test if a node or comment
is still active\published prior toi sending a notification. This is mainly to avoid sending
notifications for for posts that have been deleted. This will result in a small performance
hit, and only makes sense if you are delaying the notifications with "Use cron for notifications".
Does this really check to see if a comment is published? or just the parent node? If it does check the comment status, problem solved.
Kevin
Comment #3
Mr.Sollis commentedI updated the module per the problem illustrated below, feel free to use this if you wish. The update does the following:
Hope that helps. I've test a handful of scenarios and it appears to be working. This is a great module!
Comment #4
kmillecam commentedThanks solshizzle,
Works like a charm!
Comment #5
two2the8 commentedHi all,
This is crucial functionality for the community site I administer, so thanks for all your efforts to make it work!
Two problems cropped up for me, though, while testing this module.
warning: Missing argument 2 for variable_get() in /var/www/html/includes/bootstrap.inc on line 266.I reinstalled and (so far) the error has disappeared (yay!)The first problem seems like it's pretty much resolved, but the latter one is not, and I can't-for-the-life-of-me figure out how to fix it. The 'subscribe to blog' feature works perfectly in the unpatched version of the module, so I'm pretty sure it's not a settings issue on my end. If anyone smarter than me could take a look under the hood & see if they could fix this problem, I'd be very, very appreciative.
Thanks so much!
Comment #6
dziemecki commentedI believe this is the same as "86818". There's a fix there.
Comment #7
dziemecki commentedCorrected code committed.
Comment #8
(not verified) commented