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

More specific email notifications #169

Closed
Timo-Breumelhof opened this issue Nov 21, 2022 · 4 comments · Fixed by #207 or #281
Closed

More specific email notifications #169

Timo-Breumelhof opened this issue Nov 21, 2022 · 4 comments · Fixed by #207 or #281
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Timo-Breumelhof
Copy link
Contributor

Is your feature request related to a problem?

When you subscribed to a Forum, the email notifications work quite well.
But it would be nice if there would be a difference between a "normal" thread notification and one where I actually participated.
Currently (AFAIK) there's no distinction between an email for a forum you subscribed to and a thread you subscribed to.

Describe the solution you'd like

Different email notification for
A: "New post in Forum: X"
B: "New response in Thread: x"

Describe alternatives you've considered

None

Additional context

Also related to: #158

@Timo-Breumelhof Timo-Breumelhof added the enhancement New feature or request label Nov 21, 2022
@WillStrohl
Copy link
Member

Love this one! I think we need to prioritize the template engine first, before we work on anything new with email templates. What do you think? The template engine could/should use the same code, ideally.

Also, the user tagging definitely should have a different email template...

Subject Ideas to help illustrate this for others (just examples of ideas):

  • [Username] mentioned You in [ForumName] [WebsiteName]
  • New Posts have been Added in [ForumName] [WebsiteName]
  • Someone Replied to a Post You're Following in [ForumName] [WebsiteName]

etc...

@johnhenley
Copy link
Collaborator

johnhenley commented Jan 17, 2023

New tokens:

[NEWPOST] inserts text "new post" if not a reply
[NEWREPLY] inserts text "new reply" if a reply

[POSTEDTO] inserts text "posted to" if not a reply
[REPLIEDTO] inserts text "replied to" if a reply

[SUBSCRIBEDTOPIC] "Subscribed Topic"
[SUBSCRIBEDTOPICSUBJECT] "Subscribed Topic {subject}"
[SUBSCRIBEDTOPICFORUMNAME] "Subscribed Topic {subject} on Forum {forumname}"
[SUBSCRIBEDFORUM] "Subscribed Forum"
[SUBSCRIBEDFORUMNAME] "Subscribed Forum {forumname}"
So....
you can have a subject like
A [NEWPOST][NEWREPLY] has been added to [FORUMNAME]
A [NEWPOST][NEWREPLY] has been added to [SUBSCRIBEDTOPICFORUMNAME][SUBSCRIBEDFORUMNAME] on [PORTALNAME]
[DISPLAYNAME] [POSTEDTO][REPLIEDTO] [SUBSCRIBEDTOPICFORUMNAME][SUBSCRIBEDFORUMNAME] on [PORTALNAME]

@Timo-Breumelhof
Copy link
Contributor Author

great, thanks :-)

@johnhenley
Copy link
Collaborator

johnhenley commented Apr 13, 2023

Not 100% satisfied with results so I am reopening to add additional tokens:

  • [POSTEDORREPLIEDTO] will insert [RESX:posted] (posted) on a new post or [RESX:repliedto] (replied to) on a reply.
  • [SUBSCRIBEDFORUMORTOPICSUBJECTFORUMNAME] will insert subject and forum name as "Topic {0} on Subscribed Forum {1}" (if a forum subscriber) or "Subscribed Topic {0} on Forum {1}" (if a topic subscriber).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants