# Плагин событий Angus' 📅

**URL:** https://meta.discourse.org/t/angus-events-plugin/69776
**Category:** Plugin
**Created:** [11.Сентябрь.2017 02:44:59 UTC](https://meta.discourse.org/t/angus-events-plugin/69776 "2017-09-11T02:44:59Z")
**Posts on this page:** 20
**Page:** 15

<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: [12.Май.2018 12:12:07 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/285 "2018-05-12T12:12:07Z")

</div>

Thanks for going into detail @gwmngilfen, it’s very useful. As you say, this is a question of getting the display right. I’ll look at your use case either tomorrow or the day after.

* * *

> [@angus](#):
>
> Ensuring emoji and html entities work in topic excerpts in event cards

This is fixed. cc @Francois_Douville

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

---

<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: [13.Май.2018 02:56:08 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/286 "2018-05-13T02:56:08Z")

</div>

**iCal Feed**

The ical feed should now be fully timezone aware.

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

**Picking the timezone to display an event in**

> [@gwmngilfen](#):
>
> I think it’s a natural assumption that it’s in your zone.

I don’t think this assumption holds for every case.

I’ve made the use of event timezones to display events a setting: `events timezone event` (default on).

The updated timezone display logic is now:

1. Start with the user’s timezone

2. If there is a default timezone set use that instead.

3. If there is an event timezone _and_ the setting `events timezone event` is on, use the event timezone.

So, in your case turn the setting `events timezone event` off.

Note that regardless of the setting, in the composer and the add event modal, the event timezone (if one exists) will always be used.

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

---

<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: [13.Май.2018 03:03:52 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/287 "2018-05-13T03:03:52Z")

</div>

> [@angus](#):
>
> Current tasklist
> 
> 1. Ensuring the rsvp feature v1 works

Seems to work just fine. I use the feature on my forum with no issues.

---

<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: [14.Май.2018 10:09:14 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/288 "2018-05-14T10:09:14Z")

</div>

> [@angus](#):
>
> So, in your case turn the setting `events timezone event` off.

Thanks for the fast turnaround @angus, excellent support as ever.

However, this seems to have forced all events to the _calendar_ timezone, rather than the user viewing the calendar. Setting that flag to off makes the calendar look right for me (as I’m the admin, I have the same timezone as the forum), but if I impersonate a user in another timezone (or just change the timezone on my laptop), the event is still wrong (although at least they’re all _consistently_ wrong now 😛) - the event shows at 15:00 even for a user in the GMT-5 timezone.

What I was hoping for is to display events in the _users_ timezone - is that possible, or going to cause mayhem? I don’t see a timezone setting under a user’s prefs, so I guess it’d have to be the browser environment?

---

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [14.Май.2018 13:22:33 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/289 "2018-05-14T13:22:33Z")

</div>

Hi @angus,

I hope you are well, thanks for the great plugin developpment. Just this little bug is that since 2 days the currently Upgrading status is not moving. I cannot stop it. Any idea ?

 ![36](https://global.discourse-cdn.com/meta/original/3X/4/d/4d9802d632869090f613ff9031debf5d62274691.png)

Many thanks

---

<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: [15.Май.2018 23:33:50 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/290 "2018-05-15T23:33:50Z")

</div>

> [@gwmngilfen](#):
>
> However, this seems to have forced all events to the _calendar_ timezone, rather than the user viewing the calendar

Sounds like you’re talking about `events timezone default`?

If you have that set, it will override the localisation to the user’s timezone:

> [@angus](#):
>
> 1. Start with the user’s timezone
> 2. If there is a default timezone set use that instead.
> 3. If there is an event timezone _and_ the setting `events timezone event` is on, use the event timezone.

In other words, if both `events timezone default` and `events timezone event` are disabled, the event will be localised according to the timezone of the user.

Here’s an example from my sandbox:

 ![Screenshot%20at%20May%2016%2009-29-11](https://global.discourse-cdn.com/meta/original/3X/a/d/ad22ac1fe13955ccee86f55df4f4dfa52b5b61af.png)

 ![Screenshot%20at%20May%2016%2009-29-27](https://global.discourse-cdn.com/meta/original/3X/8/f/8f37adb89ba0df76e2079b4d291f3a7667919395.png)

* * *

> [@Jeremie\_Leroy](#):
>
> Just this little bug is that since 2 days the currently Upgrading status is not moving. I cannot stop it. Any idea ?

hm. I haven’t come across this issue before. I upgrade my sandbox via `docker/upgrade` each time I push updates for this plugin. It could be an issue unrelated to the events plugin, but let’s assume it is for now.

Do you see anything at [yoursite.com](https://yoursite.com/admin/upgrade#/upgrade/discourse_events)?

Are you able to ssh into your server and rebuild the container?

---

<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: [16.Май.2018 01:06:29 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/291 "2018-05-16T01:06:29Z")

</div>

> [@angus](#):
>
> In other words, if both `events timezone default` and `events timezone event` are disabled, the event will be localised according to the timezone of the user.

That’s where I’m going wrong. Seems to be working now - thanks!

---

<div class="post-metadata">

### Author: ![julz](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@julz](https://meta.discourse.org/u/julz)
#### Post date: [16.Май.2018 03:20:28 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/292 "2018-05-16T03:20:28Z")

</div>

I’m having problems getting events created in other categories to also appear in the events category.  
Should they sync this way so that an event can relate to a particular category, but also be found in a collective events category that covers all categories?

Please link this reply if already covered elsewhere - I did search but found nothing.

---

<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: [16.Май.2018 03:44:41 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/293 "2018-05-16T03:44:41Z")

</div>

Each category calendar will only show you events from that category.

However, there’s a site-level calendar at `yoursite.com/calendar` which will include events from all categories.

You can add a link to the site-level calendar:

- By adding ‘calendar’ to the `top menu` site setting. This will add a “Calendar” button to the navigation buttons for the non-category topic lists.

- By turning the setting `events hamburger menu calendar link` on. This will add a “Calendar” link to the hamburger menu.

---

<div class="post-metadata">

### Author: ![julz](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@julz](https://meta.discourse.org/u/julz)
#### Post date: [16.Май.2018 04:03:49 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/294 "2018-05-16T04:03:49Z")

</div>

Thanks for this reply.

I think have created ‘calendar’ in the top menu site setting. Although I can’t see it appear and returning to it, it isn’t saved and won’t let me create:

 ![00%20pm](https://global.discourse-cdn.com/meta/original/3X/e/1/e1d7ed3272e9a9483e3ec49ca52409c49dc2d2df.png)

> [@angus](#):
>
> `events hamburger menu calendar link` on

I can’t find this?

Inputting URL [mysite.com/calendar](http://mysite.com/calendar) return error message that the page doesn’t exist or is private.

---

<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: [16.Май.2018 04:17:50 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/295 "2018-05-16T04:17:50Z")

</div>

Could you type “events” into the site setting search take a screenshot of the results and paste it here?

Also please post a screenshot of [yoursite.com](http://yoursite.com/admin/plugins) and [yoursite.com](http://yoursite.com/calendar).

---

<div class="post-metadata">

### Author: ![julz](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@julz](https://meta.discourse.org/u/julz)
#### Post date: [16.Май.2018 04:21:41 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/296 "2018-05-16T04:21:41Z")

</div>

![41%20pm](https://global.discourse-cdn.com/meta/original/3X/b/d/bd683c952f2a4c2919ae671d8f86166554b8e8ad.png) ![26%20pm](https://global.discourse-cdn.com/meta/original/3X/f/b/fb6170aa393283734203a35a936805b0114ccd16.png) ![46%20pm](https://global.discourse-cdn.com/meta/original/3X/a/4/a4bb9b20e92eba9ecb7f51312e7e901774d0cb3d.png) ![41%20pm](https://global.discourse-cdn.com/meta/original/3X/9/4/9410df9817dafd72f7fef71b90f20e935c547fbd.png)

---

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [17.Май.2018 17:28:42 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/297 "2018-05-17T17:28:42Z")

</div>

Hi @angus

I come back to you because i tried to :

- ssh and rebuild the app
- comment and uncomment the plugin line in the app.yml

and still on the below screen shot when i click on the reset upgrade button it doesn’t answer

 ![40](https://global.discourse-cdn.com/meta/original/3X/e/8/e8d90eddf69844e1f2ae27718174554bca17a995.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [17.Май.2018 23:20:57 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/298 "2018-05-17T23:20:57Z")

</div>

Do a full rebuild from the command line and then click reset upgrade. We fixed this issue.

---

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [18.Май.2018 05:50:07 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/299 "2018-05-18T05:50:07Z")

</div>

@sam, yep, sorted, it is fixed.

Many thanks, i’m greatfull

---

<div class="post-metadata">

### Author: ![Abel](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@Abel](https://meta.discourse.org/u/Abel)
#### Post date: [20.Май.2018 21:44:52 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/300 "2018-05-20T21:44:52Z")

</div>

Hi!

Is it possible to provide a link to a .ics file containing all events in a specific forum? I know how to get individual .ics files for individual events… but an aggregated file containing all events?

That could be a cool feature for communities! Instead of adding events to the own private calendar one-by-one, this would enable users to show the community calendar based on discourse events directly in their own application along with google calendars etc.

Thank you for the great work with this plug-in!

---

<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: [21.Май.2018 11:29:51 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/301 "2018-05-21T11:29:51Z")

</div>

@angus I’m not 100% sure event timezones are respecting DST changes, sadly. Compare these shots from Discourse and from my terminal…

![Screenshot%20from%202018-05-21%2012-25-29](https://global.discourse-cdn.com/meta/original/3X/1/5/15e1e8d7c93794d61d11db034fcf0c56263d9104.png)  
 ![Screenshot%20from%202018-05-21%2012-26-06](https://global.discourse-cdn.com/meta/original/3X/9/2/924d4b6f360e1a25e4d112b63773a3e8823edf65.png)  
 ![Screenshot%20from%202018-05-21%2012-27-55](https://global.discourse-cdn.com/meta/original/3X/d/f/dfd68058578d1c57d12387666b409e567835d5d0.png)

So may laptop is in Europe/London and systemctl knows that’s currently GMT+1, but Discourse doesn’t seem to know that in either the creation or display. Right now I’m creating events in GMT explicitly and subtracting an hour in my head, so I can be sure I get it right. Am I again missing a setting, or is this a bug? Thanks!

---

<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: [23.Май.2018 03:38:19 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/302 "2018-05-23T03:38:19Z")

</div>

I think what may be confusing you is the timezone label. It’s not clear to me from your post that the _time_ is actually incorrect.

Behind the scenes the IANA label, i.e. `Europe/London``, is always used to format the actual timed displayed. The choice about what to put in the timezone label however comes down to the formatting method of the timezone label.

Could you try turning the `events timezone rails format` setting off?

---

<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: [26.Май.2018 09:23:42 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/303 "2018-05-26T09:23:42Z")

</div>

Hey there again. Once again - thank you so much for this amazing plugin, i was waiting for such thing for a loooooong time.

I’ve been asking for making it able to require user to add event date in topic in event-enabled category some time ago in this topic but it seems to be forgotten/lost. Or it was completely removed from the roadmap.

Maybe i’m gonna provide some background on why is such thing pretty important in my (and i think not just in mine) situation - people are adding events without the dates (because they are lazy or non-perceptive, not sure) and the events are then not presented on the agenda page of my `Events` category (which is a completely reasonable behaviour). As this category is all about the events, i want the Agenda page to be the default one so i’ve set up that like this.

Result of this is a lot of events without dates added + people asking why their event is not visible when they visit the `Events` category. I need to respond to each one of them about the agenda and event dates things + i need to edit all the events by myself to add the missing dates.

It’s more like these users issue than the plugin issue but still, i think a good UX practice would be to make it able to force them to add the datetime. It would cut the confusion step caused by the fact that their event is not visible in the default `Agenda` page for `Events` category.

Thanks in advance!

---

<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: [28.Май.2018 11:19:03 UTC](https://meta.discourse.org/t/angus-events-plugin/69776/304 "2018-05-28T11:19:03Z")

</div>

Sorry for the delay, I didn’t see that setting and had to schedule time for an upgrade 🙂

> [@angus](#):
>
> I think what may be confusing you is the timezone label. It’s not clear to me from your post that the _time_ is actually incorrect.

You are correct, it’s the label I was concerned about, the time is correct - and yes, unchecking that setting seems to have worked. Thanks!

[Предыдущая страница](https://meta.discourse.org/t/angus-events-plugin/69776.md?page=14)

[Следующая страница](https://meta.discourse.org/t/angus-events-plugin/69776.md?page=16)
