Re: Private Forum script
i think this would be safer option..
function my_check_private_forum() {
global $bb;
$login_page = $bb->path . 'bb-login.php';
if (!bb_is_user_logged_in() && $_SERVER['PHP_SELF'] != $login_page) {
header('Location: ' . $bb->domain . $bb->path . 'bb-login.php');
}
}
add_action( 'bb_init', 'my_check_private_forum');
any thoughts?.. any one?