myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


Changing rank colors/style in the online user list.

 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements!
View previous topic :: View next topic  
Author Message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34980

Joined: 22 May 2005
Posts: 21288

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Dec 02, 2007 12:20 pm    Post subject: Changing rank colors/style in the online user list. Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website
Manz
Craftsman
Craftsman

Virtual Cash: 1230

Joined: 27 Dec 2006
Posts: 290

Add Karma

rated by 3 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Dec 02, 2007 8:04 pm    Post subject: Reply with quote

Wow this allows us to change the colors  of members with extra features, thanks so much for adding this Admin    
_________________
http://prisonbreak.myfreeforum.org
http://prisonbreakforum.co.uk

www.prisonbreakforum.co.uk
Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34980

Joined: 22 May 2005
Posts: 21288

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Dec 02, 2007 8:18 pm    Post subject: Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website
Lavathing9
Craftsman
Craftsman

Virtual Cash: 580

Joined: 02 Sep 2006
Posts: 420
Location: Around
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 03, 2007 11:00 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website MSN Messenger
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34980

Joined: 22 May 2005
Posts: 21288

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 03, 2007 11:21 pm    Post subject: Reply with quote

No problem
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 24610

Joined: 04 Sep 2005
Posts: 12113
Location: Hampshire,England
Add Karma

rated by 80 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Dec 05, 2007 12:37 pm    Post subject: Reply with quote

the basic key guide of

Code:
[ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {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
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34980

Joined: 22 May 2005
Posts: 21288

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Dec 05, 2007 2:37 pm    Post subject: Reply with quote

This is something I need to fix.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 24610

Joined: 04 Sep 2005
Posts: 12113
Location: Hampshire,England
Add Karma

rated by 80 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Dec 05, 2007 2:44 pm    Post subject: Reply with quote

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.
_________________

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34980

Joined: 22 May 2005
Posts: 21288

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Dec 05, 2007 2:53 pm    Post subject: Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 34980

Joined: 22 May 2005
Posts: 21288

Add Karma

rated by 138 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Dec 05, 2007 3:55 pm    Post subject: Reply with quote

class is now applied to the key.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 24610

Joined: 04 Sep 2005
Posts: 12113
Location: Hampshire,England
Add Karma

rated by 80 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Dec 05, 2007 4:13 pm    Post subject: Reply with quote

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
_________________

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
Sukisue
Craftsman
Craftsman

Virtual Cash: 10

Joined: 10 Aug 2006
Posts: 264
Location: Ireland
Add Karma

rated by 1 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Dec 06, 2007 2:13 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements! All times are GMT + 1 Hour
Page 1 of 1
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum