PDA

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


Atakan KOC
23 Dec 2007, 18:50
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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=165980) - Nominate for MOTM (http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=165980) - Nominate for MOTM (http://www.vbulletin.org/forum/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
23 Dec 2007, 18:51
Reserved.

Versions:
v1.0 - Initial vB 3.7 version.

kaptanblack
23 Dec 2007, 18:57
Thanks

yahoooh
23 Dec 2007, 21:11
thanks

Snake
23 Dec 2007, 21:48
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
24 Dec 2007, 00:26
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
24 Dec 2007, 01:21
if admincp may be change color with group's color then bester.
thanks

cosy
24 Dec 2007, 12:21
if admincp may be change color with group's color then bester.
thanks

/signed

Surviver
24 Dec 2007, 12:39
With this Hack you can sort the usergroups too:

http://www.vbulletin.org/forum/showthread.php?t=131945

Should work for 3.7

parash
26 Dec 2007, 23:46
is there anyone which work upto 3.6.8

newtsys
27 Dec 2007, 01:20
parash im using in 3.6.8 and works fine .

loonytune15
27 Dec 2007, 01:50
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
27 Dec 2007, 02:25
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
27 Dec 2007, 03:49
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
27 Dec 2007, 05:21
<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
27 Dec 2007, 05:41
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
28 Dec 2007, 02:20
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
04 Jan 2008, 06:11
My Admin Markup

Start Tag
<span style="color: #FF0000;" title="Administrator">

End Tag
</span>

st1905
06 Jan 2008, 11:48
Thank you

sp0okz
06 Jan 2008, 12:52
The bar locates it self to the left of the page and doesnt center its self..

FENIX
04 Feb 2008, 12:49
Nevermind, I was being stupid :)

rolandogomez
17 Feb 2008, 08:36
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
04 Mar 2008, 20:31
*clicks installed*

Works perfectly on Beta 5! Thanks!!! :)

haytham
07 Mar 2008, 17:07
messed up my page. Look at pic.

Inferno Dragon
09 Mar 2008, 09:19
just intalled on vb 3.7 beta 6, working fine :) thanks for the addon!

Holfy.com
13 Mar 2008, 02:37
Installed and works fine on Beta 6

MR-2ZZ
31 Mar 2008, 02:05
Is there anyway I can take the line break out of it so there isn't all that wasted space?

EmmaB
31 Mar 2008, 12:11
Is there any way I can make it look like it does is the 3.6 version?

StormLily
11 Apr 2008, 18:12
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
11 Apr 2008, 23:32
Doesnt work with user groups I've added on :x

I made a root usergroup and 2 more, only the default ones work =[

bennac40
16 Apr 2008, 13:46
before installing this mod which seems very interesting... How can I change the colors of the usergroups?

netcommander
20 Apr 2008, 10:49
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
21 Apr 2008, 22:39
yay! been waiting for th update. THX!

pericolosogr
27 Apr 2008, 19:00
registered users bar appears in black while i have this by default with blue...
can anybody fix this...or support this mod?
thanx

DarkGizmo
30 Apr 2008, 00:45
Is there any way to get it to be displayed BELOW the currently online users?

JasonH
30 Apr 2008, 02:29
I love this, now our new members will notice who the administrators are.

kienjakenobi
30 Apr 2008, 03:43
Thank you very much for this small, but very convenient add-on. It is running perfectly on my 3.7.0 board.

dt_truck11
30 Apr 2008, 16:13
ive been lookin for somtin like this for awhile as it worked nice on our phpbb board

installed

Mrdby
02 May 2008, 03:21
CAN WE CHANGE THE LOCATION? colors? and add more usernames?

ArLinD
02 May 2008, 10:11
I installed in 3.7 but all the usergroups are red and I've edited their colors...

Can anybody help me?

ArLinD
03 May 2008, 14:02
Help me guys!

hsv z clubbie
06 May 2008, 10:04
Just installed in 3.7.0 and edited the colours and working fine !!! :up::up:
@ http://www.6litre.com

INSTALLED :D

Amiga Harrison
06 May 2008, 10:14
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
08 May 2008, 13:29
Installed. Thanks!

1Turk
08 May 2008, 13:46
thanks..

Trickle
14 May 2008, 02:07
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
17 May 2008, 02:05
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
17 May 2008, 02:40
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
20 May 2008, 14:05
is there anyway to delete the legends?...thanks

nene94
21 May 2008, 19:31
thanks

KanmaiseR
23 May 2008, 18:00
Thanks dostum, installed :)

carbide
26 May 2008, 17:31
Thanks Installed

cillianok
30 May 2008, 14:44
Does it change colours in postbit?

SimonVlc
17 Jun 2008, 10:12
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
18 Jun 2008, 20:00
Marked as Installed..
Thanks!

munnakv
22 Jun 2008, 15:31
Installed.
Cant see the colors in Firefox 2.0.0.14.
Let me check in IE tomorrow.

Thanks for it.

aramiK89
29 Jun 2008, 11:37
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
30 Jun 2008, 18:19
thanks
*installed*

maidos
30 Jun 2008, 23:01
this mod will remove moderators feature completely like moving threads, close etc.

mystic10
13 Aug 2008, 03:55
its not showing up on my custom skin anyway to make it manual so i can place it plz help

BlackLord2008
15 Aug 2008, 08:11
Hey, it works for me, Make sure you edit each users HTML Markup ;)

jackey666
16 Aug 2008, 18:25
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
19 Aug 2008, 17:07
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
23 Aug 2008, 20:59
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
25 Aug 2008, 00:28
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
29 Aug 2008, 16:58
Thankyou, I have added this to my forums.

Stryker412
29 Aug 2008, 17:56
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
03 Sep 2008, 16:49
working fine for me

KillerStefan
19 Sep 2008, 15:13
Installed.

HemoOo Nana
21 Sep 2008, 19:03
thanks

bymetinay
21 Sep 2008, 21:57
thanks
demo : www.turkayildiz.com

jmurrayhead
30 Sep 2008, 00:26
Would be cool to be able to display this under Who's Online, too :up:

Linos-1
27 Nov 2008, 22:33
Thanks

NikosN
02 Dec 2008, 11:19
Thank you!

MTGDarkness
11 Feb 2009, 19:18
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
11 Feb 2009, 21:54
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:

http://www.vbulletin.org/forum/showpost.php?p=1726533&postcount=28

MTGDarkness
12 Feb 2009, 18:13
Thanks. :D

chuckrobbie
26 Apr 2009, 11:38
I installed it but it is not showing any colours! how do I edit it to show colours?
I have a dark skin

soundbarrierpro
08 Mar 2010, 12:25
*Installed

Thank you for this.