Welcome, Guest. Please Login or Register.
August 29, 2025, 12:52:10 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Color for Admin in "Users Online" « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Color for Admin in "Users Online"  (Read 327 times)
Decaffeinated Jedi
Noobie
*
Posts: 8


I'm a llama!

Color for Admin in "Users Online"
« on: April 16, 2002, 03:14:45 PM »
Reply with quote

Greetings!

I was wondering what file I should edit to change the color of the admin's user name from red in the "users online" area. I've looked around, and just can't find it. Thanks in advance!

DecafJedi
Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:Color for Admin in "Users Online"
« Reply #1 on: April 16, 2002, 03:30:13 PM »
Reply with quote

Open BoardIndex.php and look for the line 251, there you can find all the different membergroups with colours. You can change them with normal color codes.

if ($tmp[1]=="Administrator")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"red\">$tmp[0]</font></a>";
            elseif ($tmp[1]=="Global Moderator")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"blue\">$tmp[0]</font></a>";
            elseif ($tmp[1]=="YaBB SE Developer")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"green\">$tmp[0]</font></a>";
            elseif ($tmp[1]=="Mod Team")
              $tmpusers[] = "<a href=\"$scripturl?action=viewprofile;user=$euser\"><font color=\"orange\">$tmp[0]</font></a>";
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Color for Admin in "Users Online" « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.010 seconds with 19 queries.