PDA

View Full Version : Forum Home Enhancements - Usergroup Color Bar Legend


Atakan KOC
10-27-2008, 10:00 PM
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 3.8 version.

Atakan KOC
10-28-2008, 04:56 PM
Reserved.

YsTyle
10-28-2008, 07:45 PM
thanks, installed :)

NemoTech
10-31-2008, 08:48 PM
Installed it but how do I set the color for each usergroup. Right now they all are black.

sherwood
11-01-2008, 12:59 PM
thank for the update mate

Slayerz
11-04-2008, 05:54 PM
Installed it but how do I set the color for each usergroup. Right now they all are black.

I had same problem.
You have to go inside usergroup and add color tags.

jammiedodger546
11-05-2008, 05:35 PM
Cheers working great here!

jammiedodger546
11-05-2008, 05:38 PM
Oooh got 1 question - how can I put it under the usernames that are online?

Medtech
11-05-2008, 11:54 PM
Been waiting for this one... Thanks!! Installed

bond010007
11-06-2008, 03:25 AM
thanks man i love it so much installed ;)

Mickkeh
11-06-2008, 02:44 PM
Nice addon.

albibak
11-08-2008, 06:02 AM
Thanks :)
You can find here (http://forum.vbulletin-fr.org/modifications.php?do=showmod&modid=599) a french translation and in attachement.

Kapeket
11-19-2008, 03:55 AM
I have one custom group that is not appearing in the legend. The members are colored but the legend does not list that user group.

// Read the manual//

mauisun
11-27-2008, 04:19 PM
worked great bro. highlights the colors of admins and mods in my shoutbox and highlights their member names in regular posts on the board too. nice hack. marked as installed.

TheLastSuperman
12-01-2008, 01:40 PM
Perfect! Thanks :D 3.6.8

davida500
12-22-2008, 01:02 PM
How/ where do you add these colour tags?

I dont mean to sound dumb lol ;)

Vaupell
01-04-2009, 10:04 PM
How/ where do you add these colour tags?

I dont mean to sound dumb lol ;)

haha yeah agree. tryed to install but uninstalled.
just made everything bold and black :P



EDIT!!!!!!!!!---- DOH i just read the tool tip in the html markup thingy in usergroups.. lol..
here is a copy of what it says

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:

[opening tag]username[closing tag]

Some HTML tags you might want to use here include:

<span style="font-weight: bold;">username</span> = username
<span style="font-style: italic;">username</span> = username
<span style="text-decoration: underline;">username</span> = username
<span style="color: red;">username</span> = username
<span style="font: 20px verdana;">username</span> = username

You can also do combinations by using more than one attribute in the style property:

<span style="font: 20px verdana; color: red;">username</span> = username

meaning start in the left box end in the right :p

-=Leb=-
01-08-2009, 04:54 PM
Changed vb from 3.7 to 3.8 and thx for the update

steve1966
01-08-2009, 05:28 PM
thanks

Trek
01-08-2009, 09:08 PM
Works great, thanks much!

carntheroos4eva
01-09-2009, 08:48 PM
Thanks for that.

It's going to look great on my forum:up:

HolyKiller
01-10-2009, 06:26 PM
3.8 and all OK.

But maybe a option "Show the legend: TOP or BOTTOM" of the Who Is Online will be perfect.

I mean something like a phpBB. Legends UNDER the online-users list.

THX in advance

Holy

lostguy
01-11-2009, 02:42 AM
Good as always :)

Trek
01-11-2009, 03:15 AM
I created a plugin based on this that adds support in for vBA, you can find it here (https://vborg.vbsupport.ru/showthread.php?t=201385).

Nightmare-GameZ
01-27-2009, 06:35 AM
I have a question. Well some sort of a request anyways. Can this be moved below the online list? It should look like this.

WishBone*, BlaCkCaTzZ, DocWizard, James, Jramx, lisaur, milo, tianox1991, topzki, Tribalist

? Administrator ? Co-Administrator ? Forum Administrator ? Super Moderators ? Moderators ? Head Game Masters ? Game Masters ? Trial Game Masters ? Police ? Helpers ? VIP ? Member

Howell
01-27-2009, 09:27 PM
3.8 and all OK.

But maybe a option "Show the legend: TOP or BOTTOM" of the Who Is Online will be perfect.

I mean something like a phpBB. Legends UNDER the online-users list.

THX in advance

Holy

I have a question. Well some sort of a request anyways. Can this be moved below the online list? It should look like this.

I did this by changing this mods plugin

Go to > AdminCP > Plugin & Products > Plugin Manager > Product : Usergroup Color Bar > Usergroups color bar > Edit > Plugin PHP Code

And replace ALL with the following...

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '• '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = $activeusers .'<br />'. $activeusers2;
}Mine now looks like this.....
https://vborg.vbsupport.ru/external/2010/01/21.jpg

boatswife
01-27-2009, 11:32 PM
Thank you Howell! That looks better. :up:

Gunshot
01-28-2009, 01:31 AM
excellent

now what if you want it centered?

Howell
01-28-2009, 06:48 AM
excellent

now what if you want it centered?

What would you like to be centered?

You could always wrap the <center> </center> tags around the part you want centered.

tahanan
01-28-2009, 01:43 PM
I did this by changing this mods plugin

Go to > AdminCP > Plugin & Products > Plugin Manager > Product : Usergroup Color Bar > Usergroups color bar > Edit > Plugin PHP Code

And replace ALL with the following...

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '? '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = $activeusers .'<br />'. $activeusers2;
}Mine now looks like this.....
https://vborg.vbsupport.ru/external/2010/01/21.jpg


Thanks, I also like this layout especially because i also use bold and non-bold style using same color. See http://english-coffee.com/forum.php

BlackJacket
02-05-2009, 02:18 PM
*installs with a bottle of Pepsi in hand... Simple"

:)

AnthonyLC
02-05-2009, 03:47 PM
Thanks thumbs up to you been looking for this :)

putergirl
02-15-2009, 08:22 PM
installed.. thanks

Myago
02-16-2009, 03:14 AM
Thanks, installed ;)

THE__DRIFTER
02-17-2009, 07:09 PM
Ok, I must be a complete beginner.... I cannot for the life of me figure out what or how to change this to show colors.

Howell
02-17-2009, 08:14 PM
Ok, I must be a complete beginner.... I cannot for the life of me figure out what or how to change this to show colors.

Do you have colors specified for each of your Usergroups??

If not then you need to set it in the field 'Username HTML Markup'

Have a quick read of the vBulletin's documentation. ;)

http://www.vbulletin.com/docs/html/usergroup_add

A quick example...

opening field (left box) - <span style="color: green;">
closing field (right box) - </span>

This would set a members username of that Usergroup to show as green. :)

THE__DRIFTER
02-17-2009, 09:27 PM
No, I did not. Finally found where to do it thanks! :up:

taspan
02-19-2009, 02:54 PM
Hi is there a way to add link to show userlist by usergroup.

ErrorLog
02-22-2009, 12:43 PM
Very nice thanks , installing ...

EricThrower
02-22-2009, 05:11 PM
Thanks! Installed.

iyama
02-23-2009, 12:20 PM
Works good on 3.8.1 Thnx coder :)

trilogy33
02-23-2009, 12:40 PM
Again all fine here on 3.8.1. Many thanks :)

GeorgeB85
02-23-2009, 01:53 PM
Works great, thanks!

Christian911
02-24-2009, 09:26 AM
thanks great job - mark as installed

GeorgeB85
02-25-2009, 02:32 AM
This is working great. Thanks

khawaji
02-25-2009, 03:00 AM
thanks i was looking for it

mradlin
02-28-2009, 07:00 PM
Is there a way to include the today's birthdays and forum statistics at the bottom also?

bryanb
03-04-2009, 02:16 PM
good to go on my site :D Thanks!

alfieuk
03-23-2009, 03:23 AM
Do you have colors specified for each of your Usergroups??

If not then you need to set it in the field 'Username HTML Markup'

Have a quick read of the vBulletin's documentation. ;)

http://www.vbulletin.com/docs/html/usergroup_add

