Skip to:
Content
Pages
Categories
Search
Top
Bottom

Resolved – How to disable the registration function of buddypress?

  • @jonleesky

    Participant

    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

    What are you trying to achieve?

    @jonleesky

    Participant

    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

    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

    (..•˘_˘•..)

    @venutius

    Moderator

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

    @jonleesky

    Participant

    @mcpeanut

    Participant

    @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

    @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

    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

    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

    @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

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

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


    @mcpeanut

    @jandieckmann

    Participant

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

    @yusareba

    Participant

    Thank you so much for this!!!!!

    @fabiojr2016

    Participant

    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

    Let me know bud

    thank you @mcpeanut 🙂

    @ppp12345

    Participant

    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

    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.