Thanks for amazing work @angus ! I was waiting for such thing for ages.
What do you think about implementing โMake event date and/or time required when creating eventโ feature? I would love to help with that if i had the skills.
Thanks for amazing work @angus ! I was waiting for such thing for ages.
What do you think about implementing โMake event date and/or time required when creating eventโ feature? I would love to help with that if i had the skills.
Iโve pushed v0.1 of the RSVP feature. Thanks for being patient, Iโve been moving city and house, so Iโve been busy.
Add rsvp feature ยท angusmcleod/discourse-events@39a8de1 ยท GitHub
If you enable events rsvp in site settings, you will see:
An rsvp toggle and attendee count under the topic title (Guests just see an unlinked count).
Clicking on the attendee count opens a modal with a filterable list of the attendees.
The attendee count appears on the topic list.

Future additions:
Event-specific rsvp enabling.
Email markup to allow rsvp from email clients (e.g. Gmail).
โInterestedโ rsvp (aka โMaybeโ).
Rsvp limit (@Stephen).
cc @shoshber
Do you mean a setting to require users to add an event when creating a topic, or setting(s) to require users to add specific parts of an event, i.e. you canโt create an event with adding a date and a time?
Looks awesome. Will test shortly.
Can I suggest an RSVP limit be considered for the future? The reason I suggested the feature to begin with is a group who have regular meetings in a physical space with a capacity limit. First-come, first-served.
Iโve added:
Event-specific rsvp enabling; and
Guest limits
https://github.com/angusmcleod/discourse-events/commit/f26c71c9cbd9b8667024744d6bd5188a53fbd6b8
Now the site setting events rsvp toggles controls in the Add Event modal that lets the event creator enable rsvp and set a guest limit for each event.
Rsvp details in the topic and the topic list are shown only if rsvp is enabled for that topic.
The guest limit is not mandatory.

The event details under the topic title includes spots remaining if a guest limit is set.
This is live on my sandbox, e.g. https://discourse.angusmcleod.com.au/t/spelunking-in-the-amazon/338
Get a 500 error when RSVPโing:
RuntimeError (translation missing: en.event_rsvp.error.not_enabled)
/var/www/discourse/plugins/discourse-events/controllers/event_rsvp.rb:66:in `check_if_rsvp_enabledโ
Let me know if you want more of the log.
Definitely a first one - require users to set date (and time) when creating an event.
Excellent feature - very welcome addition.
I did, however find that my forum completely stopped working (even in safe mode) after I added an event ![]()
From production.log
Completed 500 Internal Server Error in 98ms (ActiveRecord: 25.3ms)
NoMethodError (undefined method `>' for nil:NilClass)
/var/www/discourse/plugins/discourse-events/plugin.rb:177:in `event_going_max'
I was able to get the forum back online by deleting the last topic Iโd created using the following at the Rails console:
Topic.last.destroy
Another issue - in desktop mode, when selecting an events-enabled category, the event date button is unclickable due to it being rendered behind the preview pane:
Thanks, fixed.
https://github.com/angusmcleod/discourse-events/commit/46c5f16815d3224b7bc83e10d082a7ad93d8f7b9
My apologies. Not sure how I missed that one in my tests. Fixed.
https://github.com/angusmcleod/discourse-events/commit/a5521d01fefa383c3662c1660c20b6938b9dece2
Iโve created a new test topic with those changes here:
https://discourse.angusmcleod.com.au/t/kite-flying-on-the-common/395
hm Iโll take a look at this later tonight.
Ok, Iโll take a look at adding that in the coming week.
Speedy response as always, thanks @angus ![]()
Is it possible to add multiple dates for a same event? For now it is not, I have to write multiple topics.
If I just have a day but no time for an event, is it possible to not display 00:00 ?
It would be so awesome if you add these features soon, thank you very much @angus ![]()
Rebuilt about 45 minutes ago, still getting the 500 error on new and existing events. Tried with both a guest limit and without.
Also, when I create an event with RSVP enabled and a guest limit the โgoingโ box doesnโt immediately appear. If I edit the event again and save it without making any changes then itโs visible. Will have a video clip in a moment to illustrate.
I am liking the look of rhe rsvp feature. I can see this being very useful! Nice work, Angus!
Two features that might help fit this into our workflow are:
Can you post a screenshot of
the line for discourse events in /admin/docker, including the commit
the site setting โevents rsvpโ
This is not easy to reproduce. Can you link me to an example of it on your forum? Thanks. Also please post all your current settings for events here. Use the > Hide details feature so the post isnโt huge.
Yup, both of these are doable. Itโs relatively common to have the ability to export a list of attendees, so I may just make it a native feature.
Iโve fixed this and other style issues.
https://github.com/angusmcleod/discourse-events/commit/e5daabf9fa630c6e0bb18b5595bad670fa2bd466
I found that choosing โall dayโ do not show hours. Is it the solution? Because I canโt just not choose hours.
Yup, if you want to post just a date without a time then use the all day setting.
@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.