Resolved – How to disable the registration function of buddypress?
-
hello, guys. How to disable the registration function of buddypress? I just want the registration function of wordpress. thanks for your time!(^_^)∠※
-
What are you trying to achieve?
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))
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.
(..•˘_˘•..)
You can overload the register page, but I’m not aware how you can disable it and have BP running.
@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
@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.
By the way, this solution was originally thx to @r-a-y I believe, I can’t remember it was a looooong time back.
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
@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
I am also thankful because I looked for the same issue and the code posted by mcpeanut worked for me too.
Thank you so much for this!!!!!
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’; }
?>Let me know bud
thank you @mcpeanut 🙂
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?
Not working for me! Any ideas?
- The topic ‘Resolved – How to disable the registration function of buddypress?’ is closed to new replies.