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
  #122  
Old 02-16-2011, 01:14 AM
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.1.2 breaks this. With the product enabled, users names and the userbar no longer show. If I disable the product, their names will reappear.

Worked up until 4.1.1 without a hitch
Reply With Quote
  #123  
Old 02-16-2011, 08:43 AM
BaanFarsang's Avatar
BaanFarsang BaanFarsang is offline
 
Join Date: Jan 2010
Location: Thailand
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

User Legend Color Bar disappear after VB4.1.2 updated
Reply With Quote
  #124  
Old 02-16-2011, 09:54 AM
Hall of Famer Hall of Famer is offline
 
Join Date: Apr 2009
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this is not compatible with VB4.1.2, sadly.
Reply With Quote
  #125  
Old 02-16-2011, 11:41 AM
Mrquarter2 Mrquarter2 is offline
 
Join Date: Nov 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully it gets updated soon
Reply With Quote
  #126  
Old 02-16-2011, 12:55 PM
washingtonboise washingtonboise is offline
 
Join Date: Mar 2009
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The method of defining HTML markup for user name shown in this thread is somewhat incomplete.

More powerful text formatting is possible if you define a style in your CSS style sheet and then reference it.

A short video explains the steps involved:
http://www.youtube.com/watch?v=1XJlNYQ1Q9A

There are two locations where you will define values:

1: Style sheet values
Styles & Templates > Style Manager > Edit Templates > CSS Templates > Additional.CSS

2: Username HTML Markup values
usergroups>usergroup manager>

To make this idiotproof, I am providing my own values below.

Username HTML MARKUP (for my 'admin' usergroup)
first input box <span class="admin">
Second box </span>


My CSS Stylesheet values:

Code:
.admin {
font-family: Microsoft Sans Serif;
font-size: 20px; color: red;
text-shadow: rgb(255, 0, 0) 0px 0px 4px, rgb(255, 255, 255) 2px 1px 0px, rgb(255, 0, 0) 0px 0px 12px;" }

.moderator {
font-family: Impact;
font-size: 15px;
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(255, 255, 0) 0px 0px 3px;" }

.supermod {
color: rgb(0, 0, 218);
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(0, 0, 0) 0px 0px 9px;" }

.lv1 {
font-family: Fixedsys;
font-size: 10px;
color: rgb(0, 0, 0); text-shadow: rgb(0, 0, 0) 0px 0px 5px;" }

.lv2 {
font-family: system;
font-size: 11px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px;" }

.lv3 {
font-family: Microsoft Sans Serif;
font-size: 15px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px;" }

.lv4 {
font-family: Microsoft Sans Serif; font-size: 17px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 4px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 5px;" }

.lv5 {
font-family: Microsoft Sans Serif; font-size: 20px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(0, 12, 244) 0px 0px 3px, rgb(0, 12, 244) 0px 0px 4px;" }
Reply With Quote
  #127  
Old 02-16-2011, 04:21 PM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does that work across all the forums where names appear? or just in the legend? Looks like it would affect everything everywhere. (which is a good thing, don't get me wrong)
Reply With Quote
  #128  
Old 02-16-2011, 04:37 PM
Crotan's Avatar
Crotan Crotan is offline
 
Join Date: Feb 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by washingtonboise View Post
The method of defining HTML markup for user name shown in this thread is somewhat incomplete.

More powerful text formatting is possible if you define a style in your CSS style sheet and then reference it.

A short video explains the steps involved:
http://www.youtube.com/watch?v=1XJlNYQ1Q9A

There are two locations where you will define values:

1: Style sheet values
Styles & Templates > Style Manager > Edit Templates > CSS Templates > Additional.CSS

2: Username HTML Markup values
usergroups>usergroup manager>

To make this idiotproof, I am providing my own values below.

Username HTML MARKUP (for my 'admin' usergroup)
first input box <span class="admin">
Second box </span>


My CSS Stylesheet values:

Code:
.admin {
font-family: Microsoft Sans Serif;
font-size: 20px; color: red;
text-shadow: rgb(255, 0, 0) 0px 0px 4px, rgb(255, 255, 255) 2px 1px 0px, rgb(255, 0, 0) 0px 0px 12px;" }

.moderator {
font-family: Impact;
font-size: 15px;
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(255, 255, 0) 0px 0px 3px;" }

.supermod {
color: rgb(0, 0, 218);
text-shadow: rgb(255, 255, 0) 0px 0px 1px, rgb(0, 0, 0) 0px 0px 9px;" }

.lv1 {
font-family: Fixedsys;
font-size: 10px;
color: rgb(0, 0, 0); text-shadow: rgb(0, 0, 0) 0px 0px 5px;" }

.lv2 {
font-family: system;
font-size: 11px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px;" }

.lv3 {
font-family: Microsoft Sans Serif;
font-size: 15px;
color: rgb(64, 64, 64); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px;" }

.lv4 {
font-family: Microsoft Sans Serif; font-size: 17px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 4px, rgb(0, 0, 0) 0px 0px 2px, rgb(255, 255, 0) 0px 0px 5px;" }

.lv5 {
font-family: Microsoft Sans Serif; font-size: 20px; color: rgb(147, 147, 147); text-shadow: rgb(0, 0, 0) 0px 0px 3px, rgb(0, 0, 0) 0px 0px 2px, rgb(0, 12, 244) 0px 0px 3px, rgb(0, 12, 244) 0px 0px 4px;" }
Thanks for this, and i guess we can do better color patterns/effects with this method but sadly it doesn't fix the actual user legend being broken after 1.1.2
Reply With Quote
  #129  
Old 02-16-2011, 07:02 PM
matrixmark matrixmark is offline
 
Join Date: Dec 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am glad others are having problems with this not working on the latest update

I thought I might have done something to break it lol.

Guess we just have to wait and hope it it gets updated.
Reply With Quote
  #130  
Old 02-16-2011, 07:40 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What was changed in the latest update to break this? It might be nice to know before we upgrade.
Reply With Quote
  #131  
Old 02-16-2011, 08:14 PM
bpi007 bpi007 is offline
 
Join Date: Oct 2010
Location: Belgium
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
What was changed in the latest update to break this? It might be nice to know before we upgrade.
They changed in FORUMHOME template

Code:
{vb:raw activeusers}
with

Code:
<vb:each from="activeusers" value="loggedin">
	<li> {vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}</li>
</vb:each>
More information here
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 04:30 AM.


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.05472 seconds
  • Memory Usage 2,361KB
  • 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
  • (4)bbcode_code
  • (2)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
  • (2)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
  • (3)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