In the page of the event, the user is not logged in and has no account, so the user fills up the registration form, press the button send and pay it (payment was successful). Then I have a custom function to create the user in the WordPress and send the login and password to the customer (I have used this function https://gist.github.com/Apina/5576163 ).
I am facing the followed problem in the process:
1. The user is registered in the event and in the WordPress, but in the user area (after login in the website) where I use the shortcode [ESPRESSO_MY_EVENTS], the attendee is not there.
How to fix it, please?
I have noticed if the user is logged in, everything works smooth. I have all the addons installed.
The function merely registers users, I will pass a message to the developer to see if there is a way to make sure the event is attached to the user, but this was just a helper function to register users so it may not be worked on further.
It probably needs an entry in the wp_events_member_rel table to tie the new user to that event attendee for it to show up in the My Events.
I’ve forked and updated the gist here: https://gist.github.com/sidharrell/6675041
Viewing 3 reply threads
The support post ‘user is registered in the event and in the WordPress, but not [ESPRESSO_MY_EVENT’ 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.