Another method I used:
global.php:
Find:
PHP Code:
// #############################################################################
// check permission to view forum
Above it add:
PHP Code:
if (is_member_of($bbuserinfo, 8))
{
$errormessage = "Oops! It appears you aren't welcome here.";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
}
where 8 is your banned group