I use the following code to display the groups showthread.php {$usergroup['title']}
How can I earn and color?
I didn't get it, you want to change the colour and style of some groups username right? if you want to do that, just go admin cp -> user & groups -> groups -> select the group you want to change -> edit Username Style
can you elaborate your requirement ..
Group: {$usergroup['title']}
Color?!??!?!?!
"Yes" - that would be the answer as detailed as your "elaborated" question.
But if I understand correctly, you want to colorize $usergroup['title'] variable. Wherever it is defined (definitely not in the default showthread.php), wrap it with the format_name() function:
https://github.com/mybb/mybb/blob/featur....php#L2993