vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - Usergroup Color Bar Legend (https://vborg.vbsupport.ru/showthread.php?t=194823)

Atakan KOC 10-27-2008 10:00 PM

Usergroup Color Bar Legend
 
1 Attachment(s)
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

Quote:

Originally Posted by NemoTech (Post 1656822)
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

1 Attachment(s)
Thanks :)
You can find here 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

Quote:

Originally Posted by davida500 (Post 1691046)
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
Code:

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.

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.

Quote:

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

1 Attachment(s)
Quote:

Originally Posted by HolyKiller (Post 1707616)
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

Quote:

Originally Posted by Nightmare-GameZ (Post 1725944)
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...

Code:

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

Quote:

Originally Posted by Gunshot (Post 1726743)
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

Quote:

Originally Posted by Howell (Post 1726533)
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...

Code:

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

Quote:

Originally Posted by THE__DRIFTER (Post 1747170)
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.


All times are GMT. The time now is 04:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01299 seconds
  • Memory Usage 1,812KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete