Skip to:
Content
Pages
Categories
Search
Top
Bottom

Resolved – How to disable the registration function of buddypress?


  • jonleesky
    Participant

    @jonleesky

    hello, guys. How to disable the registration function of buddypress? I just want the registration function of wordpress. thanks for your time!(^_^)∠※

Viewing 18 replies - 1 through 18 (of 18 total)

  • Venutius
    Moderator

    @venutius

    What are you trying to achieve?


    jonleesky
    Participant

    @jonleesky

    I just want the original wordpress registration page. After I installed buddypress, It becomes a new registration page. is there any way to stop it? ((o(^_^)o))


    Venutius
    Moderator

    @venutius

    There’s no easy way. The Plugiin BP Better Registration manipulates the registration page so it’s not impossible, just would need quite a bit of coding I reckon.


    jonleesky
    Participant

    @jonleesky

    (..•˘_˘•..)


    Venutius
    Moderator

    @venutius

    You can overload the register page, but I’m not aware how you can disable it and have BP running.


    jonleesky
    Participant

    @jonleesky


    mcpeanut
    Participant

    @mcpeanut

    @jonleesky I posted the solution to this nearly two years ago, I have not tested this code recently but you can try it out. please see this topic


    mcpeanut
    Participant

    @mcpeanut

    @jonleesky I posted the solution to this nearly two years ago, I have not tested this code recently but you can try it out.

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-signup.php'; 
        }

    What you will need to do is first create a bp-custom.php file (make sure you add the opening and closing tags at the top and bottom ) and put it in your plugins folder, then paste the code between the PHP opening and closing tags and save.

    This should disable BuddyPress registration and let you use WordPress registration as default, hope this helps.


    mcpeanut
    Participant

    @mcpeanut

    By the way, this solution was originally thx to @r-a-y I believe, I can’t remember it was a looooong time back.


    jonleesky
    Participant

    @jonleesky

    Thanks for your help. but it didn’t work, the screen prompt: ERR_TOO_MANY_REDIRECTS

    I’m using the wordpress 4.9.4 and buddypress 2.9.3, don’t know what to do…o(╥﹏╥)o


    @mcpeanut


    mcpeanut
    Participant

    @mcpeanut

    @jonleesky hmm, try this

    /*disable registration bp */
    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-login.php?action=register'; 
        }

    Let me know bud


    jonleesky
    Participant

    @jonleesky

    Aha! It works, it makes me very happy. thank you, bro

    you are great. (๑•̀ㅂ•́)و✧


    @mcpeanut


    JanDieckmann
    Participant

    @jandieckmann

    I am also thankful because I looked for the same issue and the code posted by mcpeanut worked for me too.


    yusareba
    Participant

    @yusareba

    Thank you so much for this!!!!!


    fabiojr2016
    Participant

    @fabiojr2016

    Perfecto, muchas gracias por el código… si, con ese código si pude deshabilitar el registro de BuddyPress y dejé el registro original de WordPress. Yo cree el archivo bp-custom.php dentro de la carpeta wp-content/plugins/

    Es decir, tengo Buddypress funcionando, pero con registro de WordPress.

    <?php
    /*disable registration bp */ function my_disable_bp_registration() { remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ ); remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ ); } add_action( ‘bp_loaded’, ‘my_disable_bp_registration’ ); add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”); function firmasite_redirect_bp_signup_page($page ){ return bp_get_root_domain() . ‘/wp-login.php?action=register’; }
    ?>


    fawp
    Participant

    @fawp

    Let me know bud

    thank you @mcpeanut 🙂


    ppp12345
    Participant

    @ppp12345

    I’m happy with the profile part of the registration form, however the account setup in Nouveau is a different story. How can I disable only the account part, any ideas?


    ppp12345
    Participant

    @ppp12345

    Not working for me! Any ideas?

Viewing 18 replies - 1 through 18 (of 18 total)
  • The topic ‘Resolved – How to disable the registration function of buddypress?’ is closed to new replies.