# Angus' Events Plugin 📅

**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:** 9

<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: [March 13, 2018, 8:14pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/165 "2018-03-13T20:14:46Z")

</div>

I’ve now installed the events plugin on my instance and have started adding some dates to topics, though haven’t added it to the menus yet. Looking really good!

Some feedback:

- would be nice to be able to add links to calendar and agenda on the hamburger menu as an optional setting
- editing topics OPs to add events is a bit cumbersome - would be nice to be able to do this from the title edit interface as well which quicker to find and get to.
- editing topics to add events adds a revision, but the date addition itself is not saved to the revision
- no pretty onebox links to calendars?
- when adding an event with end date, it would be nice if the end date picker would automatically change to the same month when I choose the start date, as one is used to seeing when booking flights. 🙂

bugs?

- multiple day events with no start/end times are getting a start time showing up in the calendar - but not one day events with no start/end time

 ![01%20PM](https://global.discourse-cdn.com/meta/original/3X/8/4/84ee43a42356ffd49e47b01bccc87625c013cf5d.png)

- I added dates to a topic, then changed my mind and removed them - but the topic is still appearing on the agenda page.
- I added dates to a topic and accidentally put them in november 2018. I went back and fixed the date to november 2017. but the topic is still showing up towards the end fo the list as though it were chronologically in november 2018
- one of the events I added has a munged title in the calendar view and is illegible. see screenshot. seens the event on the 14th is overwriting the event on the 15th. should it/can it not wrap within the box? or at least have full name appear as helper text on mouseover?

 ![07%20PM](https://global.discourse-cdn.com/meta/original/3X/1/9/19ccc69ab827ca9d0d5360c7985f551ba3d106d2.png) ![00%20PM](https://global.discourse-cdn.com/meta/original/3X/0/1/0122e53aca5ddaa8e041bbca0ae10e9ead2891f3.png)

- from the calendar, when I select the forum title to go back to the front page, I am taken to /latest but it is filtered for the date range that was showing in the calendar. click again and it resets and shows all /latest topics.

 ![20%20PM](https://global.discourse-cdn.com/meta/original/3X/e/4/e45c7d93545fa359fac4528a610038407ca63334.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: [March 14, 2018, 2:23am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/166 "2018-03-14T02:23:49Z")

</div>

Great feedback as usual 👍

**Bugs**

Thankfully, these are all relatively minor (from a code perspective).

> [@tobiaseigen](#):
>
> one of the events I added has a munged title in the calendar view and is illegible. see screenshot. seens the event on the 14th is overwriting the event on the 15th. should it/can it not wrap within the box? or at least have full name appear as helper text on mouseover?

Fixed. Like on Google Calendar, the default should be that the text doesn’t wrap and overflow is hidden. I might add showing full title on mouseover after I’ve addressed the other issues.

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

> [@tobiaseigen](#):
>
> multiple day events with no start/end times are getting a start time showing up in the calendar - but not one day events with no start/end time

This is fixed:

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

> [@tobiaseigen](#):
>
> I added dates to a topic, then changed my mind and removed them - but the topic is still appearing on the agenda page.

Good catch. This only happens when the setting ‘remove past events from the agenda’ is off.

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

> [@tobiaseigen](#):
>
> I added dates to a topic and accidentally put them in november 2018. I went back and fixed the date to november 2017. but the topic is still showing up towards the end fo the list as though it were chronologically in november 2018

Fixed (you’ll need to save the event again):

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

> [@tobiaseigen](#):
>
> from the calendar, when I select the forum title to go back to the front page, I am taken to /latest but it is filtered for the date range that was showing in the calendar. click again and it resets and shows all /latest topics.

I’m not seeing this one. Could you double check? Are there any errors in the console?

**Features**

> [@tobiaseigen](#):
>
> would be nice to be able to add links to calendar and agenda on the hamburger menu as an optional setting

Good idea. I’ll add this later today.

> [@tobiaseigen](#):
>
> editing topics OPs to add events is a bit cumbersome - would be nice to be able to do this from the title edit interface as well which quicker to find and get to.

Yes, I’ll add this as an option too later today.

> [@tobiaseigen](#):
>
> editing topics to add events adds a revision, but the date addition itself is not saved to the revision

Indeed, I’ll also add this.

> [@tobiaseigen](#):
>
> no pretty onebox links to calendars?

This one is a bit more complex 🙂 . It will have to wait until we’re sure there are no more issues with the existing feature set.

> [@tobiaseigen](#):
>
> when adding an event with end date, it would be nice if the end date picker would automatically change to the same month when I choose the start date, as one is used to seeing when booking flights. 🙂

Yes, I’ll add this too later today.

---

<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: [March 14, 2018, 2:29am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/167 "2018-03-14T02:29:16Z")

</div>

Awesome - you’re a magician, Angus. I’ll plan to do an update tomorrow or Thursday.

---

<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: [March 14, 2018, 3:09am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/168 "2018-03-14T03:09:28Z")

</div>

> [@tobiaseigen](#):
>
> from the calendar, when I select the forum title to go back to the front page, I am taken to /latest but it is filtered for the date range that was showing in the calendar. click again and it resets and shows all /latest topics.

I managed to repro this and it’s fixed now as well.

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

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [March 14, 2018, 8:14am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/169 "2018-03-14T08:14:07Z")

</div>

Angus, I stumbled upon this JavaScript application that creates a timeline: wouldn’t it be awesome to have this option integrated in discourse-events, linking to topics?

> **[Timeline JS](https://timeline.knightlab.com/)**
>
> Easy-to-make, beautiful timelines.

> TimelineJS is released under the [Mozilla Public License (MPL), version 2.0](https://www.mozilla.org/en-US/MPL/2.0/)

---

<div class="post-metadata">

### Author: ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)
#### Post date: [March 14, 2018, 6:27pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/170 "2018-03-14T18:27:57Z")

</div>

Hello, How can i setup add event to all category, all topic?  
I wanna add event when user comment, Display add event in Comment?  
Thank you!  
[@angus](https://meta.discourse.org/u/angus)  
Can we setup quickly for all category user this plugin?

---

<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: [March 15, 2018, 3:40am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/171 "2018-03-15T03:40:59Z")

</div>

> [@thaidb](#):
>
> Hello, How can i setup add event to all category, all topic?

You have to enable events on a per-category basis, so you would need to turn them on in all categories.

> [@thaidb](#):
>
> I wanna add event when user comment, Display add event in Comment?

This is not possible in this plugin right now, but it may be possible in [this plugin](https://meta.discourse.org/t/discourse-chronos/82983) in the near future.

---

<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: [March 15, 2018, 3:44am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/172 "2018-03-15T03:44:39Z")

</div>

> [@hellekin](#):
>
> Angus, I stumbled upon this JavaScript application that creates a timeline: wouldn’t it be awesome to have this option integrated in discourse-events, linking to topics?

Yes, timelines are nice 🙂

If you really wanted to you could probably add one to a site via Site Customisations using the existing API endpoints for events, e.g. `https://discourse.angusmcleod.com.au/calendar?end=2018-04-01&start=2018-02-25`

You’d need to find a different timeline library though. That one requires you have the data in a google spreadsheet.

---

<div class="post-metadata">

### Author: ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)
#### Post date: [March 15, 2018, 8:39am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/173 "2018-03-15T08:39:49Z")

</div>

> [@angus](#):
>
> This is not possible in this plugin right now, but it may be possible in this plugin in the near future.

Please allow me access this topic. Thank you!

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/9/d9f37fe4883e678b7941335cb6beeaa532762f24.png)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [March 15, 2018, 10:41am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/174 "2018-03-15T10:41:00Z")

</div>

@angus probably wanted to link to [https://meta.discourse.org/t/discourse-chronos-globe-with-meridians-timer-clock/69281](https://meta.discourse.org/t/discourse-chronos-globe-with-meridians-timer-clock/69281) instead of linking to a PM about that plugin. 😉

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [March 18, 2018, 4:30pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/175 "2018-03-18T16:30:24Z")

</div>

How to change first day in monday on calendar ?

---

<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: [March 18, 2018, 5:32pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/176 "2018-03-18T17:32:38Z")

</div>

Like this:

> [@Events Plugin calendar](https://meta.discourse.org/t/events-plugin-calendar/69776/150):
>
> The calendar is configured so that the start day of the week is set by the moment\_locale settings ([full list here](https://github.com/discourse/discourse/tree/master/lib/javascripts/moment_locale)). For the German locale de, the start of the week is in fact Monday. You can test this by changing your locale to de on my [sandbox](https://discourse.angusmcleod.com.au/calendar). Are your German users not using the German locale? Yes, this has been raised before. This may be on the agenda in the future, but not for a little while. @Tom_Newsom Yes as @craisp notes, subscribe links won…

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [March 18, 2018, 5:53pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/177 "2018-03-18T17:53:31Z")

</div>

So how to change locale ?

---

<div class="post-metadata">

### Author: ![ZackFea](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zackfea/32/123509_2.png) [@ZackFea](https://meta.discourse.org/u/ZackFea)
#### Post date: [March 18, 2018, 6:33pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/178 "2018-03-18T18:33:17Z")

</div>

The local means the language settings of your user. Example: If your user selected German as his language, the calendar starts with Monday.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [March 18, 2018, 6:45pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/179 "2018-03-18T18:45:54Z")

</div>

What to do if there is no locale in my native language? (Lithuanian)

---

<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: [March 19, 2018, 5:20am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/180 "2018-03-19T05:20:48Z")

</div>

I have a feeling this is going to be a frequent request.

I’ve added a control in the user ‘Interface’ settings that allows you to select the first day of the week.

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

 ![Screenshot%20at%20Mar%2019%2013-18-50](https://global.discourse-cdn.com/meta/original/3X/c/1/c197874f84760b9c11fb1aa0bdc3e78d149c2c6f.jpg)

The default is whatever the start of the week in the relevant `moment_locale` config is.

cc @ZackFea

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [March 19, 2018, 8:24am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/181 "2018-03-19T08:24:39Z")

</div>

So i need to update plugin ? can you tel my how? do i need to rebuild app?

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [March 19, 2018, 8:27am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/182 "2018-03-19T08:27:28Z")

</div>

You can update plugins from

`http://sitename.tld/admin/upgrade`

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [March 19, 2018, 9:15am UTC](https://meta.discourse.org/t/angus-events-plugin/69776/183 "2018-03-19T09:15:24Z")

</div>

can you do for admin settings that for all users set start day andtime 24 h ?

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [March 19, 2018, 12:12pm UTC](https://meta.discourse.org/t/angus-events-plugin/69776/184 "2018-03-19T12:12:05Z")

</div>

Hi @Angus. An issue has come up twice in the last 24 hours on my forum:

An event organiser created a topic with a date/time, and a lot of interested people got notified of the new topic via email.

Unfortunately the notification emails didn’t contain the date/time, so members are now responding to the forum by email to ask the organiser what the date is… I think she’ll quickly get annoyed at having to respond to each person to repeat the date that she already set on her topic.

Could you include date/times in email notifications?

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

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