just after
PHP Code:
require_once('./global.php');
Add this
PHP Code:
if(( $bbuserinfo[usergroupid == 2) {
eval(print_standard_error('nopermission_loggedin'));
} else {
and then put a final } before the ?> at th end of the document
All this does is no allow the users in the main registered group to view that chat, all other usergroups can eg mods,s-mods,admin abd whatever else you have
There are probobly parse errors in that code so fix them if there is and im sorry if theres alot