Support

Home Forums Event Espresso Premium user is registered in the event and in the WordPress, but not [ESPRESSO_MY_EVENT

user is registered in the event and in the WordPress, but not [ESPRESSO_MY_EVENT

Posted: September 15, 2013 at 3:28 am


Fabio Brito

September 15, 2013 at 3:28 am

Hi

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.

Best regards

Fabio


Dean

September 15, 2013 at 8:24 am

Hi Fabio,

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.


Fabio Brito

September 15, 2013 at 2:53 pm

Ok, thank you!


Sidney Harrell

September 23, 2013 at 1:00 pm

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

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.

Event Espresso