His is nice but I needed something that would stand out on any background style as I have many. This mod will stand out on Dark and Light style boards. I've also added the glow to the Who's Online page which is another thing missing from his that I wanted. It will show Admin in Red and ALL moderators (including Super Moderators) the same color because I was lazy to add the different ID's and colors for Super Moderator/Moderator but the color is all that matters right!?
Installation is easy. I'll post screenies below.
Default is Admin color Red"#FF0000", Super Moderator color Blue"#0000FF", Moderator color Green"#009933", and regular members are your standard vB color with no glow.
You can change these colors to match whatever you'd like.
This may require the Glow Mod which takes about 1 minute to install.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I get an error only after editing my forum/index.php.
It refers to line #348 which has this ?>
When I go to ### find: ### I don't get an exact match? this is what I have, and try to replace that causes the error on line# 348.
Quote:
$loggedins=$DB_site->query("SELECT DISTINCT session.userid,username,invisible,usergroupid
FROM session
LEFT JOIN user ON (user.userid=session.userid)
WHERE session.userid>0 AND session.lastactivity>$datecut
ORDER BY invisible ASC, username ASC");
if ($loggedin=$DB_site->fetch_array($loggedins)) {
$numberregistered++;
if ($loggedin['invisible']==0 or $bbuserinfo['usergroupid']==6) {
$numbervisible++;
$userid = $loggedin['userid'];
if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin
$invisibleuser = '*';
} else {
$invisibleuser = '';
}
if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
$username = "<b><i>$loggedin[username]</i></b>";
} else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
$username = "<b>$loggedin[username]</b>";
} else {
$username = $loggedin['username'];
}
eval("\$activeusers = \"".gettemplate('forumhome_loggedinuser')."\";" );
}
while ($loggedin=$DB_site->fetch_array($loggedins)) {
$numberregistered++;
$invisibleuser = '';
if ($loggedin['invisible']==1 and $bbuserinfo['usergroupid']!=6) {
continue;
}
$numbervisible++;
$userid=$loggedin['userid'];
if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin
$invisibleuser = '*';
}
if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
$username = "<b><i>$loggedin[username]</i></b>";
} else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
$username = "<b>$loggedin[username]</b>";
} else {
$username = $loggedin['username'];
}
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";") ;
}
}
$DB_site->free_result($loggedins);
Wow! This is EXACTLY what I was in search of! As an administrator, I want my username in posts to glow (which shouldn't be hard at all). Finding a Who's Online glowing hack would be the hard part, but you saved me here.