Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Usergroup Color Bar Legend Details »
Usergroup Color Bar Legend
Mod Version: 2.11, by Atakan KOC (Coder) Atakan KOC is offline
Developer Last Online: Jan 2017 I like it Show Printable Version Email this Page

vB Version: 4.1.2 Rating: (110 votes - 4.67 average) Installs: 1469
Released: 22 Nov 2009 Last Update: 09 Mar 2011 Downloads: 9007
Not Supported Uses Plugins Auto-Template Re-usable Code Translations  

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vB4 Forums_1258904889707.png
Views:	13871
Size:	18.6 KB
ID:	106553  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements Usergroup Color Bar Legend Atakan KOC vBulletin 3.8 Add-ons 106 13 Jun 2018 15:48
Forum Home Enhancements Usergroup Color Bar Legend Atakan KOC vBulletin 3.7 Add-ons 78 08 Mar 2010 13:25
Forum Home Enhancements Usergroup Color Table Legend pollutioN vBulletin 3.8 Template Modifications 1 28 Jan 2009 11:22
Forum Home Enhancements Usergroup Color Bar (Legend Bar) Atakan KOC vBulletin 3.6 Add-ons 59 05 Nov 2008 06:40

  #181  
Old 23 Feb 2011, 14:54
rhorman rhorman is offline
 
Join Date: Oct 2008
Originally Posted by fxwoody View Post
Boofo our savior!
Tks my friend, works A1

@matrixmark

remove the dot (in red) from this line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Actually, this is what should be there to make it look correct:

Replace the red dot with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And no space at the beginning of the code, but only one space after.

Originally Posted by AshMagic View Post
Where is the forumhome_complete hook?
And the forumhome_complete hook is located inside the product-ugcb.xml file. Use a program like Notepad ++ to open the file.
__________________
-Ryan
Respawn Gaming - Co-Founder
Battle Me // Follow Me // Stalk Me

Last edited by rhorman; 23 Feb 2011 at 15:12.
Reply With Quote
  #182  
Old 23 Feb 2011, 20:25
Robbed Robbed is offline
 
Join Date: Oct 2005
You can just go to plugin manager and find the usergroup color bar and edit the code.

Last edited by Robbed; 23 Feb 2011 at 20:33.
Reply With Quote
  #183  
Old 24 Feb 2011, 00:52
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by emath View Post
thanks, works..

dont expect too many donation for editing one line
I don't expect any, to be honest. And it has not failed me yet.

Last edited by Boofo; 24 Feb 2011 at 03:15.
Reply With Quote
  #184  
Old 24 Feb 2011, 03:00
venom2124's Avatar
venom2124 venom2124 is offline
 
Join Date: Feb 2009
So glad to have this back.
Reply With Quote
  #185  
Old 24 Feb 2011, 05:49
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Usergroup Color Bar Legend vBulletin 4.1.2

Usergroup Color Bar Legend
vBulletin 4.1.2

1) Download Product

2) Edit xml file: This Worked for me.

Originally Posted by rhorman View Post
And the forumhome_complete hook is located inside the product-ugcb.xml file. Use a program like Notepad ++ to open the file.
Change to:

[QUOTE=Boofo;2165739]This will fix it to work on 4.1.2 like it did before. Replace the code in the forumhome_complete hook with the following:

3)Replace the code
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Install

4) Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-ugcb.xml' from your computer then press 'Import'

5) Usergroup Color Bar Setting

Go to your admin cp, then:
vBulletin Options -> Usergroup Color Bar ->

6)Now to Add some colour...or whatever you would like...

Originally Posted by garretbyrne View Post
For colours assigned to your usergroup.. go into VB Admin - Usergroups - Usergroups Manager.. Once in here select the usergroup and click edit.

Once in here look for "Username HTML Markup" in the first box on the left put in "<span style="color: Red;">" and the second box on the right put in "</span>" in the first box with Red, change that to what ever colour you wish and save, now your usergroups have colour assigned to them, enjoy..
Can I include this or that?

Username HTML Markup
The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Some HTML tags you might want to use here include:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example 1

First box


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Second box


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Example 2

First box


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Second box


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can also do combination's by using more than one attribute in the style property:

7) Have Fun and Thanks!

Cheers,
Mr_Running
Reply With Quote
  #186  
Old 24 Feb 2011, 06:41
evildon's Avatar
evildon evildon is offline
 
Join Date: Dec 2009
Real name: vinu
Can you guys please update it for working with latest 4.1.2

Thanks
Reply With Quote
  #187  
Old 24 Feb 2011, 06:56
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Look at the code right above your post and replace that and it is fixed.
Reply With Quote
  #188  
Old 24 Feb 2011, 08:07
Jackie1 Jackie1 is offline
 
Join Date: Sep 2007
my product feature:
fix with 4.1.2
count user in group
check it out
Attached Files
File Type: xml product-ugcb.xml (2.5 KB, 28 views)
Reply With Quote
  #189  
Old 24 Feb 2011, 10:06
d2gaming d2gaming is offline
 
Join Date: Nov 2010
Originally Posted by Jackie1 View Post
my product feature:
fix with 4.1.2
count user in group
check it out
Awesome, thank you for that fix. Is there a way to take of the counter next
to the usergroup name?
Reply With Quote
  #190  
Old 24 Feb 2011, 10:30
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Go to your AdminCP->Plugins and Products dropdown->Plugin Manager (NOT where you Install the product) ->Usergroup Color Bar -> Edit

Replace the code with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #191  
Old 24 Feb 2011, 11:18
AshMagic AshMagic is offline
 
Join Date: Nov 2008
Works great. Thanks!! Exactly what I needed.
Reply With Quote
  #192  
Old 24 Feb 2011, 14:24
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Excellent. Now all I need to do is figure out how to move the legend bar to below the active users.
__________________
Reply With Quote
  #193  
Old 24 Feb 2011, 16:17
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Nope, in my opinion.... the only change that should be made is to be given more space between the color bar and the list of connected users because the are very close and this is not the best when viewing the WGO section.

Thank you, Boofo for your contribution! Really appreciate that!

''Michael''
Reply With Quote
  #194  
Old 24 Feb 2011, 18:53
Jazzinto Jazzinto is offline
 
Join Date: Mar 2007
Originally Posted by Boofo View Post
This will fix it to work on 4.1.2 like it did before. Replace the code in the forumhome_complete hook with the following:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


I expect to see lots of Boofo donations for this.



Thanks. It works perfectly, I really like this mod.
Reply With Quote
  #195  
Old 24 Feb 2011, 18:57
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Originally Posted by FractalizeR View Post
To make style adjustments just surround $activeusers2 with necessary HTML code. To make it centered try this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To change the placement... It would be a little difficult, but you can open whosonlinebit template and look for some suitable variable there. And then change $activemembers into this variable name in the code of the plugin.
$activeusers2 appears 3 times in the mod's script. Should I apply the html code you provided in all the $activeusers2 words or in a spesific one?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 23:41.

Layout Options | Width: Wide Color: