Events Plugin 📆

Yup, if you want to post just a date without a time then use the all day setting.

1 Like

@angus I’d be glad to try out the RSVP functions on your sandbox but it doesn’t seem to be working right now.

Hm. What are you seeing? I just tried it with a couple of different users on my phone and it worked ok.

Some sort of wizard already completed message.

After another rebuild it’s behaving, although I note that it’s possible to enable RSVP on events without the ‘events rsvp’ site setting enabled, which also returns HTTP500.

1 Like

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

image

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!

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.

Is this setting working?

41

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

Only in the subcategories that I set it directly

3223

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:

This method isn’t supported by IE11 and earlier.

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

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

Right, thanks. This is now fixed.

https://github.com/angusmcleod/discourse-events/commit/13b68da61b5022db3970b218d15bf8c61c98f063

This is fixed:

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

As per @yanokwa’s request, 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

  2. events timezone rails format (this is the default setting).
    e.g: 54%20AM

  3. If both settings are disabled, the IANA timezone will be used
    e.g: 37%20AM

The format will also apply in the:

The logic on when to display a timezone is the same as I explained above.

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

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

https://github.com/angusmcleod/discourse-events/commit/56d0980c8fe6b01cf67789205d44f70dcf3e9c54

This should be fixed (here).

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.

7 Likes

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). 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.

8 Likes

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

1 Like

Same here. Works as expected. Thanks @angus

2 Likes

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

1 Like

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

I’m :fr: and Général - Le peuplier looks totally fine to me.

4 Likes

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

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:

(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…

2 Likes

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

2 Likes

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

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

or is it just a bug?

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.