admin (no pm's please)
|
Changing rank colors/style in the online user list.If you look at Admin/ranks you will see each rank has an associated CSS style, this is further enhanced by a class of "rankadmin" or "rankmod".
Thus is the online users list on the index page, you will get for a user something like:
<span class="rank1 rankadmin">admin</span>
and can add css to suit. So for example on this forum for a day or two you can see admin is on an ego trip with:
.rankadmin{
font-size:14px;
}
in the css.
|
Manz
|
Wow this allows us to change the colors of members with extra features, thanks so much for adding this Admin
|
admin (no pm's please)
|
I see you are playing already. Note that a "key" should probably be added manually after [ {L_WHOSONLINE_MOD} ] in index_body.tpl. It could be mangled in automatically, but I think it is more flexible to let people add what they want themselves. For example you may not want all ranks to show differently, so would not want a key for them.
|
Lavathing9
|
Sorry for not noticing this in the other topic I made
It is taking a bit of time to get back into the swing of things here.
|
admin (no pm's please)
|
No problem
|
Symon
|
the basic key guide of
| Code: | | [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ] |
Is still controlled via styles management so if you give a mod a rank of say mod then the key guide shows wrong, is this a simple case of editing the key or is there a .css to override.
I have tried .rankmod in .css but it did not change it.
http://testhtml.myfastforum.org
|
admin (no pm's please)
|
This is something I need to fix.
|
Symon
|
Ok well i have done a walkthough in case people need it
http://howtodoit.myfreeforum.org/...component=content&topicid=718
Admin on the walkthough i have given a couple of ways around the problem, until you have time to fix it.
|
admin (no pm's please)
|
It is quite trivial, piddling about with other things at the minute though, and nothing ends up trivial when you do it when distracted!
|
admin (no pm's please)
|
class is now applied to the key.
|
Symon
|
| admin (no pm's please) wrote: | | class is now applied to the key. |
That was fast work ok guide updated.
http://howtodoit.myfreeforum.org/...component=content&topicid=718
|
Sukisue
|
Nice addition. I just added it.
http://digitallounge.myfastforum.org
I didn't follow the Howtodoit exactly though - messed around with it a bit myself.
|
|
|