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
  #302  
Old 12-09-2011, 08:15 AM
hiepsi@ hiepsi@ is offline
 
Join Date: Mar 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you !
4.1.7 working . OK
Reply With Quote
  #303  
Old 12-11-2011, 08:42 PM
ruger's Avatar
ruger ruger is offline
 
Join Date: Sep 2004
Location: Texas
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on my 4.1.8
Reply With Quote
  #304  
Old 12-16-2011, 09:49 PM
insidegames insidegames is offline
 
Join Date: Jun 2010
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chrisngrod View Post
Code:
{vb:raw template_hook.forumhome_wgo_pos2}
Find this in forumhome template and move it where you want it.
Thx now it looks like great

http://forum.insidegames.ch
Reply With Quote
  #305  
Old 12-19-2011, 04:53 AM
Beatrix Kiddo Beatrix Kiddo is offline
 
Join Date: Oct 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working on 4.1.9 but with bugs. The bar displays twice and it kills the Whose Online display..

I LOVE this hack...can we please get an updated version that works with 4.1.9???
Reply With Quote
  #306  
Old 12-20-2011, 08:26 AM
ruger's Avatar
ruger ruger is offline
 
Join Date: Sep 2004
Location: Texas
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beatrix Kiddo View Post
Working on 4.1.9 but with bugs. The bar displays twice and it kills the Whose Online display..

I LOVE this hack...can we please get an updated version that works with 4.1.9???
I have upgraded to 4.1.9 since my last post and its working fine.
Reply With Quote
  #307  
Old 12-23-2011, 07:32 PM
Beatrix Kiddo Beatrix Kiddo is offline
 
Join Date: Oct 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried it again, fresh install..Still same problem. As you can see in the image the color bar displays twice and eliminates any user name that is online from showing up (Disables whose online display)

Any suggestions?
Attached Images
File Type: jpg ucb.jpg (46.2 KB, 0 views)
Reply With Quote
  #308  
Old 12-23-2011, 07:59 PM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beatrix Kiddo View Post
I tried it again, fresh install..Still same problem. As you can see in the image the color bar displays twice and eliminates any user name that is online from showing up (Disables whose online display)

Any suggestions?
Goto your forumshome_complete in the hooks location and try this code, it works for me on 4.1.9

Code:
if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
    $activeusers2 = '';
    $userbuls = split(',', $vbulletin->options['sirala']);

    foreach($userbuls AS $userbul)
    {
        $activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . ' ? ' . $vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'] . ' ';
    }
    $vbphrase['most_users_ever_online_was_x_y_at_z'] .= '<p><b>'.$activeusers2.'</b></p>';
}
Reply With Quote
  #309  
Old 12-23-2011, 08:09 PM
Beatrix Kiddo Beatrix Kiddo is offline
 
Join Date: Oct 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alibass View Post
forumshome_complete in the hooks location
Thank you for the suggestion, but I'm just not familiar enough with the guts of vb yet to have any idea where that is. I tried a search for forumshome_complete and drew a blank. Could you give a little more detail please?
Reply With Quote
  #310  
Old 12-23-2011, 08:15 PM
Beatrix Kiddo Beatrix Kiddo is offline
 
Join Date: Oct 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo just linked me to an alternate product that works...Can't get this version going..Thanks to all...
Reply With Quote
  #311  
Old 12-23-2011, 08:20 PM
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Posts: 615
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Beatrix Kiddo View Post
Thank you for the suggestion, but I'm just not familiar enough with the guts of vb yet to have any idea where that is. I tried a search for forumshome_complete and drew a blank. Could you give a little more detail please?
In your admincp goto plugins and products /plugin manager and scroll down to you see Usergroup Color Bar and click edit to edit foumhome_complete. Save the original code and try my code, if it works fine if not you can put the orig back.
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 12:07 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.08376 seconds
  • Memory Usage 2,351KB
  • 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
  • (2)bbcode_code
  • (5)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
  • (4)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