Support

Home Forums WP User Integration User data from wp user registration is missing in event espresso

User data from wp user registration is missing in event espresso

Posted: December 20, 2020 at 1:07 pm


jjauss

December 20, 2020 at 1:07 pm

Hi guys!
People who come to my page have to register/log in, then they can register for events. When people register, they fill out a couple of things (street, city, birth date, …). Then they register for an event. But in the event attendees list, I can not see all the details about the person (street, city, birth, …) – they are only visible in the wordpress users page.
Name and Email are synched. How can I achieve that also the other attributes are synched to event espresso?

And another question: I want a “my events” page on the “my account” page. There should be a list of all the events, I registered for. And there should be a quick link to cancel my ticket. Is this somehow possible?

Thank you so much in advance!


Tony

  • Support Staff

December 21, 2020 at 9:14 am

Hi there,

Name and Email are synched. How can I achieve that also the other attributes are synched to event espresso?

Currently, Event Espresso does not pull user metadata onto the registration form. The closest we have for this is using a snippet to auto-fill their ‘last’ answer during registration. So the user will register onto their first event and need to provide all requested details, then on the next event registration those would be autofilled.

That snippet is available here:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/mn_wp_user_addon_save_custom_answers_too.php

You’ll likely also want to autofill the address questions so you’ll need this snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_filter_address_answer_for_wpuser.php

You can add both of those to a custom functions plugin, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

And another question: I want a “my events” page on the “my account” page. There should be a list of all the events, I registered for.

The [ESPRESSO_MY_EVENTS] shortcode can be used to output something like what you are requesting, see here:

https://eventespresso.com/wiki/wp-user-integration/#ee4-my-events

And there should be a quick link to cancel my ticket. Is this somehow possible?

We don’t have a link for the end-user to cancel their own ticket by default, although we do have a snippet to include one in the above:

https://gist.github.com/Pebblo/9534d318347082e63fc01f5c9c413361

However, it’s not something we officially support currently.

The support post ‘User data from wp user registration is missing in event espresso’ 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