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 Ā· paviliondev/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.
My apologies. Not sure how I missed that one in my tests. Fixed.
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.