Quote:
Originally posted by Tha Rock
How can I make it so usergroup 8 on my board is in bold and italics too?
|
To use it with usergroup 8 as well, then use the following Replace Code instead of the one from the instructions file
Around line 697
Find the code:
PHP Code:
if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] != $forumuser['userid']) {
$userid = $forumuser['userid'];
$username = $forumuser['username'];
Replace With:
PHP Code:
// -=-=-=-=-=-=-=-=-=-=-=- Bold Mods & Admin on Forum Display -=-=-=-=-=-=-=-=-=-=-=-
if ($forumuser['usergroupid'] == 6) {
$username = "<b><i>$forumuser[username]</i></b>";
} elseif ($forumuser['usergroupid'] == 8) {
$username = "<b><i>$forumuser[username]</i></b>";
} elseif ($forumuser['usergroupid'] == 7) {
$username = "<b>$forumuser[username]</b>";
} elseif ($forumuser['usergroupid'] == 5) {
$username = "<b><u>$forumuser[username]</u></b>";
} else {
$username = $forumuser[username];
}
// -=-=-=-=-=-=-=-=-=-=-=- Bold Mods & Admin on Forum Display -=-=-=-=-=-=-=-=-=-=-=-
I've set the formatting of Usergroup 8 to Bold and Italic as requested, but can be changed to whatever you want
Use this for both replacement sets.
HTH
Hwulex