Version: 2.11, by Atakan KOC
Developer Last Online: Mar 2023
Category: Forum Home Enhancements -
Version: 4.1.2
Rating:
Released: 11-21-2009
Last Update: 03-08-2011
Installs: 1472
Uses Plugins Auto-Templates
Re-useable Code Translations
No support by the author.
Usergroup Color Bar Legend
This hack shows the user group tags under the name of the active users. This is an easy but usefull for you to determine the order of the groups. install
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-ugcb.xml' from your computer then press 'Import'
Modifications Info
Plugin : 1 Phrases : 5 Template : 0 Setting : 2 Usergroup Color Bar Setting
Go to your admin cp, then:
vBulletin Options -> Usergroup Color Bar ->
Go into Settings >> Options >> Usergroup Color Bar
Remove the usergroup ID#
that should take it off the display
As you can see, I have fake usergroups 33 and 44, they don't show, but dots replace'em
Removing 33 and 44 will remove the extra dots
So you can just remove the ID that you don't want to display
Heres a screenshot of the usergroup manager and you will see to the right, it shows the group ID for each one
Yup, got it. Thanks.
Since I already removed the user group, though, I looked at the IDs on the User Group Color Bar settings and looked for the ID that wasn't on the User Group Manager and removed that one from the User Group Color Bar settings.
Installed but disabled until one thing is hopefully worked out. I have enough groups to cause a line break in the line and the line break splits the usergroup name in half (it has two words). A possible solution is to make the font text smaller so they all fit on one line or somehow changing the spacing between usergroups so the group that's on both lines is pushed to the second line only. If that's the way to fix it then also the starting point on the second line should be moved a bit to the right.
I installed this mod and it looks good but I wanted the ability to display the color legend from any page without having to change the template for each page so I added a link to the nav bar to allow a visitor to display the color legend on demand as a popup on any page.
The legend is being displayed via the standard_error message box in a small php file that the link calls. Because I don't plan on changing the color assignments I simply hard coded the colors in the popup message via font markups in the php file. This eliminates having to retrieve the color values each time the popup is displayed.
Here's the php code:
PHP Code:
<?php
define('THIS_SCRIPT', 'color_legend');
require_once('./global.php');
eval(standard_error('<center>Our user accounts are color coded to help identify their category. The colors are as follows:<br><br><font color=red>? Administrators</font> <font color=yellow> ? Super Moderators</font> <font color=purple> ? Moderators</font> <font color=green> ? Registered Users</font></center> '));