Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hashover without "reply" and send new message notifications to all page commenters #332

Open
cosmopolit opened this issue Sep 9, 2022 · 0 comments

Comments

@cosmopolit
Copy link

Hi!

I have another questions and hope anyone knows a simple soloution for this:

At the moment, the email notifications work like this:

1 A user posts a comment -> Admin gets a notification.
2 A user replies to another person's comment -> Admin and the other person get notifications.
3 A user replies to themself -> Only admin gets a notification.
4 Admin posts a comment -> No notification is sent to Admin.
5 Admin replies to themself -> No notification is sent to Admin.
6 Admin replies to another person's comment -> Only the other person gets a notification.

Because i use hashover without replys, only posting of new comments on a page is possible. Now, i want to send a message to all posters on a page when they have checked "Notify me of replies" like this:

1 A user posts a comment -> Admin and all other persons on this page get notifications.
4 Admin posts a comment -> All other persons on this page get notifications.

I think, it will be enough to put an additional condition to sendNotifications in writecomments and send a notification to all users excerpt the user that writes the comment.

But i dont know how i get all user emails from the posters of a page / thread and the according state of "notifications".

Can anyone help me with this?

@cosmopolit cosmopolit changed the title Use hashover without "reply" and send notifications to all page commenters Use hashover without "reply" and send new message notifications to all page commenters Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant