I attempted to install this but I keep getting a parse error. Here is what I have. Any help would be greatly appreciated. I can't seem to find where the error is.
<?php
include("./global.php");
if (!$bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==6 ||
$bbuserinfo[usergroupid]==6) {
eval("dooutput(\"".gettemplate('chatmod')."\");");
} else {
if( $bbuserid ) {
$user = $DB_site->query_first( "SELECT username
FROM user
WHERE userid = $bbuserid" );
$bbusername = $user[ username ];
eval("dooutput(\"".gettemplate('chat')."\");");
} else {
eval("dooutput(\"".show_nopermission()."\");");
} // end if
?>
|