vb.org Archive

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

Amaury 08-05-2012 04:49 PM

Quote:

Originally Posted by Merjawy (Post 2354586)
Go into Settings >> Options >> Usergroup Color Bar
Remove the usergroup ID#
that should take it off the display

As you can see, I have fake usergroups 33 and 44, they don't show, but dots replace'em
Removing 33 and 44 will remove the extra dots
So you can just remove the ID that you don't want to display

How do I know which ID goes to what?

Disco_Stu 08-05-2012 06:13 PM

Quote:

Originally Posted by Amaury25 (Post 2354732)
How do I know which ID goes to what?

Go into USERGROUPS>USERGROUP MANAGER and you will see the group id for each group on the right side of the screen

Merjawy 08-05-2012 07:29 PM

1 Attachment(s)
Heres a screenshot of the usergroup manager and you will see to the right, it shows the group ID for each one

Amaury 08-05-2012 10:08 PM

Quote:

Originally Posted by Merjawy (Post 2354777)
Heres a screenshot of the usergroup manager and you will see to the right, it shows the group ID for each one

Yup, got it. Thanks.

Since I already removed the user group, though, I looked at the IDs on the User Group Color Bar settings and looked for the ID that wasn't on the User Group Manager and removed that one from the User Group Color Bar settings. :)

Merjawy 08-05-2012 10:33 PM

You're welcome :)

mathforum 08-05-2012 11:36 PM

Installed but disabled until one thing is hopefully worked out. I have enough groups to cause a line break in the line and the line break splits the usergroup name in half (it has two words). A possible solution is to make the font text smaller so they all fit on one line or somehow changing the spacing between usergroups so the group that's on both lines is pushed to the second line only. If that's the way to fix it then also the starting point on the second line should be moved a bit to the right.

Any ideas?

Alibass 08-05-2012 11:48 PM

Almost sounds like a resolution problem...

Merjawy 08-06-2012 12:06 AM

Or you can limit your usergroups titles to few charetars!!
ex: instead of Administraros use Admin

Disco_Stu 08-07-2012 01:52 PM

1 Attachment(s)
I installed this mod and it looks good but I wanted the ability to display the color legend from any page without having to change the template for each page so I added a link to the nav bar to allow a visitor to display the color legend on demand as a popup on any page.

The legend is being displayed via the standard_error message box in a small php file that the link calls. Because I don't plan on changing the color assignments I simply hard coded the colors in the popup message via font markups in the php file. This eliminates having to retrieve the color values each time the popup is displayed.

Here's the php code:

PHP Code:

<?php

define
('THIS_SCRIPT''color_legend');

require_once(
'./global.php');

eval(
standard_error('<center>Our user accounts are color coded to help identify their category. The colors are as follows:<br><br><font color=red>? Administrators</font>&nbsp;&nbsp;<font color=yellow> ? Super Moderators</font>&nbsp;&nbsp;<font color=purple> ? Moderators</font>&nbsp;&nbsp;<font color=green> ? Registered Users</font></center> '));

?>


cjwinternet 08-12-2012 09:38 AM

Useless.

Some of our usergroups are 'black-bold', some of them are 'black-normal'.

This plugin shows everything as bold.


All times are GMT. The time now is 01:52 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.01510 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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