Can anyone help me to finish my custom functions . I need the user ID within this atteendee table , with so I will be able to identify the logged in User and come across this table to change the events of the background color paid for it.
Yes, i just wan’t to get the user ID in front of the UserName like this ex (10 – Member Member) after that i can to modify the background color of the member had booked. Tks
This is an example snippet from attendee_list.php where within the attendee list output, it grabs the User object based on the attendee email address and then outputs the users ID: http://pastebin.com/SrF2ipAL
If you are using the WP User Integration addon, you could do a check against the wp_events_member_rel table, which logs events registered by logged in users.
If you are not using that addon or your users are registering without being logged in, then there is no tracking done between user and attendee, so the best you could do is base the check off of email, name, or a combination of both.
Viewing 5 reply threads
The support post ‘event espresso list ateendee inside a full calendar’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.