You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many users who read the replies in the email notification, so they don't enter in the forum and stop receiving more updates of the discussion.
I'd love to have an option in the plugin to change this behavior and send the emails to all subscribed users, no matter if they read the last post.
The text was updated successfully, but these errors were encountered:
I have made a hackish solution for notification mails even if user has not read the post.
User will receive mails for all replies on post even if post is not read if "Lurk" has been chosen for the tag.
I include a patch file if somebody else is interested: obsess.txt
To run the patch file:
Have this extension installed
Go to root flarum directory
Run: patch -p0 <obsess.txt
What is changed is the sql that searches for users in file: SendNotificationWhenReplyIsPosted.php
on line: 62-74
The replacement sql is:
As I am not a php developer I will not be able create a full change for this feature and add a merge request.
Hope this could be useful to somebody else.
As I can see in this code: https://github.com/FriendsOfFlarum/follow-tags/blob/master/src/Jobs/SendNotificationWhenReplyIsPosted.php#L67 the email notification is sent only to users who view the last post of the discussion, right?
There are many users who read the replies in the email notification, so they don't enter in the forum and stop receiving more updates of the discussion.
I'd love to have an option in the plugin to change this behavior and send the emails to all subscribed users, no matter if they read the last post.
The text was updated successfully, but these errors were encountered: