MyBB Community Forums
[How To?] Usergroup Color in header? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Usergroup Color in header? (/thread-185792.html)



Usergroup Color in header? - SolarCrane - 2015-10-28

The title probably made no sense, however in my header I am trying to edit the welcome block. What I need help with is getting the username to show up in the correct usergroup color, so right now it's "Welcome back, SolarCrane." however I would like SolarCrane to be in my groups color. Is there a certain template ID or something I could use to accomplish this?

Thanks. Big Grin


RE: Usergroup Color in header? - Sazze - 2015-10-28

A core edit is required.


RE: Usergroup Color in header? - SolarCrane - 2015-10-28

Would you happen to know how to do that?


RE: Usergroup Color in header? - SvePu - 2015-10-28

I've built a very simple plugin for this. You can use it if you like. Wink

.php   welcomeback_groupstyle.php (Size: 1.1 KB / Downloads: 109)

EDIT: Attachment updated!