View Full Version : Forum Home Enhancements - Usergroup Color Bar Legend
Atakan KOC
12-22-2007, 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.
Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=165980) - Nominate for MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=165980&type=1)
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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=165980) - Nominate for MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=165980&type=1)
TvPano (http://www.tvpano.com/) - Yabancı Dizi (http://www.tvpano.com/yabanci-dizi/) - Yerli Dizi (http://www.tvpano.com/yerli-dizi/) - Anime (http://www.tvpano.com/anime/)
Atakan KOC
12-23-2007, 05:51 PM
Reserved.
Versions:
v1.0 - Initial vB 3.7 version.
kaptanblack
12-23-2007, 05:57 PM
Thanks
yahoooh
12-23-2007, 08:11 PM
thanks
Snake
12-23-2007, 08:48 PM
I remember this hack when I used to run on IPB which was pretty much useful for me. I can't believe it's been done for vBulletin as well, finally! :D
Thanks a lot for the release!
SwollenCranium
12-23-2007, 11:26 PM
Would have been nice to have an explanation of how to define colors and usergroups in this thing.
Also.. why does yours look different than the installed version I get ?
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
hocphp
12-24-2007, 12:21 AM
if admincp may be change color with group's color then bester.
thanks
if admincp may be change color with group's color then bester.
thanks
/signed
Surviver
12-24-2007, 11:39 AM
With this Hack you can sort the usergroups too:
https://vborg.vbsupport.ru/showthread.php?t=131945
Should work for 3.7
parash
12-26-2007, 10:46 PM
is there anyone which work upto 3.6.8
newtsys
12-27-2007, 12:20 AM
parash im using in 3.6.8 and works fine .
loonytune15
12-27-2007, 12:50 AM
I have specific colors for each skin as colors dont look right when you change between dark and light styles...
Will this do that?
newtsys
12-27-2007, 01:25 AM
the colors are assigned when you made your user groups. if you have admin in red then it will be red. If you have Mods in blue then it will be blue etc.
briansol
12-27-2007, 02:49 AM
this should be changed i think.
$activeusers = '<b>'.$activeusers2 .'</b><br /><br />'. $activeusers;
hardcoding the bold tag around what could be ANYTHING user-entered in the ACP could lead to very bad xhtml.
ZenithRS
12-27-2007, 04:21 AM
<font color="#FF0000"><b> and </font></a></b> for Administrators to show as RED
:eek:
Where'd the </a> come from?
And the tag nesting is messy... try <font color="#FF0000"><b> and </b></font>
And better still use <span style="color:#FF0000; font-weight:bold;"> and </span>
loonytune15
12-27-2007, 04:41 AM
the colors are assigned when you made your user groups. if you have admin in red then it will be red. If you have Mods in blue then it will be blue etc.
Then this hack is not for me. I have all of mine style specific..
parash
12-28-2007, 01:20 AM
Would have been nice to have an explanation of how to define colors and usergroups in this thing.
Also.. why does yours look different than the installed version I get ?
http://i18.photobucket.com/albums/b150/Goddamn_prick/whu.jpg
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
Exact right one this is exact thing which will help out....my problem done
Atakan KOC
01-04-2008, 05:11 AM
My Admin Markup
Start Tag
<span style="color: #FF0000;" title="Administrator">
End Tag
</span>
st1905
01-06-2008, 10:48 AM
Thank you
sp0okz
01-06-2008, 11:52 AM
The bar locates it self to the left of the page and doesnt center its self..
FENIX
02-04-2008, 11:49 AM
Nevermind, I was being stupid :)
rolandogomez
02-17-2008, 07:36 AM
this should be changed i think.
$activeusers = '<b>'.$activeusers2 .'</b><br /><br />'. $activeusers;
hardcoding the bold tag around what could be ANYTHING user-entered in the ACP could lead to very bad xhtml.
What do you change it to? thanks, rg.
Pamela
03-04-2008, 07:31 PM
*clicks installed*
Works perfectly on Beta 5! Thanks!!! :)
haytham
03-07-2008, 04:07 PM
messed up my page. Look at pic.
Inferno Dragon
03-09-2008, 08:19 AM
just intalled on vb 3.7 beta 6, working fine :) thanks for the addon!
Holfy.com
03-13-2008, 01:37 AM
Installed and works fine on Beta 6
MR-2ZZ
03-31-2008, 01:05 AM
Is there anyway I can take the line break out of it so there isn't all that wasted space?
EmmaB
03-31-2008, 11:11 AM
Is there any way I can make it look like it does is the 3.6 version?
StormLily
04-11-2008, 05:12 PM
I don't think this mod works with the portal. As soon as I installed the portal, this mod just disappeared from my forum page. :(
Chewy954
04-11-2008, 10:32 PM
Doesnt work with user groups I've added on :x
I made a root usergroup and 2 more, only the default ones work =[
bennac40
04-16-2008, 12:46 PM
before installing this mod which seems very interesting... How can I change the colors of the usergroups?
netcommander
04-20-2008, 09:49 AM
hello i've installed but i've got a one question how can I change fontsize i'll use small fontsize in forumhome
GrendelKhan{TSU
04-21-2008, 09:39 PM
yay! been waiting for th update. THX!
pericolosogr
04-27-2008, 06:00 PM
registered users bar appears in black while i have this by default with blue...
can anybody fix this...or support this mod?
thanx
DarkGizmo
04-29-2008, 11:45 PM
Is there any way to get it to be displayed BELOW the currently online users?
JasonH
04-30-2008, 01:29 AM
I love this, now our new members will notice who the administrators are.
kienjakenobi
04-30-2008, 02:43 AM
Thank you very much for this small, but very convenient add-on. It is running perfectly on my 3.7.0 board.
dt_truck11
04-30-2008, 03:13 PM
ive been lookin for somtin like this for awhile as it worked nice on our phpbb board
installed
Mrdby
05-02-2008, 02:21 AM
CAN WE CHANGE THE LOCATION? colors? and add more usernames?
ArLinD
05-02-2008, 09:11 AM
I installed in 3.7 but all the usergroups are red and I've edited their colors...
Can anybody help me?
ArLinD
05-03-2008, 01:02 PM
Help me guys!
hsv z clubbie
05-06-2008, 09:04 AM
Just installed in 3.7.0 and edited the colours and working fine !!! :up::up:
@ http://www.6litre.com
INSTALLED :D
Amiga Harrison
05-06-2008, 09:14 AM
Thanks for this. I had been using a different mod with vB3.6 that did a similar thing but after upgrading to 3.7 it broke. I'm glad this has been released to fill the gap.
I still don't understand why membership group legends are not a standard feature in vB yet. They are included as standard in other forums such as phpbb3. Very strange.
BTW, is there a way to have the legend appear under the currently online user names, rather than above it? Would you consider adding an option in the mods admin controls to select the location of the legend bar?
odln018
05-08-2008, 12:29 PM
Installed. Thanks!
1Turk
05-08-2008, 12:46 PM
thanks..
Trickle
05-14-2008, 01:07 AM
Installed and some what works for me.
Its enabled and I've adjusted the colors accordingly and it works when you look at the bottom of the forum.php. Who's the admin and mods etc each have thier own colors now. But when you actually look at the different forum posts the colors do not change?
I do notice at the bottom where it works if you hover over the members name the url shows up as http://www.(url).com/member.php?u=(number)
BUT
when hovering over a category post of the same members name the url that does NOT work is http://www.(url).com/member.php?find=lasposter&f=(number)
Any ideas?
Thanks
jilly
05-17-2008, 01:05 AM
This only shows the four basic usergroups, it doesn't show any of my custom usergroups - can it be enabled to show the color code of all custom usergroups too?
GateKeper
05-17-2008, 01:40 AM
Add the user id number of your custom user groups, in the User Group Order Style
This only shows the four basic usergroups, it doesn't show any of my custom usergroups - can it be enabled to show the color code of all custom usergroups too?
estatiktik
05-20-2008, 01:05 PM
is there anyway to delete the legends?...thanks
nene94
05-21-2008, 06:31 PM
thanks
KanmaiseR
05-23-2008, 05:00 PM
Thanks dostum, installed :)
carbide
05-26-2008, 04:31 PM
Thanks Installed
cillianok
05-30-2008, 01:44 PM
Does it change colours in postbit?
SimonVlc
06-17-2008, 09:12 AM
Great mod ;).
Just one question. I have the usergroup titles translated (Administrador x Administrator) but in this mod shows the untranslated string from all of them.
Can I do something to solve it? Thanks in advance, Simon!
srkrocks
06-18-2008, 07:00 PM
Marked as Installed..
Thanks!
munnakv
06-22-2008, 02:31 PM
Installed.
Cant see the colors in Firefox 2.0.0.14.
Let me check in IE tomorrow.
Thanks for it.
aramiK89
06-29-2008, 10:37 AM
Hey, just need to check - once this is added it won't give birth to the security token error?
Has the line of code been added so that it works with the security token feature?
Just been having a lot of issues with this + mods
Thanks!
Eurofighter
06-30-2008, 05:19 PM
thanks
*installed*
maidos
06-30-2008, 10:01 PM
this mod will remove moderators feature completely like moving threads, close etc.
mystic10
08-13-2008, 02:55 AM
its not showing up on my custom skin anyway to make it manual so i can place it plz help
BlackLord2008
08-15-2008, 07:11 AM
Hey, it works for me, Make sure you edit each users HTML Markup ;)
jackey666
08-16-2008, 05:25 PM
Here's my PHP version:
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.
shotkey
08-19-2008, 04:07 PM
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 ]
fatal1980
08-23-2008, 07:59 PM
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.
SSJB_7
08-24-2008, 11:28 PM
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!
OTForums
08-29-2008, 03:58 PM
Thankyou, I have added this to my forums.
Stryker412
08-29-2008, 04:56 PM
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?
Einjeher
09-03-2008, 03:49 PM
working fine for me
KillerStefan
09-19-2008, 02:13 PM
Installed.
HemoOo Nana
09-21-2008, 06:03 PM
thanks
bymetinay
09-21-2008, 08:57 PM
thanks
demo : www.turkayildiz.com
jmurrayhead
09-29-2008, 11:26 PM
Would be cool to be able to display this under Who's Online, too :up:
Linos-1
11-27-2008, 09:33 PM
Thanks
NikosN
12-02-2008, 10:19 AM
Thank you!
MTGDarkness
02-11-2009, 06:18 PM
Say I want to move it from above the users who are online at the moment to below that list... How would I do that?
Howell
02-11-2009, 08:54 PM
Would be cool to be able to display this under Who's Online, too :up:
Say I want to move it from above the users who are online at the moment to below that list... How would I do that?
I did this to my 3.8 version but it will also work for this version too. :up:
https://vborg.vbsupport.ru/showpost.php?p=1726533&postcount=28
MTGDarkness
02-12-2009, 05:13 PM
Thanks. :D
chuckrobbie
04-26-2009, 10:38 AM
I installed it but it is not showing any colours! how do I edit it to show colours?
I have a dark skin
soundbarrierpro
03-08-2010, 11:25 AM
*Installed
Thank you for this.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.