• Resolved maarcoswesleey

    (@maarcoswesleey)


    When restricting the event to only logged in users to confirm attendance at the event, how can I change the page so that it does not go to the WordPress login page, but rather to a custom login page that I created?

    Event Tickets plugin gives two options:
    Require users to login before they RSVP
    Require users to login before they purchase tickets

    I want to know how to change this page it sends me directly to wp-login I want to send it to another page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Darian

    (@d0153)

    Hi @maarcoswesleey

    Thanks for reaching out.

    That’s a great question! Let me check with the team if we have a snippet code that can update the login page URL where users will be redirected.

    Plugin Support Darian

    (@d0153)

    Hi @maarcoswesleey

    You can use the following code snippet to change the login url for your tickets/RSVP:

    add_filter ( 'tribe_tickets_ticket_login_url', function ( $login_url ) {
    $url = explode("?redirect_to=", $login_url);

    //new login URL
    $url[0] = "https://mydomain.com/custom_login.php";

    //add the redirect url
    $login_url = implode("?redirect_to=", $url);

    return $login_url;
    });

    As always, please test it first on your staging site before applying to your live site.

    If you’re not familiar with coding, you can use the Code Snippets plugin, which removes the need to add custom snippets to your theme’s functions.php file.

    I hope that helps, and let me know if you have further concerns.

    Plugin Support Darian

    (@d0153)

    Hi @maarcoswesleey

    I hope everything is going smoothly for you. I just wanted to touch base and inquire if you had the opportunity to review my previous response as it has been some time since we last heard from you.

    Thread Starter maarcoswesleey

    (@maarcoswesleey)

    Good morning, yes it worked!

    Thanks.

    Plugin Support Darian

    (@d0153)

    Hi @maarcoswesleey

    Thanks for your confirmation and I’m glad that it is now working.

    If you have a minute, a great review from you would be amazing!

    https://www.ads-software.com/support/plugin/event-tickets/reviews/

    I’ll close this thread for now, but please do not hesitate to start a new thread if you have other issues at all. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.