Posted: November 20, 2018 at 3:35 am
|
Hi, I’m confused about how this changes in EE4, especially regarding how the Contact record ties into the registrations. In EE4 with the WP User Integration Add-on, how is everything linked? Is the parent the Contact, and the children are the attendees? If the parent updates their WP User profile info, which contact records are updated? Is there only one contact record per parent email address, or is one created for each registration instance? I noticed when we upgraded to EE4 and did the data conversion, the links I had previously between events and WP Users are no longer there (or at least the events don’t show up on the user profile page for users that I know had user-event associations in the event_member_rel table previously). How does that work now? What tables would I need to query in order to match up past registrations to current users (parent email should be the same) in order to reestablish those links? I am working on modifying the content-espresso_my_events-event_section.template.php file to meet our display needs and getting confused about the difference between tickets and regsitrations. Thanks for helping me figure this out! |
|
I learned by reading this article that a relationship is stored in the wp_usermeta table to indicate the EE attendee ID. However, in our case, we need to have multiple EE ATT_IDs per WP User. That used to be possible in EE3. Is that no longer the case in EE4? I tried putting in another user meta entry with a different ATT_ID and it did not show in the MY_EVENTS display, so I’m assuming the code doesn’t know how to handle a one-to-many relationship? |
Hi, That’s correct, the EE4 WP User Integration does not have the capability to do one-to-many relationships between the Attendee ID and the User ID. |
|
|
I’m interested in this issue – would it be advisable to use EE3 rather than EE4 if the parent/student relationship (one to many) functionality is of importance to our afterschool program? |
|
I think in either case, unless you do custom coding, you will need to set the default required first and last name fields to be the student name, the required email field to be the parent email, and then add questions to capture the parent name. In EE3, the Espresso Members add-on has a table to tracks relationships between WP Users and Espresso Attendees, so all registrations made by one logged-in user are linked to the WP user’s login and email, even if the attendee names (in this case, student names) are different. In EE4, they force a single link between one attendee and one WP user. I am going to write some custom code to overcome that! Hope that helps. |
The support post ‘WP User Integration and Retreival of Parents registering children’ 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.