[Resolved] walled garden not working
hi i have this code in functions.php but it is not working
if ( bp_is_register_page() || bp_is_activation_page() )
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’ );
the site is http://www.urine-therapy.org, pardon the subject matter, it might save your life, but it’s “odd” and the community likes to be a “walled garden,” especially some of the more prominent members — but they use aliases anyway.
it would be cool to have the buddypress pages redirect to a join link though — and only be accessible to logged in members.
i have wishlist member — so maybe that plugin can accomplish it — but i had “walled garden” working before i think — and it would be nice if the code could work.
can you help?
- The topic ‘[Resolved] walled garden not working’ is closed to new replies.