Question on notifying on comments

gjerdery - October 9, 2008 - 21:19
Project:Notify by Views
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

I'm curious about what happens to comments added to content, when a user has set immediate notifications. My php reading skills are not fully-formed yet, so am not confident in my own understanding of what is happening. In the function "_notify_by_views_mail_send," I believe I understand what happens in the case of frequency equaling "never," and frequency NOT equaling "immediate," but does the $comments array get initialized when frequency does equal "immediate?"

#1

matt2000 - October 13, 2008 - 06:03
Status:active» by design

An 'immediate' notification is sent when the node is first inserted; so under any normal circumstance, it could not have any comments attached to it yet.

So unless I misunderstand your question, there's no issue here...

#2

gjerdery - October 15, 2008 - 20:33

I see -- I take your point on nodes not having comments upon creation. Is it possible to immediately notify users when new comments are posted to a node matching an authorized view? It appears as though comments are included when a user's frequency is set to one of the "digest" modes (although I realize I haven't actually tested this behavior myself -- so could be wrong, please correct me!). The Notify module sends out comments at the admin-selected interval. If I were to set the Notify frequency to "never" so that users would have sole control of notification frequency through Notify by Views, would those selecting "Immediate" ever receive new comments? Thanks again for all your help!

#3

gjerdery - October 18, 2008 - 13:38
Status:by design» postponed (maintainer needs more info)

Just realized I hadn't changed the status with my last post...

#4

matt2000 - December 16, 2008 - 06:10
Status:postponed (maintainer needs more info)» postponed

I'd recommend another module (comment_notify, comment_subscribe) for notification of comments. Notify by Views was designed specifically with nodes in mind, not comments.

 
 

Drupal is a registered trademark of Dries Buytaert.