change username color in chatbox

Go down

Solved change username color in chatbox

Post by Goppyrules on May 21st 2017, 7:45 am

does anyone know the code to change someone's username different from a group color for phpbb 2 forums?


Last edited by Goppyrules on May 21st 2017, 8:30 am; edited 1 time in total

Goppyrules
Forumember

Posts : 125
Reputation : 2
Language : english

Back to top Go down

Solved Re: change username color in chatbox

Post by Legionheart on May 21st 2017, 8:18 am

@Goppyrules just to make sure you are asking for a code that turns someone's name a different color than their usergroup in the chatbox right?
avatar
Legionheart
Forumember

Male Posts : 689
Reputation : 104
Language : English & Ecclesiastical Latin
Location : San Venganza

http://www.darknessflameacademy.com/

Back to top Go down

Solved Re: change username color in chatbox

Post by Goppyrules on May 21st 2017, 8:24 am

@Legionheart wrote:@Goppyrules just to make sure you are asking for a code that turns someone's name a different color than their usergroup in the chatbox right?

yes that is correct

Goppyrules
Forumember

Posts : 125
Reputation : 2
Language : english

Back to top Go down

Solved Re: change username color in chatbox

Post by Legionheart on May 21st 2017, 8:28 am

Okay then perhaps this code can help you with that.
Code:
[href="/u#"], span[data-user="#"]{ color: #?????? }
Place this in your CSS Stylesheet. You need to change the first two # signs to the user's registration number. Then you need to change the six ? marks to the hex color you want their name to be.
avatar
Legionheart
Forumember

Male Posts : 689
Reputation : 104
Language : English & Ecclesiastical Latin
Location : San Venganza

http://www.darknessflameacademy.com/

Back to top Go down

Solved Re: change username color in chatbox

Post by Goppyrules on May 21st 2017, 8:30 am

@Legionheart wrote:Okay then perhaps this code can help you with that.
Code:
[href="/u#"], span[data-user="#"]{ color: #?????? }
Place this in your CSS Stylesheet. You need to change the first two # signs to the user's registration number. Then you need to change the six ? marks to the hex color you want their name to be.

thanks man! problem solved.

Goppyrules
Forumember

Posts : 125
Reputation : 2
Language : english

Back to top Go down

Solved Re: change username color in chatbox

Post by APE on May 21st 2017, 11:52 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules



avatar
APE
Administrator
Administrator

Male Posts : 12501
Reputation : 1310
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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