WordPress.org

Forums

Events Manager
[resolved] How does a user register before making a booking? (8 posts)

  1. Troy Templeman
    Member
    Posted 1 year ago #

    I have "Allow Guest Bookings" set to No because I want users to be registered in order to book an event. However, this only displays a login form and "You must log in or register to make a booking." How do they register if they don't have an account?

    http://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 1 year ago #

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

  3. Troy Templeman
    Member
    Posted 1 year ago #

    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

  4. angelo
    NetWebLogic Support
    Posted 1 year ago #

    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

  5. Troy Templeman
    Member
    Posted 1 year ago #

    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!

  6. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

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

  7. Troy Templeman
    Member
    Posted 1 year ago #

    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.

  8. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Using

    $_SERVER["HTTP_REFERER"]

    as your redirect url should do the trick.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic