Support

Home Forums Event Espresso Premium Which User created the booking

Which User created the booking

Posted: October 20, 2017 at 10:13 am


kevincostello

October 20, 2017 at 10:13 am

My system is set up so that registered users/companies can create bookings for their employees.
So users are always creating bookings for other people.

How can I display the name of the person who created each booking?


Josh

  • Support Staff

October 23, 2017 at 8:42 am

Hi Kevin,

May I ask where do you want to display the name of the person who created the booking? Also, are you capturing that name somewhere on the registration form?


kevincostello

October 23, 2017 at 8:48 am

Hi Josh,
I would like to display it on the Registrations page in Admin and in the CSV report.

When a logged-in user creates a booking, is the user-id not stored along with the booking?

Only logged-in users are able to create a booking on my site, but they are making the booking on behalf of someone else. So the name of the booking is never usually the same as the logged-in user who created the booking.

Thanks
Kevin


Josh

  • Support Staff

October 23, 2017 at 11:08 am

Are you capturing their name somewhere on the registration form? For example, in additional to the Attendee information fields that capture the Attendee first name and Attendee last name, do you also have fields for capturing the first and last name of the booking agent?


kevincostello

October 24, 2017 at 7:07 am

Hi Josh,
No I’m not capturing the booking agent name in the registration form.

I thought the user-id of the logged-in booking agent would be recorded in the database when the booking is created? If so, then I would like to display the first and last name of that user in the admin area.
Or am I mistaken?


Josh

  • Support Staff

October 24, 2017 at 7:43 am

That may be the case. When you’re logged in does the registration form auto-populate the first and last name of the user into the registration form’s first and last name fields for the attendee? Is the user then removing what’s in those fields and replacing with other names?


kevincostello

October 24, 2017 at 7:52 am

Hi Josh,
Thanks for the quick reply.

No the the first and last name are not auto-populated in the registration form for the attendee information.


Josh

  • Support Staff

October 24, 2017 at 12:03 pm

You can contact one of the developers listed here and include your list of specifications for customizations and they’ll be able to give you a quote:

https://eventespresso.com/developers/event-espresso-pros/

The Event Espresso 4 core plugin and WP Users add-on do not have the means on their own to display which user created the booking, but an extension can be built to get and display that information.

The support post ‘Which User created the booking’ 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