Quote:
Today at 12:26 PM Xenon said this in Post #8
you're right some problems are still there...
add this to functions.php:
PHP Code:
$bannedusergroupid = x;
function isbanned() {
global $bbuserinfo,$bannedusergroupid;
return $bbuserinfo['usergroupid'] == $bannedusergroupid;
}
so you can use $bannedusergroupid in your usergroupid NOT IN (5,6,7,$bannedusergroupid)
|
I just need to change the x to the banned usergroupid number, right? Also, does it matter where it goes in functions?