Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » How does a user register before making a booking?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    user accounts or registration will happen when the user first books an events or during initial bookings.

    Thread Starter Troy Templeman

    (@troytempleman)

    Doesn’t that only happen with guest bookings (i.e. when “Allow Guest Bookings is set to Yes)? Also, in that case, it seems the username is automatically generated and the user doesn’t know what their username is when the try to login next time. Are they able to register with a username of their choice in the first place? Am I missing something? Thanks

    Plugin Support angelo_nwl

    (@angelo_nwl)

    the auto-generated user accounts will be emailed after the registration or another option is to enable wordpress registration at WordPress Settings > General > Membership =Yes and the registration link will be show at booking form login form

    Thread Starter Troy Templeman

    (@troytempleman)

    Thanks, the latter was what I was looking for. However, after creating an account, is it possible for them to be redirected to booking login page/form instead of the WordPress dashboard? As a user, I think that would be the expected action. Thanks!

    If you add a filter to wp_redirect you can specify which page users get taken to after logging in.

    Thread Starter Troy Templeman

    (@troytempleman)

    Thanks, I’ve been looking at that. Do you know how to set it to redirect to the previous page the user was on instead of a static page that you specify? This would bring them back to the booking page/form that they were on before signing up.

    Using

    $_SERVER["HTTP_REFERER"]

    as your redirect url should do the trick.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How does a user register before making a booking?’ is closed to new replies.