admin (no pm's please) Site Admin

 Virtual Cash: 34850
Joined: 22 May 2005 Posts: 21275
Add Karma
 rated by 138 members
Add Comment
Show Comments
 |
Posted: Sun Dec 02, 2007 12:20 pm Post subject: 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.
_________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |
Manz Craftsman

Virtual Cash: 1230
Joined: 27 Dec 2006 Posts: 290
Add Karma
 rated by 3 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 34850
Joined: 22 May 2005 Posts: 21275
Add Karma
 rated by 138 members
Add Comment
Show Comments
 |
Posted: Sun Dec 02, 2007 8:18 pm Post subject: |
|
|
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. _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |
Lavathing9 Craftsman

 Virtual Cash: 580
Joined: 02 Sep 2006 Posts: 420 Location: Around Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
Posted: Mon Dec 03, 2007 11:00 pm Post subject: |
|
|
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.
Naruto RP Center: http://narutorpcenter.com |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 34850
Joined: 22 May 2005 Posts: 21275
Add Karma
 rated by 138 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 24560
Joined: 04 Sep 2005 Posts: 12108 Location: Hampshire,England Add Karma
 rated by 80 members
Add Comment
Show Comments
 |
Posted: Wed Dec 05, 2007 12:37 pm Post subject: |
|
|
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 _________________

XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 34850
Joined: 22 May 2005 Posts: 21275
Add Karma
 rated by 138 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 24560
Joined: 04 Sep 2005 Posts: 12108 Location: Hampshire,England Add Karma
 rated by 80 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 34850
Joined: 22 May 2005 Posts: 21275
Add Karma
 rated by 138 members
Add Comment
Show Comments
 |
Posted: Wed Dec 05, 2007 2:53 pm Post subject: |
|
|
It is quite trivial, piddling about with other things at the minute though, and nothing ends up trivial when you do it when distracted! _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 34850
Joined: 22 May 2005 Posts: 21275
Add Karma
 rated by 138 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 24560
Joined: 04 Sep 2005 Posts: 12108 Location: Hampshire,England Add Karma
 rated by 80 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Sukisue Craftsman

 Virtual Cash: 10
Joined: 10 Aug 2006 Posts: 264 Location: Ireland Add Karma
 rated by 1 members
Add Comment
Show Comments
 |
Posted: Thu Dec 06, 2007 2:13 pm Post subject: |
|
|
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. _________________

Digital Lounge |
|
| Back to top |
|
 |