# Plugin de Eventos do Angus 📅

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

<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: [8 Maio , 2018 02:59 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/265 "2018-05-08T02:59:03Z")

</div>

Cards don’t display emoji and accents. Is it possible to display it?

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

---

<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: [8 Maio , 2018 12:37 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/266 "2018-05-08T12:37:46Z")

</div>

> [@angus](#):
>
> Hm. What are you seeing? I just tried it with a couple of different users on my phone and it worked ok.

I think you have me set up as a moderator on your sandbox - so I see the wizard completed message, like below. When I use incognito mode, I am able to see the events topics. Pretty cool!

 ![03%20AM](https://global.discourse-cdn.com/meta/original/3X/a/f/af595b9be249d3d22bc64bbb53f5282436a17380.jpg)

I did notice one small new problem - the “add to calendar” button is now a bit too high, so it overlaps a bit with tags and alignment with the rest of the events stuff is off. This is happening on my site too.

 ![17%20AM](https://global.discourse-cdn.com/meta/original/3X/0/6/064c276112525baaf2ec31516a76da076088ad52.png)

---

<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: [8 Maio , 2018 17:57 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/267 "2018-05-08T17:57:34Z")

</div>

Is this setting working?

![41](https://global.discourse-cdn.com/meta/original/3X/5/a/5acf34ddbd7272f3057ca5078344be0034540cc2.png)

Because I don’t see calendar in recents and all categories section

![51](https://global.discourse-cdn.com/meta/original/3X/0/c/0c8277a1dc56d16b4fdd045492cfb82a0e85ed22.png) ![55](https://global.discourse-cdn.com/meta/original/3X/3/4/345e91bea19fa9b38596c456e4a333081a1ab632.png)

Only in the subcategories that I set it directly

![32](https://global.discourse-cdn.com/meta/original/3X/3/4/3429270d9a0e5ce3d6050a94baf14bc29db46dbe.png) ![23](https://global.discourse-cdn.com/meta/original/3X/f/1/f168f40ccdcc10238bacd1861b65bca0c6667644.png)

---

<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: [8 Maio , 2018 19:03 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/268 "2018-05-08T19:03:03Z")

</div>

Hi @Angus - bit of a priority request here - there are multiple reports of IE rendering issues on my forum and I believe I’ve tracked down the problem to a call to the `assign()` JavaScript method from [within the events plugin](https://github.com/angusmcleod/discourse-events/search?utf8=%E2%9C%93&q=assign&type=):

This method isn’t supported by IE11 and earlier.

This stackoverflow answer recommends polyfilling to resolve IE’s deficiency:

> <https://stackoverflow.com/questions/44244468/method-assign-not-supported-in-ie-what-to-do>

---

<div class="post-metadata">

### Author: ![craisp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craisp/32/119998_2.png) [@craisp](https://meta.discourse.org/u/craisp)
#### Post date: [8 Maio , 2018 19:03 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/269 "2018-05-08T19:03:57Z")

</div>

Thanks for the good work you keep doing on this awesome plugin, @angus

I got an issue with the RSVP feature after upgrading today. Can anyone reproduce it?  
[https://github.com/angusmcleod/discourse-events/issues/23](https://github.com/angusmcleod/discourse-events/issues/23)

---

<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: [9 Maio , 2018 02:27 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/270 "2018-05-09T02:27:49Z")

</div>

> [@Stephen](#):
>
> although I note that it’s possible to enable RSVP on events without the ‘events rsvp’ site setting enabled

Right, thanks. This is now fixed.

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

> [@tobiaseigen](#):
>
> I did notice one small new problem - the “add to calendar” button is now a bit too high

This is fixed:

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

As per @yanokwa’s [request](https://github.com/angusmcleod/discourse-events/issues/21), I’ve added two timezone formatting settings:

1. `events timezone format` (Moment.js formatting). If you use this it will override other format settings.  
e.g: “(Z) z” = ![01%20AM](https://global.discourse-cdn.com/meta/original/3X/a/8/a8f49e498ebf1dee55f4860667daf40e74af8836.png)

2. `events timezone rails format` (this is the default setting).  
e.g: ![54%20AM](https://global.discourse-cdn.com/meta/original/3X/0/7/07577bc1b00c7f14517dd3d804ec89131f39abb2.png)

3. If both settings are disabled, the IANA timezone will be used  
e.g: ![37%20AM](https://global.discourse-cdn.com/meta/original/3X/1/7/172fd62461ce0de4404541a6610f957aece82e91.png)

The format will also apply in the:

- Add event button text in the composer:

- Timezone combo-box in the Add Event modal

The logic on when to display a timezone is the same as I [explained above](https://meta.discourse.org/t/events-plugin-calendar/69776/224).

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

> [@ChrisBeach](#):
>
> I believe I’ve tracked down the problem to a call to the `assign()` JavaScript method

I’ve replaced `Object.assign` with jQuery’s `$.extend()`.

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

> [@craisp](#):
>
> I got an issue with the RSVP feature after upgrading today

This should be fixed ([here](https://github.com/angusmcleod/discourse-events/commit/13b68da61b5022db3970b218d15bf8c61c98f063)).

> [@Francois\_Douville](#):
>
> Because I don’t see calendar in recents and all categories section

Those lists are not in categories. The site setting you’re referring to is there for convenience so you don’t need to go through each category and enable it individually.

If you want a calendar in non-category lists, add “Calendar” to the `top menu` setting.

---

<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: [9 Maio , 2018 05:18 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/271 "2018-05-09T05:18:01Z")

</div>

Current Tasklist.

1. Ensuring the rsvp feature v1 works. This week.

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

3. Add event details to onebox previews. Next week.

4. Event calendar for groups. 2 weeks.

5. Allowing Discourse Local Dates to be displayed in calendars. 3 weeks.

6. Adding multiple events to one topic. 4 weeks

7. Recurring events. 5 weeks.

8. Rspec and Unit tests. 6 weeks.

---

<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: [9 Maio , 2018 08:16 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/272 "2018-05-09T08:16:22Z")

</div>

Thanks @angus - one of the users affected just got back to me and reported the issue fixed.

---

<div class="post-metadata">

### Author: ![craisp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craisp/32/119998_2.png) [@craisp](https://meta.discourse.org/u/craisp)
#### Post date: [9 Maio , 2018 08:26 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/273 "2018-05-09T08:26:48Z")

</div>

> [@ChrisBeach](#):
>
> the issue fixed

Same here. Works as expected. Thanks @angus

---

<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: [9 Maio , 2018 12:59 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/274 "2018-05-09T12:59:26Z")

</div>

My community speak french. In french we have many accents in words! For example, the category ‘général’ has two “é”. The link is `https://forum.lepeuplier.ca/c/général` But when I past the link, it convert to `https://forum.lepeuplier.ca/c/g%C3%A9n%C3%A9ral`. Because link can’t have accent, I know and it works.

But not with the events plugin. Don’t know why. The link for the calendar is

`https://forum.lepeuplier.ca/c/général/formations/l/calendar?end=2018-06-04&start=2018-04-30`

When I past the link, it gives

`https://forum.lepeuplier.ca/c/g%25C3%25A9n%25C3%25A9ral/formations/l/calendar?end=2018-06-04&start=2018-04-30`

And it always give a 404 page not found.

Should I remove the accent? Don’t understand how this works. Thanks

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [9 Maio , 2018 13:19 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/275 "2018-05-09T13:19:40Z")

</div>

> [@Francois\_Douville](#):
>
> Should I remove the accent?

Removing diacritics from URLs is a best practice to ensure interoperability.

I’m 🇫🇷 and [https://forum.lepeuplier.ca/c/general](https://forum.lepeuplier.ca/c/general) looks totally fine to me.

---

<div class="post-metadata">

### Author: ![jerry0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerry0/32/94523_2.png) [@jerry0](https://meta.discourse.org/u/jerry0)
#### Post date: [9 Maio , 2018 19:57 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/276 "2018-05-09T19:57:47Z")

</div>

Hi @angus. We are finding this plugin really useful for teamwork, thank you 🙂

There seems to be a small problem with display of events in the calendar, when the events are multi-day spanning a month end.

Whilst most events are shown with a title at the start of the event, inside the event line, if they are multi-day spanning a month end the title is not shown at the start of the event line:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/8/682286bd7038120a05dd5bced356d5013f14a766.png)

(see the event starting 29th May)

Compare this to the multi-week event above which has the title clearly shown at the start of each line.

Same problem in the next month, though it does show at the start of the following week’s line…

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/5/b5bc9f341d6b110f56a833ce2a79a0e55095b4e7.png)

---

<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: [10 Maio , 2018 12:20 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/277 "2018-05-10T12:20:27Z")

</div>

> [@angus](#):
>
> Adding multiple events to one topic. 4 weeks

That’s my request so I just want to make sure we talk about the same thing.

For one topic (one event), I want multiple dates. For example :

**Baseball game**  
Dates : july 14, august 31, december 22

Also, it could have the option of periodicity. For example :

**Baseball game**  
Monday 9:00 to 11:00 am, each week for 8 weeks

For now, I have to create multiple topics (events) for the same event but with different dates. Some events have ten different dates so it is ten topics. Not useful…

Thanks so much @angus

---

<div class="post-metadata">

### Author: ![gwmngilfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gwmngilfen/32/302925_2.png) [@gwmngilfen](https://meta.discourse.org/u/gwmngilfen)
#### Post date: [10 Maio , 2018 14:32 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/278 "2018-05-10T14:32:13Z")

</div>

I _think_ there may be a bug with the main calendar view… I have an event here created for 10am in the GMT-5 timezone - but I’m in the Europe/London timezone. Loading the ICS file into my email client, I correctly see 1500 (3pm) as the time for me - but in the calendar view it’s not converted:

 ![Screenshot%20from%202018-05-10%2015-29-16](https://global.discourse-cdn.com/meta/original/3X/a/4/a4fc05f52f850ff6b058501d95583e62b1d11561.png)

That _should_ show 15:00 for me. Is this:

> [@angus](#):
>
> Allowing Discourse Local Dates to be displayed in calendars. 3 weeks.

or is it just a bug?

---

<div class="post-metadata">

### Author: ![gwmngilfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gwmngilfen/32/302925_2.png) [@gwmngilfen](https://meta.discourse.org/u/gwmngilfen)
#### Post date: [10 Maio , 2018 15:32 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/279 "2018-05-10T15:32:35Z")

</div>

Also the webcal:// link doesn’t seem to respect DST, I added it to Google and the events are an hour out - the forum is set to Europe/London, but the Google-side display is GMT. If there’s anything I can get logs-wise, just let me know.

---

<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: [10 Maio , 2018 18:10 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/280 "2018-05-10T18:10:14Z")

</div>

Your work so far and plans are great, Angus - nice work on this incredibly handy plugin.

Probably unreasonable, but with the RSVP feature I can see possibilities to stop relying on external services like eventbrite or gotowebinar for organizing events. For that, I am seeing the following features that would help:

- event author (or moderators?) export rsvp list (already mentioned above)
- guest rsvp for non-members, using email address (creates staged user and subscribes them to event?)
- custom event fields for rsvp to fill out (what are you bringing, etc)
- reminder notifications to those who rsvp (a la gotowebinar. 24 hours, 1 hour ahead of meeting)

Some other random feedback/ideas:

- I am still missing the ability to add event details via the title edit pencil. I keep trying to do it and it doesn’t work, then I have to go find the bottom of the OP and edit it which is a little cumbersome. [FWP](https://www.huffingtonpost.com/streeter-seidell-/first-world-problems_b_4117701.html) but still. 😉
- on topic lists, event details take up alot of real estate, especially on mobile. is there an easy way to set it up so that only the date shows up, and nothing else? Then on click through people can find out the details about date and time. For past events, the exact time of day is not at all important on topic lists.

---

<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: [11 Maio , 2018 00:32 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/281 "2018-05-11T00:32:34Z")

</div>

> [@jerry0](#):
>
> Whilst most events are shown with a title at the start of the event, inside the event line, if they are multi-day spanning a month end the title is not shown at the start of the event line

Thanks for reporting this. Fixed.

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

@Francois_Douville Thanks for clarifying.

> [@gwmngilfen](#):
>
> I have an event here created for 10am in the GMT-5 timezone - but I’m in the Europe/London timezone. Loading the ICS file into my email client, I correctly see 1500 (3pm) as the time for me - but in the calendar view it’s not converted

This is actually all expected behaviour. The logic determining what timezone is used to display an event is explained in some more detail [here](https://meta.discourse.org/t/events-plugin-calendar/69776/224). Basically:

1. User’s timezone is the default.

2. If the timezone site setting is set, use that instead.

3. If the event has a custom timezone, use that instead \< ---- this applies in this case.

For the .ics file however, times are always converted to the user’s local time (see [here](https://github.com/angusmcleod/discourse-events/blob/master/assets/javascripts/discourse/lib/date-utilities.js.es6#L133)).

You feel this is unexpected?

> [@gwmngilfen](#):
>
> Also the webcal:// link doesn’t seem to respect DST

Could you post the full link you’re using here? Thanks.

@tobiaseigen All good ideas (and thanks for the reminder about the existing requests). Let’s put Eventbrite out of business.

* * *

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.

… I need @cpradio’s checklist plugin on meta 🙂

---

<div class="post-metadata">

### Author: ![gwmngilfen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gwmngilfen/32/302925_2.png) [@gwmngilfen](https://meta.discourse.org/u/gwmngilfen)
#### Post date: [11 Maio , 2018 10:00 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/282 "2018-05-11T10:00:38Z")

</div>

> [@angus](#):
>
> You feel this is unexpected?

I do. Perhaps a slightly more zoomed out screenshot might illustrate (by the way all this comes from [this calendar](https://community.theforeman.org/calendar)):

 ![Screenshot%20from%202018-05-11%2010-39-04](https://global.discourse-cdn.com/meta/original/3X/5/5/5591b05e302dce1459523875b5a3d97783ac1e6c.png)

So in one view I have events at:

- 14:00 on May 2nd - and that’s in BST which is my timezone, so it’s correct
- 10:30 on May 11th - but in Amsterdam, so actually 9:30 in my timezone
- 14:00 on May 17th - again, in my timezone so it’s right
- 10:00 on May 25th - but in US East, so actually 15:00 my time

In other words, the view is misleading. When I see a calendar, I would expect everything to be shown in one timezone - that’s what you get from the webcal / ICS links, after all. Things get more fun if I move the 10:00 GMT-5 to the 17th:

![Screenshot%20from%202018-05-11%2010-47-05](https://global.discourse-cdn.com/meta/original/3X/c/f/cf2cda68fed1fabde2a1b7d35b1cf0b17301a24e.png)

So clearly this is just a display thing, since the calendar _knows_ 10:00 -5 is later than 14:00 +1. When you have a busy calendar, it becomes obvious that timezones are in play, but when there’s only one event on a given day I think it’s a natural assumption that it’s in your zone.

I read though your link, and for the most part it does makes sense - especially for the agenda view where there’s more room. Here I’d suggest either showing the timezone (possibly not enough space though), using local-dates (I think I saw that on your to-do?) or converting the time text to the browser timezone just for the calendar entry.

Some history: Until we set up the events plugin our calendar was on our website (now discontinued in favour of Discourse, but the code is [here](https://github.com/theforeman/theforeman.org/blob/gh-pages/_plugins/events.rb), it’s a Jekyll site using the iCalendar gem), and there we did convert all events to the browser timezone. My users seem reluctant to add webcal / ICS stuff to their own calendars, so I assume they’ll come to Discourse to see when events are - and then complain at me when they miss stuff.

> [@angus](#):
>
> Could you post the full link you’re using here? Thanks.

Sure, it’s from the above linked calendar - webcal link. Here’s a shot of what Google did with it:

 ![Screenshot%20from%202018-05-11%2010-58-23](https://global.discourse-cdn.com/meta/original/3X/e/8/e88351c36f4556b009754d91fb0628eb0be2a38f.png)

Note how the timezone field is not editable, so while the URL is correct (timezone=Europe/London), the choice of UTC by Google is … odd, and annoying 😛

---

<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: [11 Maio , 2018 12:55 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/283 "2018-05-11T12:55:14Z")

</div>

Is it possible to change the name of the list “Agenda” to other name? How?

---

<div class="post-metadata">

### Author: ![craisp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craisp/32/119998_2.png) [@craisp](https://meta.discourse.org/u/craisp)
#### Post date: [11 Maio , 2018 13:08 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/284 "2018-05-11T13:08:43Z")

</div>

> [@Francois\_Douville](#):
>
> Is it possible to change the name of the list “Agenda” to another name? How?

Yes:  
Go to **Admin - Customize - Text Content** and search for “Agenda”. The first item should be the name of the agenda filter.

 ![change%20agenda%20text](https://global.discourse-cdn.com/meta/original/3X/f/8/f8eb9ecf844d34206cd9fe115b48c6d33a10b994.png)

_(In French it is “Administration - Personnaliser - Contenu”)_

[Página anterior](https://meta.discourse.org/t/angus-events-plugin/69776.md?page=13)

[Próxima página](https://meta.discourse.org/t/angus-events-plugin/69776.md?page=15)
