Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Usergroup Color Bar Legend Details »»
Usergroup Color Bar Legend
Version: 2.11, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

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 ->

Versions:
v1.0 - Initial vB 3.7 version.
v2.0 - Initial vB 4.0 version.
v2.1 - Fixed.
v2.1.1 - Bug Fixed.

Download Now

File Type: xml product-ugcb.xml (2.3 KB, 5671 views)
File Type: xml product-ugcb-211.xml (2.4 KB, 4681 views)

Screenshots

File Type: png vB4 Forums_1258904889707.png (18.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
alcazarx, car20, CarpCharacin, KorvinGump, mapleleaffans, misericorde, morpheus28, Spika

Comments
  #352  
Old 08-05-2012, 04:49 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy View Post
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
How do I know which ID goes to what?
Reply With Quote
  #353  
Old 08-05-2012, 06:13 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
How do I know which ID goes to what?
Go into USERGROUPS>USERGROUP MANAGER and you will see the group id for each group on the right side of the screen
Reply With Quote
  #354  
Old 08-05-2012, 07:29 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heres a screenshot of the usergroup manager and you will see to the right, it shows the group ID for each one
Attached Images
File Type: jpg 2012-08-05_1627.jpg (83.7 KB, 0 views)
Reply With Quote
  #355  
Old 08-05-2012, 10:08 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy View Post
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.
Reply With Quote
  #356  
Old 08-05-2012, 10:33 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome
Reply With Quote
  #357  
Old 08-05-2012, 11:36 PM
mathforum mathforum is offline
 
Join Date: Nov 2005
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Any ideas?
Reply With Quote
  #358  
Old 08-05-2012, 11:48 PM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Almost sounds like a resolution problem...
Reply With Quote
  #359  
Old 08-06-2012, 12:06 AM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or you can limit your usergroups titles to few charetars!!
ex: instead of Administraros use Admin
Reply With Quote
  #360  
Old 08-07-2012, 01:52 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>&nbsp;&nbsp;<font color=yellow> ? Super Moderators</font>&nbsp;&nbsp;<font color=purple> ? Moderators</font>&nbsp;&nbsp;<font color=green> ? Registered Users</font></center> '));

?>
Attached Images
File Type: gif color_legend_1.gif (18.5 KB, 0 views)
File Type: png color_legend_1.png (64.7 KB, 0 views)
Reply With Quote
  #361  
Old 08-12-2012, 09:38 AM
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useless.

Some of our usergroups are 'black-bold', some of them are 'black-normal'.

This plugin shows everything as bold.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06409 seconds
  • Memory Usage 2,356KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete