open admin/functions.php
find:
PHP Code:
// +++++++ Warning Hack [ g-force2k2 ] +++++++
if($bbuserinfo[usergroupid] == 5 OR $bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 7) {
$post[warnings] = "<b>Warning Level:</b> $post[warninglvl] <a href='javascript:showwarnings($post[userid])'>[ View User Warnings ]</a> <a href='javascript:addwarnings($post[postid])'>[ Warn This User ]</a>";
} else {
$post[warnings] = "";
}
// +++++++ Warning Hack [ g-force2k2 ] +++++++
replace with:
PHP Code:
// +++++++ Warning Hack [ g-force2k2 ] +++++++
if($bbuserinfo[usergroupid] == 31 OR $bbuserinfo[usergroupid] == 28 OR $bbuserinfo[usergroupid] == 29) {
$post[warnings] = "<b>Warning Level:</b> $post[warninglvl] <a href='javascript:showwarnings($post[userid])'>[ View User Warnings ]</a> <a href='javascript:addwarnings($post[postid])'>[ Warn This User ]</a>";
} else {
$post[warnings] = "";
}
// +++++++ Warning Hack [ g-force2k2 ] +++++++
open member.php
find:
PHP Code:
// +++++++ Warning Hack [ g-force2k2 ] +++++++
if(($bbuserinfo[usergroupid] == 5 OR $bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 7) AND ($userinfo[warninglvl] > 0)) {
eval("\$getinfo_warning = \"".gettemplate("getinfo_warning")."\";");
} else {
$getinfo_warning = "";
}
// +++++++ Warning Hack [ g-force2k2 ] +++++++
replace with:
PHP Code:
// +++++++ Warning Hack [ g-force2k2 ] +++++++
if(($bbuserinfo[usergroupid] == 31 OR $bbuserinfo[usergroupid] == 28 OR $bbuserinfo[usergroupid] == 29) AND ($userinfo[warninglvl] > 0)) {
eval("\$getinfo_warning = \"".gettemplate("getinfo_warning")."\";");
} else {
$getinfo_warning = "";
}
// +++++++ Warning Hack [ g-force2k2 ] +++++++
And then upload this as your new warn.php regards... this should do the trick
g-force2k2