Whoops, I forgot to change something, use:
PHP Code:
if (ismoderator($thread['forumid']) or $getperms['canopenclose'] or $getperms['candeletethread'] or $getperms['canmove']) {
eval("\$adminoptions = \"".gettemplate("showthread_adminoptions")."\";");
} elseif ($bbuserinfo[usergroupid] == 1 OR $bbuserinfo[usergroupid] == 2 OR $bbuserinfo[usergroupid] == 3 OR $bbuserinfo[usergroupid] == 4 ) {
$adminoptions = " ";
} else {
$adminoptions = " ";
}