A quick example...

opening field (left box) - <span style="color: green;">
closing field (right box) - </span>

This would set a members username of that Usergroup to show as green. :)
Thanks for that! :up:

Cees
03-24-2009, 08:21 PM
Works great.

Just a question. Im searching for a piece that if you click on a usergroup, a list appears with everybody in that group. (a beginning coder :o)

darknusens
03-30-2009, 09:27 PM
I'm facing a problem. A lot of colors are not detected in the legend like for example dark blue, Why is that and what colors can I choose?

mrtroybaker
03-30-2009, 09:45 PM
I did this by changing this mods plugin

Go to > AdminCP > Plugin & Products > Plugin Manager > Product : Usergroup Color Bar > Usergroups color bar > Edit > Plugin PHP Code

And replace ALL with the following...

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '? '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = $activeusers .'<br />'. $activeusers2;
}Mine now looks like this.....
https://vborg.vbsupport.ru/external/2010/01/21.jpg


Thank you. Worked Great!!!

duditas
04-01-2009, 02:33 AM
Thank you so much :)

Dollarsign
04-16-2009, 10:37 PM
installed and working as expected :D

nomoreturn
04-17-2009, 02:03 AM
thanks installed and works good

darknusens
04-17-2009, 04:57 PM
I'm facing a problem. A lot of colors are not detected in the legend like for example dark blue, Why is that and what colors can I choose?

Bump

Smitty
04-17-2009, 05:47 PM
I don't know what the scoop is, but I manually moved mine to under the list of users online and that solved issues I had with certain font attributes not working. I hadn't thought much about the fonts aspects, because it was 'close', but I didn't like the location. After I moved it I noticed all the user groups showed up as they should with the correct font attributes (colors, bold, italics, etc.) that I have set for each user group.

marshal_ramdev
04-17-2009, 06:35 PM
thanks ..

trickfly
04-17-2009, 08:22 PM
didn't work on my forum:

www.symbiangalaxy.org

please help!

Cees
04-18-2009, 05:22 AM
didn't work on my forum:

www.symbiangalaxy.org

please help!
I looked on youre site an i dont see it. What is exact youre problem??

trickfly
04-18-2009, 05:36 PM
Once installed, the usergroup description part dosent show on the who's online section at the bottom, can anyone help ?

www.symbiangalaxy.org

Thanks

FernandoFG
04-23-2009, 06:59 AM
I'm facing a problem. A lot of colors are not detected in the legend like for example dark blue, Why is that and what colors can I choose?

Re-Bump!

ouch
04-23-2009, 12:43 PM
Nice mod, works a treat.....thankyou.

chuckrobbie
04-26-2009, 10:47 AM
I see that many people are asking for help here and none given!
Oh dear, I really wanted a mod like this...guess uninstall is the key!

WHNChris
04-26-2009, 05:12 PM
I have just added this to my forums and it is in perfect working order :). Thank you for this modification.

Regards,
Chris.

hinomaru
05-02-2009, 02:25 AM
thx for this mod...it's working

solidstate
05-02-2009, 01:14 PM
cool just installed.

trickfly
05-02-2009, 07:38 PM
Once installed, the usergroup description part dosent show on the who's online section at the bottom, can anyone help ?

www.symbiangalaxy.org

Thanks

Please can someone help!!

tspaetten
05-04-2009, 11:55 AM
This is not working the bar is just black now. I think there is a bug somewhere. :confused:

trickfly
05-08-2009, 12:23 AM
worked look here : www.symbiangalaxy.org

kakers
05-10-2009, 12:25 PM
Why it don't shows users in bold ? I have edited user markup in bold it shows like another users, not in bold..

hinomaru
05-11-2009, 09:28 AM
Why it don't shows users in bold ? I have edited user markup in bold it shows like another users, not in bold..

try use format like this example :

<span style="font-weight: bold;"><span style="color: red;"> </span></span>

ShadowStalker
06-14-2009, 12:56 AM
I did this by changing this mods plugin

Go to > AdminCP > Plugin & Products > Plugin Manager > Product : Usergroup Color Bar > Usergroups color bar > Edit > Plugin PHP Code

And replace ALL with the following...

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '? '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = $activeusers .'<br />'. $activeusers2;
}Mine now looks like this.....
https://vborg.vbsupport.ru/external/2010/01/21.jpg

Thanks for posting the code to switch that. Makes a huge difference.

Bro_Joey_Gowdy
06-14-2009, 02:44 AM
Nice... downloaded and installed. Can this be modified to show atleast one mod & admin online at all times (even if they are not online) ? I've setup a bot user that auto monitors my boards... wanted to show it online at all times. :)

idoL1
06-16-2009, 08:44 AM
is there anyway to put the color legend under the active users online instead of above them?

theforumplace
06-20-2009, 11:15 PM
Installed.

Thanks

Merjawy
06-21-2009, 01:46 AM
installed,,, thanks

Mrs.Winters
07-20-2009, 03:11 PM
Tiny request for help. I've installed this and don't know what to do to get a custom usergroup to appear. I have all my usergroups colored, but the custom one does not appear in the legend. :confused:

NitroMan
07-24-2009, 05:14 PM
i haved the same problem with this
it don't show custom usergroup


PS...
For all that dont know you can use the HTML Hexadecimal Colors codes to get the color you want
example #660033 is a dark plum color
#00004A is a dark blue

here is a good color chart HTML Hexadecimal Colors chart (http://geneticvital.wordpress.com/2007/12/03/html-hexadecimal-colors-chart/)

NitroMan
07-24-2009, 05:44 PM
is there anyway to put the color legend under the active users online instead of above them?

try this is will do what you want

I did this by changing this mods plugin

Go to > AdminCP > Plugin & Products > Plugin Manager > Product : Usergroup Color Bar > Usergroups color bar > Edit > Plugin PHP Code

And replace ALL with the following...

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '? '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = $activeusers .'<br />'. $activeusers2;
}Mine now looks like this.....
https://vborg.vbsupport.ru/external/2010/01/21.jpg

NTT
08-06-2009, 06:17 AM
How to show number user in the group ? example :
Administrators(1) Super Moderators(3) Moderators(4 ) ,....

VinnyS
08-17-2009, 10:43 PM
Hi
From another user I found out how to change the color to make this mod work!

You adjust colors for each user group via AdminCP> Usergroup Manager and adjust the HTML colors in the section titled Username HTML Markup

Such as:

<font color="#FF0000"><b> and </font></a></b> for Administrators to show as RED

not sure why the owner of this mod left this out of the instructions?

Verionia
08-18-2009, 08:00 PM
Thanks!!

betts02
08-18-2009, 10:42 PM
clicked installed and great mod many thanks.

also thanks for the following to show colours and how to do it.

Do you have colors specified for each of your Usergroups??

If not then you need to set it in the field 'Username HTML Markup'

Have a quick read of the vBulletin's documentation. ;)

http://www.vbulletin.com/docs/html/usergroup_add

A quick example...

opening field (left box) - <span style="color: green;">
closing field (right box) - </span>

This would set a members username of that Usergroup to show as green. :)

stevetank
08-19-2009, 11:39 PM
Very nice mod,

Thanks very much.

kalisekj
08-23-2009, 02:37 AM
Wooot! Installed! Thank you! No More Me answering what does this color mean. :))

n00bl3t
08-27-2009, 06:49 PM
Works great but I have 2 questions and am not sure if they were answered but it would be great to get this answered:


How do you move the legend below the user names instead of having it above?
How would you make the font of the legend bar smaller, so I can fit more user groups in 1 row.


Thanks for the answers!

Bansheebob
08-28-2009, 01:56 PM
installed and moderators and supporting members are still showing up as default blue?

Bansheebob
08-28-2009, 02:00 PM
nevermind, changed primary usergroup and works like a charm thx

Oceanside
09-03-2009, 06:19 AM
Installed and pleased with it so far.

We've been searching for an easy-to-use / easy-to-edit tool that displays a membership color key. This should work nicely now and in the future.

Thanks! :)

:up:

shinng
10-25-2009, 04:38 PM
Installed and special thanks to VinnyS for the tips on changing the username color.

