Support

Home Forums Event Espresso Premium User Registration – Additional Attendees

User Registration – Additional Attendees

Posted: February 4, 2020 at 2:13 pm

Viewing 1 reply thread


Allen

February 4, 2020 at 2:13 pm

I am using (learning) the User Registration add-on… when an attendee makes a Registration for someone else, where does that Registration go? Do I need to force the Primary Attendee to input a secondary email address so that each User gets their own dashboard (a page with [Espresso_My_Events] on it)

A lot of our attendees sign up other people also – I want to be sure I know where the registrations go and how they can be managed.

I understand the process of making them create a User Profile, but this method of using this code:
<?php
global $wpdb;
$user_id = 384;
$meta_key = $wpdb->prefix . ‘EE_Attendee_ID’;
$meta_value = 132610;
add_user_meta( $user_id, $meta_key, $meta_value, true );
?>

To link the User Profile and the EE Contact so their data shows up isn’t very efficient on an individual basis. Can that code be applied globally or automatically somehow?

Or is it just going to be best to start fresh, before any ticket sales are made for the event, and just force everyone to have an account?


Tony

  • Support Staff

February 5, 2020 at 11:54 am

I am using (learning) the User Registration add-on… when an attendee makes a Registration for someone else, where does that Registration go?

I’m not sure what you are asking here, the registration is stored in the database same as all others.

Do I need to force the Primary Attendee to input a secondary email address so that each User gets their own dashboard (a page with [Espresso_My_Events] on it)

Is the logged-in user adding them as the primary attendee or an additional attendee?

A lot of our attendees sign up other people also – I want to be sure I know where the registrations go and how they can be managed.

The registration will be linked to an EE_Contact.

If that EE_Contact is linked to a WP_User account, it will be displayed in that Users ESPRESSO_MY_EVENTS output, if not, it wont.

If it’s a new user that does not have an EE_Contact => WP_User relationship yet, then the registration will still be assigned to the EE_Contact but it will NOT show in the ESPRESSO_MY_EVENTS output until the relationship is set up. That can happen by the WP_User adding a registration themselves (again note that the Registration Data used for both of those registration would need to match exactly) or you, the admin, set up that relationship manually, which leads on to…

I understand the process of making them create a User Profile, but this method of using this code:
prefix . ‘EE_Attendee_ID’;
$meta_value = 132610;
add_user_meta( $user_id, $meta_key, $meta_value, true );
?>

To link the User Profile and the EE Contact so their data shows up isn’t very efficient on an individual basis. Can that code be applied globally or automatically somehow?

You can’t apply the code globally because the USER id will differ each time, you can search the ID and hopefully get the correct user ID from it but you can’t be 100% it’s correct based on the info you have from another logged in user…

The relationship is set up for the current user based on their registration data and WP User data, it’s intended to manage your own events.

Or is it just going to be best to start fresh, before any ticket sales are made for the event, and just force everyone to have an account?

Wait, so people don’t already have an account and are adding registrations?

Or do you mean for the additional users that logged in users are adding?

Viewing 1 reply thread

The support post ‘User Registration – Additional Attendees’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso