The Arcive of vBulletin Modifications Site. |
|
who is online colors.. Details »»
|
|||||||||||||||||||||||||
Hey ,
I am new here and want to learn how to change the colors of the who is online list on some vbulletin forums i see the modorators in Red and the admins in Blue and sponsers ect... can someone please direct me on how to do this. any the help is appriciated. thax :squareeyed: Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
open online.php
find this: PHP Code:
|
|
#3
|
|||
|
|||
|
cant seem to find it
(if you have enabled the highlightadminfeature, you can just modify the changes to a username here.) how do i do that sorry i am not very expirianced and dont wanna mess the board up |
|
#4
|
|||
|
|||
|
// Let's show the admin the location but put something false up for everyone else..
if ($bbuserinfo[usergroupid] == 6) { $userinfo[location] = htmlspecialchars(stripslashes(replacesession($user info[location]))); $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>"; } else { // We were unable to parse the location $userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";; is that it? |
|
#5
|
||||
|
||||
|
How would you add Supermoderator to that?
Quote:
|
|
#6
|
||||
|
||||
|
dssforum: its around line 627 in an unhacked online.php
boofo: replace PHP Code:
PHP Code:
|
|
#7
|
|||
|
|||
|
ok thankx
|
|
#8
|
|||
|
|||
|
although i have a copy of a 2.2.6 i downloaded from members i never uploaded because dont wanna have board down preety hard to use it heh
|
|
#9
|
||||
|
||||
|
Thanks! But is there a way to have Adin, Super Mods and Modertors in all of that? I guess I should have checked which group was which before I replied to the message. Sorry.
![]() Quote:
|
|
#10
|
||||
|
||||
|
hmm, i think what i told you should be what you want. mods, admins and supermods have their own if-clause so you can give them different colors.
you can easily add other usergroups just ad before the } else { another else if clause
|
![]() |
|
|