-
I’m a newbie so I apologize… I was trying to force buddypress to use wordpress register pages. Now when you go to the site it makes you register or login.
I followed some instruction on the buddypress site to add a bp-custom.php file in the plugin directory with the following code.
<?php
// hacks and mods will go here
/**
* Disables BuddyPress’ registration process and fallsback to WordPress’ one.
*/
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’;
}
?>It worked, but then forced login or registration to view the entire site which is not what I wanted. I deleted the file, but now i’m still stuck. 🙁
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,505
- Aegaeus WP Theme 1,616
- Requests and Feedback 133