final kaoss
11-01-2009, 11:26 PM
It works great except where it shows "newest member".

karel1985
01-02-2010, 12:36 PM
Does this mod still works under vb4?
Any port planned?

Thanks

Trek
01-02-2010, 06:50 PM
Does this mod still works under vb4?
Any port planned?

Thanks

It was already ported, check the 4.0 Mods.

niadene
01-17-2010, 11:31 PM
i put the id 19 but not showing...

https://vborg.vbsupport.ru/external/2010/01/70.jpg

Rideharder
01-19-2010, 08:10 AM
Hi
From another user I found out how to change the color to make this mod work!

You adjust colors for each user group via AdminCP> Usergroup Manager and adjust the HTML colors in the section titled Username HTML Markup

Such as:

<font color="#FF0000"><b> and </font></a></b> for Administrators to show as RED

not sure why the owner of this mod left this out of the instructions?


Thanks big hep!

Fivestones
01-21-2010, 05:27 PM
its great thanks,,,

oldfan
01-27-2010, 04:11 PM
Thanks dude, but for some reason is showing this

? Administrators ? Super Moderators ? Moderators ? Registered Users ? Banned Users ? Supporters , MSNBot, Yahoo! Slurp(2), Google

I did this by changing this mods plugin

Go to > AdminCP > Plugin & Products > Plugin Manager > Product : Usergroup Color Bar > Usergroups color bar > Edit > Plugin PHP Code

And replace ALL with the following...

if (THIS_SCRIPT == "index" and $vbulletin->options['ugcb_onoff'])
{
$activeusers2 .= '<br />';
$userbuls = split(',', $vbulletin->options['sirala']);
foreach($userbuls AS $userbul) {

$activeusers2 .= $vbulletin->usergroupcache["$userbul"]['opentag'] . '? '.$vbulletin->usergroupcache["$userbul"]['title'] . $vbulletin->usergroupcache["$userbul"]['closetag'].' ';
}
$activeusers = $activeusers .'<br />'. $activeusers2;
}Mine now looks like this.....
https://vborg.vbsupport.ru/attachment.php?attachmentid=93562&stc=1&d=1233098793

MagicThemeParks
04-15-2010, 11:05 AM
Works great! :up:

Used this post (https://vborg.vbsupport.ru/showpost.php?p=1701773&postcount=19) for tips on the color/bold for the font. And, this post (https://vborg.vbsupport.ru/showpost.php?p=1726533&postcount=28) for moving of the legend underneath the usernames displayed.

Arrogant-One
09-26-2010, 11:23 AM
Thanks dude, but for some reason is showing this

? Administrators ? Super Moderators ? Moderators ? Registered Users ? Banned Users ? Supporters , MSNBot, Yahoo! Slurp(2), Google

I would like to know, if you activate spiders from vBulletin Options so Spiders show in the Whose Online area, is there a way to apply the colour legend to them? Right now Spiders are showing up in ordinary text, and are not in the legend. :(

It would be great if that could be fixed.

pigpog
02-18-2011, 09:52 PM
Perfect thank you!

M.C.
04-18-2011, 07:17 PM
don't work on 3.8.6 :( just no post at all

Scyther
06-19-2011, 08:15 AM
i like this mod.
marked installed

ZemantiX
10-13-2011, 08:03 PM
This is my first mod, ever, and my first post in here.

It works perfect (3.8.7) - thank you very much!

TeamIHPK
06-06-2018, 05:35 PM
Does not work on 3.8.11 anything I can do to make it work?

MarkFL
06-06-2018, 06:06 PM
Does not work on 3.8.11 anything I can do to make it work?

I have one that should work for vB 3.8.11 here:

Usergroup Legend with Links To FAQ (https://vborg.vbsupport.ru/showthread.php?t=321231)

TeamIHPK
06-13-2018, 12:48 PM
I have one that should work for vB 3.8.11 here:

Usergroup Legend with Links To FAQ (https://vborg.vbsupport.ru/showthread.php?t=321231)

Thanks man!

senche
10-07-2020, 10:54 PM
thanks