walled garden and bbpress
Some time ago a contributor kindly provided a walled garden function that disabled access to buddypress pages by non-logged in users. (i think it was @aces)
if( bp_is_register_page() || bp_is_activation_page())
if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( bp_get_signup_page() );
add_action( ‘wp_loaded’, ‘sh_walled_garden’ );’
However with bp 1.71 and bbpress 2.3.1 pages like forum-topics, and say, forums/forum/group-forums/ are still accessible by non-logged in users.
Any idea on how to extend the functionality of the walled garden function to block access these bbpress pages by non-logged in users ?
You must be logged in to reply to this topic.