Chatbox Ranks

Go down

Chatbox Ranks

Post by Malevolence on August 26th 2013, 8:44 pm

Is there a way to make more than one rank on the Chatbox? They could have all the same power just make different things next to the name? Like I did something on CSS that let me make it like this:

[Mod] Username

Can you make it like this:

[Admin] Username
[Voiced] Username
[Mod] Username, etc.
avatar
Malevolence
Forumember

Male Posts : 97
Reputation : 5
Language : English
Location : No where

http://www.Pokeforumunity.forumotion.com

Back to top Go down

Re: Chatbox Ranks

Post by Ikerepc on August 26th 2013, 10:08 pm

Can you give us that code for [mod]?

And I will see can I do something.
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Re: Chatbox Ranks

Post by Malevolence on August 27th 2013, 12:41 am

#chatbox > p span.user > span strong {
  display: none; 
}
#chatbox > p span.user > span:after {
  content: '[Mod]';
}
avatar
Malevolence
Forumember

Male Posts : 97
Reputation : 5
Language : English
Location : No where

http://www.Pokeforumunity.forumotion.com

Back to top Go down

Re: Chatbox Ranks

Post by Ikerepc on August 27th 2013, 9:52 am

Try to delete that code and put this:

Code:
#chatbox a[href="/u1"] > p span.user > span strong {
  display: none;
}
#chatbox a[href="/u1"] > p span.user > span:after {
  content: '[Admin]';
}
it is only for Admin, founder.

If it work you can use that code, just change [Admin] with mod etc. And a[href="/u1"] with user (like "/u2" etc.).
avatar
Ikerepc
Active Poster

Male Posts : 1150
Reputation : 155
Language : Croatian, HTML, HTML5, CSS, CSS3, jQuery, PHP, SQL, Bascom, Python, C, C++, FBD & LAD for PLC and more... Little English :D
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum