Back to vBulletin 4 Articles

Usersgroups Legend For Each Style
by Merjawy 16 Jul 2012
Rating: (1 vote - 5.00 average)

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:

<span class="Admin"

In 2nd box:

PHP Code:

</span

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:

.Admin {
    
color#FF4400;
}

.
SMod {
    
color#22229C;
}

.
Mod {
    
color#738FBF;
}

.
Registred {
     
colorblack;
}

.
Awaiting_Confirmation {
      
colorpurple;
}

.
Guest {
       
colorblack;

Use the above titles or use your own as long they match what you put in the usergroups settings in step 1

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.
Attached Thumbnails
Click image for larger version
Name:	usergroupcolor1.png
Views:	219
Size:	37.1 KB
ID:	139849   Click image for larger version
Name:	usergroupcolor2.jpg
Views:	266
Size:	37.9 KB
ID:	139850  

vblts.ru supports vBulletin®, 2022-2024