View Full Version : Admin Color in Vbulletin
Behrooz_Ice
01-21-2004, 11:35 AM
hello dear , first excuse me because i can't speak english well . i have one question , in vb 2.3.4 , how to change color admin & Super modaretor & Modaretor name to green or red ?
i want show Admin names green and super modaretor red and modaretor name color blue in my froum for users . if i can change color Admin & Modaretor in bulletin 2.3.4 plz tell me how .
best regards
Behrooz Kamalian
Zachery
01-21-2004, 03:34 PM
hello dear , first excuse me because i can't speak english well . i have one question , in vb 2.3.4 , how to change color admin & Super modaretor & Modaretor name to green or red ?
i want show Admin names green and super modaretor red and modaretor name color blue in my froum for users . if i can change color Admin & Modaretor in bulletin 2.3.4 plz tell me how .
best regards
Behrooz Kamalian
there is a hack try searching, if you really cant find it try posting here again and ill track it down for you:)
Behrooz_Ice
01-21-2004, 04:09 PM
hello dear , i found some topic for this like < colored online user hack > but them was for vb 2.2.x and i cant find code hack for vBulletin 2.3.4 :( plz help me . i'm wating . thanks
Behrooz_Ice
01-21-2004, 04:22 PM
here is my index.php vb 2.3.4 code :
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')."\";");
Zachery
01-21-2004, 04:55 PM
here is my index.php vb 2.3.4 code :
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')."\";");
most hacks that work for 2.2.x will also work for 2.3.4 :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.