Events Made Easy › Forums › How do I … › Use the WP member data on RSVP
Tagged: RSVP
- This topic has 7 replies, 2 voices, and was last updated 2 years, 6 months ago by Anonymous.
-
AuthorPosts
-
Mon 6 Jun 2022 at 16:18 #64307AnonymousInactive
Hello,
I’m creating events for people registered on my WP; Is it possible to not show the form and directly use wordpress member data?
I would also like that unregistered people could access the event page and force them to register in wordpress on the same page of the event, is it possible?
I activated “By default require WP membership to be able to register?” but it show “You need to be logged in in order to be able to register for this event.” It’s not possible to force register at the same RSVP form?I was searching in your documentation before writing!
https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-6-registration-form-fields/thanks a lot!
Mon 6 Jun 2022 at 16:46 #64308FrankyKeymasterIf you require WP membership, then indeed that is the behavior.
However, you can add (inside the single event format setting) another shortcode that checks if the user is logged in and if not show a link to the login-page. For example, in your single event format you’d have somewhere #_ADDBOOKINGFORM (which renders the form or the message that you need to log in), so the nicest way to solve it is to replace that by:#_ADDBOOKINGFORM_IF_LOGGED_IN [eme_if tag='#_IS_LOGGED_IN' value='0']show the link to login/register[/eme_if]
Mon 6 Jun 2022 at 23:06 #64310AnonymousInactiveThanks, I don’t use WP membership. It’s a site with learndash and woocommerce to register users.
I would like to use that information prevously registered to avoid that users have to fill the form all the time.Thanks for the code, but if I use it, the register form appears twice if the user is logged; one for have checked “Enable bookings for this event” and other for your code.
If I disabled “Enable bookings for this event” the form doesn’t show up even once.Mon 6 Jun 2022 at 23:25 #64311FrankyKeymasterIf you don’t use WP memberships, EME doesn’t know who is making the booking and can’t use previously entered data (EME doesn’t use cookies to store info).
Also, for the form: if you use the code I showed, you need to change your single event format setting for that (and replace #_ADDBOOKINGFORM by it).Mon 6 Jun 2022 at 23:28 #64312FrankyKeymasterBtw: if you have your own method of identifying users, you can use the EME filter eme_field_value_filter to pre-enter info based on info you provide (see https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/ )
Tue 7 Jun 2022 at 10:17 #64314AnonymousInactivethanks a lot! it works fine.
last question: I’m searching for a option to the user that can buy 5 seats with discount and use the remaining four seats at later events. There’s something like this? (I’m not sure if in english the term is “bond”)
thanks,
Tue 7 Jun 2022 at 10:50 #64315FrankyKeymastersorry, but that is not directly possible. You can use a discount of type “code”, but then you need to code up the discount logic yourself … a way would be to link a discount to a person so only he can reuse that discount code.
Tue 7 Jun 2022 at 11:02 #64316AnonymousInactiveok, I’ll take a look at the code options.
thanks!!!
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.