![]() |
who is online colors..
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: |
open online.php
find this: PHP Code:
|
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 |
// 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? |
How would you add Supermoderator to that?
Quote:
|
dssforum: its around line 627 in an unhacked online.php
boofo: replace PHP Code:
PHP Code:
|
ok thankx
|
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
|
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:
|
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 :) |
All times are GMT. The time now is 08:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|