Events Made Easy › Forums › Bug fixed or feature request implemented › Booking with invitation link and/or one-time-password
- This topic has 13 replies, 3 voices, and was last updated 4 years, 10 months ago by Franky.
-
AuthorPosts
-
Sat 27 Oct 2018 at 10:21 #58590AnonymousInactive
Hi Franky,
would it be possible to implement a function to invite peaople (mass mail) for an event and sending them a booking link and an automatic generated password per receiver of the mail?
Or generating an individual one-time booking link per receiver with a limited time to be valid?
Reason: Sometimes we invite people to events and password-protect the booking. But actually the password was leaked and non-invited people booked the event. And that’s really bad in this cases.
Rgds,
Werner
Sat 27 Oct 2018 at 17:32 #58592FrankyKeymasterWell, thinking about this pointed me to discounts: if you require the discount to be used for an event, you can make a list of discounts (while saying that each discount code can only be used once), and use that as a password. Communicating that is up to you of course, but if you want to use this method, you’ll need to apply this small change:
https://plugins.trac.wordpress.org/changeset/1964193/Sat 27 Oct 2018 at 19:58 #58594AnonymousInactiveTHX for the suggestion. I’ll wait for 0.61 and give it a try.
Tue 13 Nov 2018 at 21:43 #59028AnonymousInactiveHi Franky,
tried “Discount” today and failed. I created a discount and tried different types (not “code”).
In my booking form i use #REQ_DISCOUNT and after filling in all the values and submitting the form, i always get an error similar to “be sure that required field discount is filled”.
What can be the reason for this?
Rgds,
Werner
Tue 13 Nov 2018 at 23:49 #59031FrankyKeymasterYou’re correct, small bug in the code upon submit (check can be disabled with the setting “Check required fields upon submit?”).
Fix is here:
https://plugins.trac.wordpress.org/changeset/1973871/(only the line with DISCOUNT is needed, the rest is more cosmetic).
Wed 14 Nov 2018 at 17:34 #59035AnonymousInactiveHi Franky,
thank you. I applied the “patch” and changed only line 757 to
if (preg_match ("/LASTNAME|EMAIL|SEATS|DISCOUNT/",$required_field)) {
Now i can submit the form, but i can also put in every text i want into the discount field and it’s accepted.
And if i put in the real discount code, it will not be substracted from the available count set in discount codes.
Hope you understand what i mean. 😉
Rgds,
Werner
Wed 14 Nov 2018 at 17:45 #59036FrankyKeymasterYou can of course put anything you want in the discount field, but only accepted discount codes will affect the price. The patch I gave is only for the discount field being required, it has no other effect than that. I’ll check here to see if the discount-functionality still works to be sure.
Wed 14 Nov 2018 at 17:57 #59037AnonymousInactiveAND (!)
If i use a password as required field #REQ_PASSWORD i will always be asked for it to be filled even if it’s filled. Same behaviour as before on discount, i think.
Wed 14 Nov 2018 at 18:02 #59038AnonymousInactiveAfter extending line 757 to
if (preg_match ("/LASTNAME|EMAIL|SEATS|DISCOUNT|PASSWORD/",$required_field)) {
Passwort is accepted and also proofed if it’s correct.
Wed 14 Nov 2018 at 18:10 #59039AnonymousInactiveMy problem is not the price. I wanted to use it as a required option to be able to book the event. If someone has no code or a wrong code, booking should not be possible. If anyone can write in what he/she wants, it’s absolutely senseless for me.
Password is also not the final solution. I want to give codes to groups of people with different amount of valid use of the given codes.
Sat 17 Nov 2018 at 14:33 #59042FrankyKeymasterIt took me a while, but in the end I already had the code without realizing it. So the next version will no longer allow a booking if you enter an incorrect discount code.
Thu 11 Apr 2019 at 08:20 #59836FrankyKeymasterIt’s been long overdue, but finally in: the next version will have the option to invite people to events, and only when using an invitation url will they be able to make a reservation.
Thu 9 Jan 2020 at 22:52 #60669AnonymousInactiveHi Franky,
the option to send personalized invitation links is very useful, I like it a lot!
But I think now I have the same problem as Werner had before…Is there any possibility to make sure that a generated link is used for only one booking?
Right now the invitees are able to use their invitation link twice and make several bookings with it. Or they can even send it to someone else who can make another booking with that link.
So the generated link should for example work just for one single booking.
Or it should work only with the email-address it was sent to (in combination with allowing only one booking per unique email-address this should work as well).Regards + thanks in advance
TimoFri 10 Jan 2020 at 23:19 #60675FrankyKeymasterPlease open a separate thread for this. I do understand the problem, but currently I see this as an extra for the invite-only thingie.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.