• Resolved jenfilgate

    (@jenfilgate)


    I have a notification for when a CPT “Assignment” (LearnDash) gets a comment on that page, that it will send an email to the Author only, and won’t send an email to the user that triggered it. However, I would also like some way for the site Admin to get notified when new comments occur on that page and anyone else who isn’t the author that commented on that page to get the notification.

    The scenario I envision is:
    – User uploads an assignment to the site, which creates the Assignment page – therefore making them the Author of that page.
    – Instructor or site Admin comments on that assignment, which triggers the notification email to the Author (I have this all working just fine)
    – Author replies to that comment or adds a new comment to the page and the site Admin and anyone else who commented on that page gets a notification email (this is the part I can’t get working)

    When I had a comment reply notification also set-up, the Author would get 2 emails when someone replied to their comment, which isn’t a good user experience, so I deleted the reply comment notification.

    And if I tried to have the WP Discussion setting of send an email if “Anyone posts a comment” so the site Admin would be aware of the comments, it started sending out 2 emails (WP ugly one plus BNFW email) to both the Author and the site admin, which didn’t work.

    I don’t want ALL users of the site to get emails, but there doesn’t seem to be a user role in the dropdown list that specifies the Author of that particular page (Author role sends notifications to anyone who writes for the site, which isn’t the user who uploaded an assignment file which created the page), nor a user role for any users that only commented on that particular page.

    So because of this, I can’t use the “Send to” field because it doesn’t have appropriate roles for my needs, and I must have the “Send this notification to the Author only” box checked to make sure that at the very least, the user who uploaded the file gets notified (as the user will change on each assignment, so I can’t just specify any particular user).

    Any ideas on how to get the site Admin and any other commenters on that page that aren’t the Author notified when the Author posts a comment?

    • This topic was modified 7 years, 6 months ago by jenfilgate.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @jenfilgate,
    Thanks for your message.

    You should be able to use the ‘Set “From” Name & Email, Reply To, CC, BCC’ field to CC in a site admin to those ‘New Comment’ notifications.

    As for other commenters, the Comment Reply notification is sent out when another user has replied to a comment on a post or custom post type. It is not sent however, when you reply to your own comment.

    Currently, there isn’t a way to send notification to all commenters on a post. This is more suited to a ‘subscription’ style plugin where BNFW is more of a ‘notification’ style plugin.

    I hope that makes sense but if you have any other questions, do let me know.

    Thanks,
    Jack

    Thread Starter jenfilgate

    (@jenfilgate)

    I have now set to bcc the Administrator, and I have “Send this notification to the Author only” checked. This sends out an email to both the Admin & the Author when the Admin adds a comment or the Author adds a comment (so they get emails even if they were the one who commented).

    So when I tried to add the checkmark to the box “Do not send this Notification to the User that triggered it” as well, when the Admin adds a comment the Author gets the email (but not the Admin — so the bcc has been ignored, which is fine). When the Author adds a comment, no one gets an email, which isn’t good. I want the Admin to get that email, but not the Author.

    So am I correct that everyone needs to get the email all the time (by unchecking Do not send this Notification to the user that triggered it) to make it work properly? Or is something not working as it should (possibly a plugin conflict) that I need to investigate?

    Plugin Author bnfw

    (@voltronik)

    Hi @jenfilgate,
    What you’re experiencing is expected behaviour.

    You could always create another notification with different settings. This might give you the flexibility that you’re looking for.

    Thanks,
    Jack

    Thread Starter jenfilgate

    (@jenfilgate)

    Thanks for confirming. I will simply leave “Do not send this Notification to the User that triggered it” unchecked and everyone will get the emails, even when they were the one who added the comment. That will work for me. Thanks for your help!

    Plugin Author bnfw

    (@voltronik)

    Hi @jenfilgate,

    Not a problem, glad you found a workable solution.

    If you like BNFW and the support, please feel free to leave an honest review.

    Thanks,
    Jack

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Have all users who commented receive updates on new comments’ is closed to new replies.