Simon Moon
01-05-2002, 04:05 AM
I am trying to recolor the user online links. For this i need to edit index.php 2 times before this comes in place:
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";");
I make the coloring depending on status. The higher rank you have, the stronger is your color. Anyways, thats not my problem at all. The real bummer is, that i cant seem to change the links color. I wanted to define an CSS style in the head part, for each of the levels, and then assign the CSS to the links.
This is how my forumhome_loggedinuser template looks like now
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid"
class="$usercolor_class">$username</a>$invisibleuser
now in the code in index.php i define $usercolor_class to be the name of the class.
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.
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";");
I make the coloring depending on status. The higher rank you have, the stronger is your color. Anyways, thats not my problem at all. The real bummer is, that i cant seem to change the links color. I wanted to define an CSS style in the head part, for each of the levels, and then assign the CSS to the links.
This is how my forumhome_loggedinuser template looks like now
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid"
class="$usercolor_class">$username</a>$invisibleuser
now in the code in index.php i define $usercolor_class to be the name of the class.
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.