Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,781
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
Ok, I got it to work. I added this…
function sh_walled_garden()
{
global $bp;
if ( bp_is_register_page() || bp_is_activation_page() )
return;
if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
}
add_action( ‘walled_garden’, ‘sh_walled_garden’ );
…into /wp-content/plugins/buddypress/bp-themes/bp-default/functions.php
and added…
…into the top of /wp-content/plugins/buddypress/bp-themes/bp-default/header.php
So far, so good!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS