On www.nutshell.nu I have set to be notified for every comment to the nodes I am author of. However I don't receive any until I have replied to at least one comment myself.

I have "Receive node follow-up notification e-mails" ticked so I should be notified about every comment, except my own, right?

Comments

tsvenson’s picture

Priority: Normal » Major

This is still a problem in latest dev and Drupal core 7.0. I like to be able to respond to replies as quick as possible, but without this working I have to manually check if there are new comments.

tsvenson’s picture

Took a look in the log and noticed that these two notices are logged when someone submits a new comment.

Type: php
Notice: Undefined index: name in _comment_notify_mailalert() (line 417 of [path]/sites/all/modules/comment_notify/comment_notify.module).
Type: php
Notice: Undefined property: stdClass::$node_notify_mailalert in _comment_notify_mailalert() (line 440 of [path]/sites/all/modules/comment_notify/comment_notify.module).

When looking at the code my guess the problem lies with languages. For both sites this happens i have enabled translation and locale, but have only one language defined (English). This is due to that the sites will be multilingual at some point, but in the meantime I want to be able to set new content to be English. I have noticed this causes problems for other modules as well.

My guess is that locale_language_list() and user_preferred_language($author) simply doesn't work properly if the site only has one language defined.

rodrigoaguilera’s picture

I'm experiencing the same

kccmcck’s picture

+1

tsvenson’s picture

Soon a year since I reported this problem. Would be so sweet if it could be fixed. Would do it myself, but my coding skills are very limited.

Anonymous’s picture

Status: Active » Closed (works as designed)

I think you might be looking for the kind of functionality in http://adellefrank.com/blog/how-to-email-notifications-comments-drupal7

I don't think that this module is meant to be a solution to that, but only to alert comment authors that another comment has been posted.

Module maintainers, if I'm wrong, please change status back.

Anonymous’s picture

Status: Closed (works as designed) » Active

Actually, I guess this is listed as a feature on the project page.

rwohleb’s picture

I've tried to address this in #1184280: Bug in node author handling in _comment_notify_mailalert(). Please review the patch.

David_Rothstein’s picture

Status: Active » Closed (duplicate)

This issue is older, but I'm marking it as a duplicate of #974338: Undefined property 'node_notify_mailalert', and node author never gets a notification since that issue has a patch.