# Angus' Events Plugin :calendar:

**URL:** https://meta.discourse.org/t/angus-events-plugin/69776
**Category:** Plugin
**Created:** [September 11, 2017, 2:44am UTC](https://meta.discourse.org/t/angus-events-plugin/69776 "2017-09-11T02:44:59Z")
**Posts on this page:** 20
**Page:** 16

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 29, 2018, 12:37am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/305 "2018-05-29T00:37:35Z")

</div>

Yes, I did forget about that. I’ve added a setting to make events required in a category.

[https://github.com/angusmcleod/discourse-events/commit/ca86a377f30e4f637f9751b41f0a364ce39e4e2b](https://github.com/angusmcleod/discourse-events/commit/ca86a377f30e4f637f9751b41f0a364ce39e4e2b)

If you enable `All topics in this category must have an event.` in Category Settings, any new post or edited post without an event will show this error when the user attempts to create / save the edit.

 ![Screenshot%20at%20May%2029%2010-34-15](https://global.discourse-cdn.com/meta/original/3X/9/9/99510247cfd7e68cbd2748659c3f8dacb7a81c29.png)

Enabled in the [Events category](https://discourse.angusmcleod.com.au/c/events) on my sandbox.

* * *

Current tasklist

1. ~~Ensuring the rsvp feature v1 works.~~

2. ~~Ensuring emoji and html entities work in topic excerpts in event cards ([see](https://meta.discourse.org/t/events-plugin-calendar/69776/265)).~~

3. Update event details in title edit area.

4. Better layout of event details in topic list

5. Rspec and unit tests updates.

6. Event calendar for groups.

7. Adding multiple events to one topic.

8. Allowing Discourse Local Dates to be displayed in calendars.

9. Add event details to onebox previews.

10. Recurring events.

11. Event rsvp list export.

12. Guest rsvp.

13. Rsvp custom fields

14. Event reminders.

---

<div class="post-metadata">

### Author: ![mbajur](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbajur/32/51349_2.png) [@mbajur](https://meta.discourse.org/u/mbajur)
#### Post date: [May 29, 2018, 9:19am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/306 "2018-05-29T09:19:55Z")

</div>

Thank you so much! In return, i just made a 100% polish translation of that plugin :slight_smile:

btw - `No text on add event buttons in this category` setting for category seems to be broken - checking it and saving the form refreshes the page and the checkbox is un-checked again.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 29, 2018, 10:44pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/307 "2018-05-29T22:44:27Z")

</div>

Thanks! I’ve merged your translations and fixed that issue.

[https://github.com/angusmcleod/discourse-events/commit/572e47ff5c8809c656f00045593906228041e58f](https://github.com/angusmcleod/discourse-events/commit/572e47ff5c8809c656f00045593906228041e58f)

---

<div class="post-metadata">

### Author: ![mbajur](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbajur/32/51349_2.png) [@mbajur](https://meta.discourse.org/u/mbajur)
#### Post date: [May 31, 2018, 1:21pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/308 "2018-05-31T13:21:11Z")

</div>

Great!

Another thing came to my mind - we have an option to hide closed topics from agenda page. Would it be a heavy feature to implement to have such option for calendar view as well? :slight_smile:

---

<div class="post-metadata">

### Author: ![Alexander\_Wright](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexander_wright/32/119518_2.png) [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)
#### Post date: [June 1, 2018, 8:58am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/309 "2018-06-01T08:58:28Z")

</div>

Hi,

I’m running the latest beta, currently v2.1.0.beta1 +7.

Will this plugin work with it?

Cheers.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [June 5, 2018, 6:25am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/310 "2018-06-05T06:25:56Z")

</div>

I’ve added settings that allow you to remove closed and past events from the calendar

[https://github.com/angusmcleod/discourse-events/commit/39464c6fd4e6edc2ff73745362c4a2d6bd4269d8](https://github.com/angusmcleod/discourse-events/commit/39464c6fd4e6edc2ff73745362c4a2d6bd4269d8)

> [@Alexander\_Wright](#):
>
> I’m running the latest beta, currently v2.1.0.beta1 +7.

Yes, it will work. You can see an example here: [https://discourse.angusmcleod.com.au/c/events](https://discourse.angusmcleod.com.au/c/events)

---

<div class="post-metadata">

### Author: ![ploxnix](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@ploxnix](https://meta.discourse.org/u/ploxnix)
#### Post date: [June 5, 2018, 6:51pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/311 "2018-06-05T18:51:03Z")

</div>

I am experiencing strange behavior with this plugin.

I created a category called events and set the ‘Default Topic List’ to Agenda. When I open the category, I get redirected to the agenda view ([domain.org/events/l/agenda](http://domain.org/events/l/agenda)) as expected. But when I want to go back, the URL changes to [domain.org/c/events](http://domain.org/c/events) and I immediately get redirected to [domain.org/c/events/l/agenda](http://domain.org/c/events/l/agenda) again. The only way to get back is to click on the forum logo or to spam the back button in the browser. The same happens with the locations plugin.

I attached a video to show the problem + I rebuilt the forum before recording, so it should have pulled the latest version from github.

[https://global.discourse-cdn.com/meta/original/3X/0/8/080f729907103c9b02cc528e36b47fed64d26faa.mp4](https://global.discourse-cdn.com/meta/original/3X/0/8/080f729907103c9b02cc528e36b47fed64d26faa.mp4)

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [June 6, 2018, 4:27pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/312 "2018-06-06T16:27:17Z")

</div>

Hi @angus. I continue to :heart: the events plugin so thanks for your continued work on it!

I keep fighting with formatting and I’m hoping you can help. Currently in topic list (e.g., [ODK Forum](https://forum.opendatakit.org/latest)), events show up with the following format.

> Jun 13th @ 12:30, (GMT-03:30) Newfoundland ODK 1 TSC Call - 2018-06-13

It looks like whatever I’ve configured as my `events event label format` (currently `MMM Do @ H:mm`), then a comma, then the timezone information in `events timezone format`.

What would be awesome is if the comma and the timezone information was not included. Instead, I’d like to customize the label using the `events event label format`.

So if I put in `MMM Do @ H:mm (zz) -`, I should get something like this:

> Jun 13th @ 12:30 (NDT) - ODK 1 TSC Call - 2018-06-13

And to clarify, I don’t want to change the time zone format of what appears when I’m creating an event, that format is great! I just want to change what appears in the events lists to make them more human readable.

---

<div class="post-metadata">

### Author: ![Francois\_Douville](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/francois_douville/32/94221_2.png) [@Francois\_Douville](https://meta.discourse.org/u/Francois_Douville)
#### Post date: [June 7, 2018, 12:07pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/313 "2018-06-07T12:07:13Z")

</div>

Hi Angus,

Calendar is enable in my formation and I made it the default page

![46](https://global.discourse-cdn.com/meta/original/3X/6/8/686a95bd819002b3bb17aea98c45d6d4ce382db9.png)

But it shows the calendar that begin in may. Can it begin always “today” (the date you check it)?

![54](https://global.discourse-cdn.com/meta/optimized/3X/1/9/19a59ac727edff6adaf54f204155f6c9014f6199_2_690x35.png)

I hope you understand :slight_smile:

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [June 7, 2018, 10:53pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/314 "2018-06-07T22:53:01Z")

</div>

I don’t know if this is a plug in issue, but the timezone dropdown says London is GMT+0, but London is GMT+1 (see [https://www.timeanddate.com/worldclock/uk/london](https://www.timeanddate.com/worldclock/uk/london))

 ![39](https://global.discourse-cdn.com/meta/original/3X/d/7/d7e1d74666a71fb1a7625594a27b3a1d62315292.png)

---

<div class="post-metadata">

### Author: ![Nichalas\_Petranek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nichalas_petranek/32/92404_2.png) [@Nichalas\_Petranek](https://meta.discourse.org/u/Nichalas_Petranek)
#### Post date: [June 7, 2018, 11:01pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/315 "2018-06-07T23:01:38Z")

</div>

It’s not as much of an issue at it seems. The plugin does not reference daylight savings time when listing the timezones. I can assure you though that time translations are still rendered correctly in a user’s local timezone.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [June 7, 2018, 11:55pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/316 "2018-06-07T23:55:24Z")

</div>

@ploxnix This will fix your issue

[https://github.com/angusmcleod/discourse-events/commit/495cd2c7741e6909bc0f0efe98268be2ed73e7e8](https://github.com/angusmcleod/discourse-events/commit/495cd2c7741e6909bc0f0efe98268be2ed73e7e8)

@yanokwa As you say, you can change the timezone format using `events timezone format`, e.g.

![53%20AM](https://global.discourse-cdn.com/meta/optimized/3X/1/9/19d57e7de4058afe8310a12ede454f6937651c0f_2_482x41.png)

Are you saying you want two different timezone formats, one for the topic list and one for the compose, event add modal and topic itself? (or perhaps one for the topic list and topic (i.e. ‘displays’) and one for the compose and event add modal (i.e. edit UIs)).

> [@Francois\_Douville](#):
>
> Can it begin always “today” (the date you check it)?

It should do that currently, e.g. [https://discourse.angusmcleod.com.au/c/events](https://discourse.angusmcleod.com.au/c/events). Can you post an example link where it doesn’t?

> [@yanokwa](#):
>
> I don’t know if this is a plug in issue, but the timezone dropdown says London is GMT+0, but London is GMT+1

Yeah, I’ve been meaning to address this. `ActiveSupport::TimeZone` which the default timezone label uses [isn’t DST aware out of the box](https://github.com/rails/rails/issues/7297). This will fix the issue.

[https://github.com/angusmcleod/discourse-events/commit/700b9d01bc1dad2c435634f20e81c6a3c358c3c9](https://github.com/angusmcleod/discourse-events/commit/700b9d01bc1dad2c435634f20e81c6a3c358c3c9)

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [June 8, 2018, 12:01am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/317 "2018-06-08T00:01:53Z")

</div>

> [@angus](#):
>
> Are you saying you want two different timezone formats, one for the topic list and one for the compose, event add modal and topic itself? (or perhaps one for the topic list and topic (i.e. ‘displays’) and one for the compose and event add modal (i.e. edit UIs)).

Yes! The event add modal is perfect, but I’d like to customize the time zone for the topic list.

I think the best way to enable this might be to stop automatically appending the time zone information to the topic list as you are doing now because doing so also introduces formatting (e.g., the comma before (PDT) in your example) that a user might not want. If you stop appending, then a user can get the timezone information and their formatting by adding Z to `event label format`. Hope that is clear :smile:

---

<div class="post-metadata">

### Author: ![Francois\_Douville](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/francois_douville/32/94221_2.png) [@Francois\_Douville](https://meta.discourse.org/u/Francois_Douville)
#### Post date: [June 8, 2018, 2:10am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/318 "2018-06-08T02:10:19Z")

</div>

> [@angus](#):
>
> It should do that currently, e.g. [Events - Angus’ Sandbox](https://discourse.angusmcleod.com.au/c/events). Can you post an example link where it doesn’t?

Here is my [calendar](https://forum.lepeuplier.ca/c/general/formations/l/calendar). It works because I use this link `https://forum.lepeuplier.ca/c/general/formations/l/calendar`

But as you can see here, when I click on “Formations”. Here is the link that begins in may

 ![Calendar](https://global.discourse-cdn.com/meta/original/3X/f/0/f095aa3b6b3f67e497f639f085a5f8885018d7c4.png)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [June 11, 2018, 4:04am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/319 "2018-06-11T04:04:59Z")

</div>

Ok, I’ve just pushed the next round of timezone improvements:

[https://github.com/angusmcleod/discourse-events/commit/d7bd8bfc31ed41e358bb805770688106556d6434](https://github.com/angusmcleod/discourse-events/commit/d7bd8bfc31ed41e358bb805770688106556d6434)

- Added ‘include’ settings for topic list and topic. If not selected, a timezone will not be appended to times in the relevant context.

- ‘display’ settings - what timezone times are displayed in - are consolidated into an enum list:

- Further abstraction and refinement of the timezone client logic.

@Francois_Douville It looks like you’re either:

- using an old version of the plugin; or

- using a site customisation to add the menu link instead of letting the plugin do it.

If you compare your site with my [sandbox](https://discourse.angusmcleod.com.au/) you’ll see that the calendar menu link on your site:

- does not use the url the plugin uses; and

- does not have the classes the plugin uses.

Please check whether you have any site customisations that could be adding a different menu link and that the events plugin is up to date.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [June 11, 2018, 4:07pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/320 "2018-06-11T16:07:36Z")

</div>

> [@angus](#):
>
> Let’s put Eventbrite out of business.

Where are we at with RSVP functionality? Amazingly, the webinar system we use (GoToWebinar) has a bizarro _intentional policy_ to exclude a handful of countries from registration forms. They also have been super slow to even respond ([see community support topic that started in 2015!!](https://community.logmein.com/t5/GoToWebinar-Discussions/Registration-Countries/m-p/195968/highlight/true#M15220)), so I don’t want to wait for them.

I am interested in moving faster to be able to use your RSVP feature instead, which also will help us to become more agnostic about which tools we use to host online events. We can just choose the best tool possible rather than being stuck with GoToWebinar.

The features I suggested above are still pretty much the bare minimum of what we’d need - however, I realize now that a country field with autocomplete would be super helpful to avoid a situation later where we export the registrant list for follow-up and analysis and have to manually edit countries that people type in so they are consistent.

Here’s what our GTW registration pages now typically look like - with the hack to allow people to still register if their country is not available on the pulldown.

 ![25%20AM](https://global.discourse-cdn.com/meta/original/3X/0/9/096901d310ac8ab126d8edc83c8a20bd3922b569.png)

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [June 12, 2018, 11:52am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/321 "2018-06-12T11:52:07Z")

</div>

> [@angus](#):
>
> subscribe links won’t work in categories with restricted view

Is “Everyone See” permission enough to count as unrestricted?

eg: [https://discourse.southlondonmakerspace.org/c/booking/woodlathe/l/calendar](https://discourse.southlondonmakerspace.org/c/booking/woodlathe/l/calendar)

This category is Create/Reply/See by a restricted Group, and See by Everyone. The Subscribe button shows up correctly when logged out, but Gcal doesn’t seem to be able to see it, and neither can an RSS reader.

I’m running latest version, and have tested your sandbox, which provides rss and ical feed as expected.

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [June 12, 2018, 5:40pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/322 "2018-06-12T17:40:46Z")

</div>

Oh, and we have a user reporting a missing day of the week in MS Edge:

 ![9483b2c355b0eef09be984c0c6fb2ccf674052a8](https://global.discourse-cdn.com/meta/original/3X/9/4/9483b2c355b0eef09be984c0c6fb2ccf674052a8.png)

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [June 12, 2018, 11:05pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/323 "2018-06-12T23:05:45Z")

</div>

@angus I think on on a fairly recent copy of the plugin [f56c1c5](https://github.com/angusmcleod/discourse-events/compare/f56c1c5...master), Sidekiq is reporting a `Jobs::HandledExceptionWrapper: Wrapped ActionView::Template::Error: Invalid Timezone`.

I think this error happens on topics that are created in categories that allow dates and moved to categories that don’t allow dates. Once the date is removed, then the errors go away.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [June 13, 2018, 2:20am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/324 "2018-06-13T02:20:18Z")

</div>

> [@tobiaseigen](#):
>
> Where are we at with RSVP functionality?

v0.1 works well. You can test it here: [https://discourse.angusmcleod.com.au/t/picnic-in-the-park/474](https://discourse.angusmcleod.com.au/t/picnic-in-the-park/474)

I hear you on the need for custom rsvp fields akin to GoToWebinar. This is the `rsvp custom fields` item on my to do list for this plugin.

My current thinking is that they would work something like this:

- They would be added to the “Add Event” modal below the current rsvp controls.

- They would be somewhat akin to the ‘Field’ controls from the Custom Wizard plugin.

- If rsvp custom fields were added, they would appear in a modal confirming the attendee’s rsvp after they click “Going”.

Does that align with your thinking?

> [@Tom\_Newsom](#):
>
> This category is Create/Reply/See by a restricted Group, and See by Everyone. The Subscribe button shows up correctly when logged out, but Gcal doesn’t seem to be able to see it, and neither can an RSS reader.

I can’t repro this as a permissions issue. For example, I’ve made [Events](https://discourse.angusmcleod.com.au/c/events/l/calendar) on my sandbox “See” for “Everyone” and “Create / Reply / See” for Admins. I can still subscribe to the ical feed in Apple Calendar.

- Does the feed work if Everyone can Create / Reply / See?

- Do you see any related messages in /logs?

Keep in mind that Google Calendar ical subscriptions update on a 24 hour fixed refresh cycle, i.e. it can take up to 24 hours for ical feed events to appear in Google Calendar (and 24 hours to update if the event is updated).

> [@Tom\_Newsom](#):
>
> we have a user reporting a missing day of the week in MS Edge

Ok. I’m downloading an MSEdge virtual box, so I I’ll test this tomorrow.

> [@yanokwa](#):
>
> `Jobs::HandledExceptionWrapper: Wrapped ActionView::Template::Error: Invalid Timezone` .
> 
> I think this error happens on topics that are created in categories that allow dates and moved to categories that don’t allow dates. Once the date is removed, then the errors go away.

hm. This is a little trickier. I’ll have to look at it on the weekend.

[Previous page](https://meta.discourse.org/t/angus-events-plugin/69776.md?page=15)

[Next page](https://meta.discourse.org/t/angus-events-plugin/69776.md?page=17)
