Events Plugin šŸ“†

Ok Iā€™ve just merged v1 of event emails.

https://github.com/angusmcleod/discourse-events/commit/c11891b2b1300cb84b0609398db39b22a28e8a9d

For all emails mentioned below:

  • The event details have been inserted into both the html and the plain text version.

  • No email translation ā€˜templatesā€™ have been overridden. i.e. You should still be able to use any custom email templates (there may be conflicts in some custom cases).

  • The event label takes the format: unicode calendar - start datetime - end datetime - event timezone

Invitations

For both user and non-user invitations:

  • The event details have been inserted to the topic excerpts below the title

  • The words ā€œinvited you to a discussionā€ have been changed to ā€œinvited you to an eventā€

Screenshot%20at%20Mar%2029%2013-35-14

Notifications

For every type of user notification email (associated with an event topic):

  • The event details appear at the top, separated by a line break

Screenshot%20at%20Mar%2029%2012-48-01

New Setting

You will need to set a default timezone for events using the new events_default_timezone site setting (defaults to UTC).

This is necessary because if an event itself does not have a timezone set, there needs to be a fallback on the server as itā€™s impossible to detect the email recipientā€™s timezone.

cc @ChrisBeach

6 Likes