The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I am trying to recolor the user online links. For this i need to edit index.php 2 times before this comes in place:
PHP Code:
This is how my forumhome_loggedinuser template looks like now Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" class="$usercolor_class">$username</a>$invisibleuser if these are my styles: .level_1 { COLOR: #666666; } .level_2 { COLOR: #888888; } i would assign "level_1" or "leve_2" to the $usercolor_class variable. It wont change the color at all, no matter what i do. So anyone got an idea what i could be doing wrong? I am sure its something simple, but i cant find the error. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
PHP Code:
|
|
#3
|
|||
|
|||
|
i think there was a hack like this though
|
|
#4
|
|||
|
|||
|
Hi
This is standard in 2.2.1, but this is now what i am looking for. I want to recolor the links, but they DONT accept my recoloring at all. I want to recolor certain levels and the code is celar, but the CSS doesn seem to work. I checked it, my code works, so far, that it gets assigned to the links, but then my CSS doesnt work on those things. I have no clue why, so please, can anyone help me? |
|
#5
|
|||
|
|||
|
well u need a CSS program to do the job for you
|
|
#6
|
|||
|
|||
|
Thanks, but teh solution is much simpler. make a variable for the color, and let it change in the index.php to an hex value you want it to have. Then change the "loggedinuser" template, by packing around the username a <font color="$user_color">username</font> and that will do the trick. Its not the nicest way, but at least one that works
|
|
#7
|
|||
|
|||
|
You might want to check out the hack at https://vborg.vbsupport.ru/showthrea...hreadid=32149, it might help point you in the right direction, if it isn't the solution you need.
Kathi |
|
#8
|
||||
|
||||
|
Thanks Wolf
|
![]() |
|
|