Support

Home Forums WP User Integration Attendees and the WP User table.

Attendees and the WP User table.

Posted: October 27, 2016 at 9:36 am

Viewing 5 reply threads


Gaviny

October 27, 2016 at 9:36 am

Hi,

I have a quick question, i think i already know the answer but i wanted to get it from the guys in the know first.

I’m looking at working out which of my WP Users have an event associated with with them for some reporting that i need to do. I was wandering, does EE match up the attendee and their WP User account by linking their email address? I guess this would be the standard way but i wanted to know if there was another way of linking the WP User account to the CPT that’s made when they register?

Currently i have a need to display all of my registered members, and which of them are also attendees of events. i appreciate the email address is the easiest to match up as its entered at the same time of event registration. I just wanted to know for definite if there was no other way of doing this.

Thanks

PhilB


Josh

  • Support Staff

October 27, 2016 at 1:11 pm

It actually adds a key/value pair to the wp_user_meta table, that key is wp_EE_Attendee_ID and the value is the Attendee ID or also reffered to as the Contact post type ID. Then the registration record in wp_esp_registration has an ATT_ID column that will point to that Attendee ID.


Gaviny

October 28, 2016 at 2:09 am

So there is a relationship between the wp_user_meta and the attendee table, which i could use by using the wp_esp_registration table to link the two?

thanks,

PhilB


Josh

  • Support Staff

October 28, 2016 at 8:31 am

Sure, so for example you can run a query on the wp_esp_registration table and get the value for ATT_ID. That ATT_ID will match the attendee’s contact post ID.


Gaviny

October 28, 2016 at 8:53 am

Fantastic! i had a look at this in sql workbench and found the relationships so i was able to make the connections in PowerBi as well. Thanks Josh, much appreciated.

Reagrds,

PhilB


Josh

  • Support Staff

October 28, 2016 at 9:30 am

You’re welcome.

Viewing 5 reply threads

The support post ‘Attendees and the WP User table.’ 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