Support

Home Forums Event Espresso Premium Find out if a user has any event registered and its status

Find out if a user has any event registered and its status

Posted: September 29, 2013 at 1:52 am

Viewing 1 reply thread


Sean

September 29, 2013 at 1:52 am

I am working on creating an account page for users where they can see their events.

How can I find out if a given user has any registration at all and show him under two categories:

“Pending Registrations” – when they haven’t paid yet
“Confirmed Registration” – when they have completed the payment

If they don’t have any of the above situations, I’d like to show them a different messages; bunch of links to the events listing page, etc.

I have a feeling that I may need to crack into database in order to get this info. I would appreciate if you could provide me some clues.


Dean

September 30, 2013 at 1:38 am

Hi Sean,

We do have a system in place for something similar to this, via the WP USer Integration plugin.

The users need to be registered with the site (ie WP users) and have registered for the events while logged in (otherwise there is nothing to link the registration with the user).

The user can then either go to their profile and look at their My Events page, or alternatively we have a shortcode to display this on the front end https://eventespresso.com/wiki/shortcodes-template-variables/#my-events

If that isn’t what you are after then, yeah you will most likely need to start doing SQL queries. We recommend these developers should you need the plugin customised – https://eventespresso.com/developers/event-espresso-pros/

Viewing 1 reply thread

The support post ‘Find out if a user has any event registered and its status’ 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