Ok, this is what I did. I replaced
PHP Code:
eval("\$onlinestatus = \"".gettemplate("postbit_online")."\";");
} else {
eval("\$onlinestatus = \"".gettemplate("postbit_offline")."\";");
}
with
PHP Code:
if(usergroupid == 6) {
eval("\$onlinestatus = \"".gettemplate("postbit_admin")."\";");
}
eval("\$onlinestatus = \"".gettemplate("postbit_online")."\";");
} else {
eval("\$onlinestatus = \"".gettemplate("postbit_offline")."\";");
}
But I end up with an error. Please help me out.
EDIT: It doesn't give me an error. It just doesn't do anything. I guess it ignores the if statement?