bonmac...
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] == 5 OR $bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 7 OR $bbuserinfo[usergroupid] == 8) {
$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] == 5 OR $bbuserinfo[usergroupid] == 6 OR $bbuserinfo[usergroupid] == 7 OR $bbuserinfo[usergroupid] == 8) AND ($userinfo[warninglvl] > 0)) {
eval("\$getinfo_warning = \"".gettemplate("getinfo_warning")."\";");
} else {
$getinfo_warning = "";
}
// +++++++ Warning Hack [ g-force2k2 ] +++++++
last but not least upload the new warn.php in replacement of the older one... (attached below)
hopefull that'll do the trick bonmac

regards and enjoy...
g-force2k2