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".
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?