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

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

Category: Forum Home Enhancements - Version: 3.7.0 Beta 3 Rating:
Released: 12-22-2007 Last Update: Never Installs: 766
Uses Plugins Template Edits Auto-Templates
 
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.

Mark as Installed - Nominate for MOTM

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.

Mark as Installed - Nominate for MOTM

TvPano - Yabancı Dizi - Yerli Dizi - Anime

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 08-15-2008, 07:11 AM
BlackLord2008 BlackLord2008 is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, it works for me, Make sure you edit each users HTML Markup
Reply With Quote
  #63  
Old 08-16-2008, 05:25 PM
jackey666 jackey666 is offline
 
Join Date: Apr 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's my PHP version:
PHP Code:
if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<div class="smallfont"><b>' $vbphrase[legend] . ':</b> ';
$userbuls split(','$vbulletin->options['sirala']);
$isnotfirst 0;
foreach(
$userbuls AS $userbul) {
if (
$isnotfirst)
$activeusers2 .= '• ';
$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . ' ' $vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
$isnotfirst 1;
}
$activeusers ''.$activeusers2 .'<br /><br />'$activeusers;

The modifications removes the bullet from the first element, add a "Legend" title, and remove the default BOLD from all the groups. "$legend" phrase need to be created.

See the attached images for a screenshot.
Reply With Quote
  #64  
Old 08-19-2008, 04:07 PM
shotkey shotkey is offline
 
Join Date: Jul 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Colors work fine - but when I enable this hack it adds a second legend bar (shown below). When I disable it the legend and users are shown correctly. Anyone have any ideas on what's causing this?

With hack enabled:
Most users ever online was X, Today at 12:01 AM.

[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]
? Administrators ? Super Moderators ? Moderators ? Registered Users

admin

Legend:
[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]

With hack disabled

Most users ever online was x, Today at 12:02 AM.

Legend:
[ Administrators ] [ Super Moderators ] [ Moderators ] [ Registered Users ]
Reply With Quote
  #65  
Old 08-23-2008, 07:59 PM
fatal1980 fatal1980 is offline
 
Join Date: Jul 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a suggestion, I've installed this mod on many sites. Each time I've had to have two AdminCP's open so I could remember what each Usergroup's number is. It would be great to have some sort of preview option as well as a list of Usergroups and their number.

Cheers.
Reply With Quote
  #66  
Old 08-24-2008, 11:28 PM
SSJB_7 SSJB_7 is offline
 
Join Date: Jul 2008
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks it's working fine but i don't know how to make it working with the last member.
if you can help me it would be just fine!
Reply With Quote
  #67  
Old 08-29-2008, 03:58 PM
OTForums OTForums is offline
 
Join Date: Aug 2008
Location: United Kingdom
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankyou, I have added this to my forums.
Reply With Quote
  #68  
Old 08-29-2008, 04:56 PM
Stryker412 Stryker412 is offline
 
Join Date: May 2005
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loonytune15 View Post
I have specific colors for each skin as colors dont look right when you change between dark and light styles...

Will this do that?
How do you do this?
Reply With Quote
  #69  
Old 09-03-2008, 03:49 PM
Einjeher Einjeher is offline
 
Join Date: Sep 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working fine for me
Reply With Quote
  #70  
Old 09-19-2008, 02:13 PM
KillerStefan KillerStefan is offline
 
Join Date: Sep 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.
Reply With Quote
  #71  
Old 09-21-2008, 06:03 PM
HemoOo Nana HemoOo Nana is offline
 
Join Date: Sep 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
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 01:14 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.05284 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete