K3ExeThanks for your support. I will provide the solution to all users from your permission below.
So, if you would like to make the color of fonts from Admin's or Moderator's messages different from the other messages (default fonts) like K3Exe requested, you have to do the following:
1) Edit your forum's CSS file (default is
bb_default_style.css), adding the following new class below of it:
.adminText{
color:#00C0FF;
}
(there you specify the color itself)
2) Edit
bb_plugins.php. If there is no
parseMessage function coming with add-ons, add it:
function parseMessage(){
}
if there's already such function, don't add it twice.
Add before the closing
} and/or before the possible
'return' statement of that function the following code:
if($GLOBALS['poster_id']==1 or checkModerator($GLOBALS['mods'], $GLOBALS['poster_id'])) $GLOBALS['adminText']=' adminText'; else $GLOBALS['adminText']='';
3) Edit
templates/main_posts_cell.html. Locate the following code:
<div class="postedText">
extend it to the following:
<div class="postedText{$adminText}">
4) That's all!