Have all users who commented receive updates on new comments
-
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?
- The topic ‘Have all users who commented receive updates on new comments’ is closed to new replies.