Events Made Easy › Forums › Bug fixed or feature request implemented › Allow RSVP after event ended
Tagged: livestream, recordings, RSVP
- This topic has 11 replies, 2 voices, and was last updated 4 years ago by Franky.
-
AuthorPosts
-
Tue 3 Nov 2020 at 11:18 #61859AnonymousInactive
Hi,
in this time of online events it would help me much if there was an option to allow RSVP (and RSVP cancel) for past events. I would like to sell recordings (of livestreams and live events) this way. A simple switch (allow RSVP after event ended) or something similar will be great.
For now I am using a dirty workaround (I edited eme_rsvp.php, added if clauses in the functions to skip date check if RSVP start date is set to “-99”) It works, but it obviously breaks each time I update the plugin.
Thanks
Tue 3 Nov 2020 at 15:12 #61861FrankyKeymasterI think the reason is that I use minusdays etc … and that causes some issues since it doesn’t correctly adjust for negative numbers.
Try this patch (it is a patch to ExpressiveDate.php, you can just download+replace your version with the new one):
https://plugins.trac.wordpress.org/changeset/2411858/Wed 4 Nov 2020 at 13:05 #61862AnonymousInactiveHi, it looks like your fix works like intended.
However if the event was more than 99 days ago, I still cannot allow RSVP for recordings because the form accepts only three characters (-99). For spring pandemic wave it is already over. Can you please make it work somehow? A checkbox “Allow RSVP indefinitely” or any magic word in the input will do.
Wed 4 Nov 2020 at 14:28 #61863FrankyKeymasterI wont allow indefinite rsvp days, that is pointless. I increased the form to allow one extra character, meaning you can go up to -999 days, which is a little bit less than 3 years:
https://plugins.trac.wordpress.org/changeset/2412439/Wed 4 Nov 2020 at 15:38 #61864AnonymousInactiveThank you, it works fine. The probability that somebody will try to buy a three-year old recording is not very high in my case. However, I should make a note somewhere to have a look at those recordings in three years time.
Wed 4 Nov 2020 at 15:52 #61865AnonymousInactiveHi, I am sorry, but now I found out it actually doesn’t work at all. It was only working because of my edits in eme_rsvp.php. I have found out after change of -99 to -999 that it stopped from working. Please, have a look at it one more time.
With your edits to eme_events.php and ExpressiveDate.php negative numbers are still not working when setting RSVP and RSVP cancel date.
Wed 4 Nov 2020 at 18:35 #61866FrankyKeymasterThis extra change is needed to allow a negative number for rsvp end on all setups:
https://plugins.trac.wordpress.org/changeset/2412693/Wed 11 Nov 2020 at 13:08 #61880AnonymousInactiveI have updated to 2.1.95 and it’s still not working. I have set the time to -999 days and -99 hours. The form doesn’t show with the exclamation that RSVP has ended. Same of RSVP cancel.
Wed 11 Nov 2020 at 15:32 #61881FrankyKeymasterHave you configured the “allow rsvp until” correctly?
This is a demo on the site where it works (the event ended yesterday):
https://www.e-dynamics.be/wordpress/events/test-2/Wed 11 Nov 2020 at 16:44 #61882AnonymousInactiveHi, this is how it looks in my setup. Is it correct?
Wed 11 Nov 2020 at 16:47 #61883AnonymousInactiveOk, now I have found the mistake. The -999 value was in the wrong line.
Thanks
Wed 11 Nov 2020 at 18:17 #61884FrankyKeymasterIn your screenshot the begins/ends (your text in red) is reversed.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.