Remove New User Signup

This topic contains 5 replies, has 4 voices, and was last updated by  Guust 8 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #354521

    mike primer
    Buyer
    Post count: 22

    Since we run PaidMemberPro software, we don’t want an option for signups anywhere else on the website. How can I disable “new sign up” from appearing when non-members are viewing the listings and “places” pages?
    Thanks

    #354536

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    you should really redirect the GD Login page to your current login page.

    Please see: https://wpgeodirectory.com/docs/redirecting-the-login-page/

    Thanks

    #354561

    mike primer
    Buyer
    Post count: 22

    Is there a way you could paste that code here?
    I can’t copy and paste without all the extra “stuff” on it via the link you gave.
    Ends up like this…

    1
    add_filter(‘geodir_login_url’,’change_geodir_login_url’,10,3);
    2
    function change_geodir_login_url($login_url,$args,$gd_page_id){
    3
    //change the url to whatever you want.
    4
    $login_url = ‘http://your-site.com/my-login-page’;
    5
    return $login_url;
    6
    }

    I’m afraid I’ll post it wrong.
    Also is there PLACE where it needs to go.
    Thanks

    #354563

    Kor
    Moderator
    Post count: 16516

    Hi Mike,

    You can use the code snippets plugin to run this custom code. https://wordpress.org/plugins/code-snippets/ . Also, please don’t forget to change the login URL.

    
    
    add_filter('geodir_login_url','change_geodir_login_url',10,3);
    function change_geodir_login_url($login_url,$args,$gd_page_id){
    //change the url to whatever you want.
    $login_url = 'http://your-site.com/my-login-page';
    return $login_url;
    }

    Thanks!

    #354564

    mike primer
    Buyer
    Post count: 22

    You da man…….
    Thanks

    #354627

    Guust
    Moderator
    Post count: 29970

    For future reference, this is how to copy the code:

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount