How did you get the Comment Notify module to work

solaris's picture

After I installed the Drupal module "comment notify" it never seemed to send out emails when a comment was replied to. I noticed that there is also a patch file but it looks like it requires shell access?

fivemagics99's picture

All the patch does is add an

All the patch does is add an additional conditional statement to the comment.module file. First disable the comment notify module. Open comment.module in the modules/comment directory. Search for the following statement:

return $edit['cid']; (Theres only one statement like this)

Now right above this statement insert:

else {
comment_invoke_comment($edit, 'publish');
}

Enable the module and test by logging in as one user and posting a comment making sure the "notify me of comments" box is checked.

Lastly, as another user reply to the comment and check your email, this is how I got it to work.