Usersgroups Legend For Each Style
1 Attachment(s)
There are few mods for that, but this one is different
This mod will allow you to change the usergroups colors based on each style, so if you use more than one style, the colors might not look right on some styles. Inspired by a user's request and Matthew Gordon. Thanks Matthew Install instructions: Step 1 Edit each usergroup and use it's title (use whatever title you prefer) In the Username HTML Markup 1st box: PHP Code:
In 2nd box: PHP Code:
Repeat the steps for each usergroup using the title for the usergroup. Step 2 Edit additional.css template and add this code to it (this is just an example) PHP Code:
Use any color you like to wrok with your styles and you can use the hex code of the lable I used both in this example. Change the colors for each style as you see fit. |
Thanks for this.
|
Enjoy and thanks
|
VERY BAD CSS VARIABLES... sorry but learn a little css before posting something like that.
|
Thanks
|
Moved to articles, this is really a "how to".
As vbenhancer mentions, those css class names are bad, dont use dots, use underscores. I would probably shorten them somewhat as well. |
Thanks Paul... I updated the code
|
very nice and simple
|
Thanks
|
All times are GMT. The time now is 11:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|