Writing your code appropriately (with correct indenment etc.) will help you trace this kind of errors:
PHP Code:
if ($post[usergroupid]==8) {if ($bbuserinfo['usergroupid']==6 || $bbuserinfo['usergroupid']==5 || $bbuserinfo['usergroupid']==7)
{
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";");
}
//use the sytax "elseif" not "else if"!
elseif ($bbuserinfo[userid]!=$post[userid])
{
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbitban")."\";");
}
else
{
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";");
}
} //you closed and stoped the if statement here!
// so this "else" seems orphan here: where is its "if"?
else
{
eval("\$threadreviewbits .= \"".gettemplate("threadreviewbit")."\";");
}
// another orphaned else! if again missing!
else {
break;
}
see?