![]() |
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" 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. |
PHP Code:
|
i think there was a hack like this though
|
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? |
well u need a CSS program to do the job for you
|
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 :)
|
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 |
Thanks Wolf :)
|
All times are GMT. The time now is 03:23 PM. |
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:
|