vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Usergroup Legend for ForumHome page (https://vborg.vbsupport.ru/showthread.php?t=92149)

Dreamchaser 02-15-2006 03:29 PM

Installed on vb 3.5.3, but does not display anything, I can see just text legend ?

BillP 02-15-2006 07:20 PM

The plugin contains code that looks like this (partial):

PHP Code:

{
    if (!
$group['opentag']) {
        continue;
    } 

but I changed it to

PHP Code:

{
    if (!
$group['opentag'] && !$group['closetag']) {
        continue;
    } 

Because I use only the "closetag" area. I don't set a color to span the user name, I use the closetag to apply a small icon to the user.

I noticed some people here are quoting their installs, and they show code similar to what I have. Did the code orginally look at both open and closetags, and now only looks at opentag?

BillP 02-15-2006 07:29 PM

I also added a check for any "isbannedgroup" groups, as they'll never show as logged in anyhow.

Before

PHP Code:

    if (!$group['opentag'] && !$group['closetag']) {
        continue;
    } 

After:

PHP Code:

    if (!$group['opentag'] && !$group['closetag']) {
        continue;
    }
    if (
$group['genericoptions']>=32) {
        continue;
    } 


I have a padlock icon on my banned users (grin), but I don't want the "Banned" item to show up on the legend.

venomx 02-15-2006 11:36 PM

Great mod Amy :)

Hey what colors are you all using?

For the ones that were like me and didnt know how to install this. Goto Plugin System => Download/Upload Plugins and upload it. :)

venomx 02-15-2006 11:45 PM

Quote:

Originally Posted by Dreamchaser
Installed on vb 3.5.3, but does not display anything, I can see just text legend ?

Youll need to edit the user groups and add the color html tags in the HTML fields...

hoopsta 02-15-2006 11:48 PM

maybe this question has been answered, but I'm unclear. I want to upgrade to vB 3.5.3 will the legend hack automatically upgrade with it?

ChErAbOo 02-18-2006 06:54 PM

Quote:

Originally Posted by Dreamchaser
Installed on vb 3.5.3, but does not display anything, I can see just text legend ?

Mine did this too until I went into the usergroups and actually added in the code for color if not sure how to do that click the lil help icon by Username HTML Markup once the code is added in this works perfect..

Thanks for the plugin nice work clicks install

amykhar 02-18-2006 10:18 PM

There's no point in having a legend if you don't have custom colors or styles for the usergroups. So, it only shows the groups that have custom colors or styles.

Although, if you've done the code edit version, you could easily change it to show all of the groups with a display order higher than 0. But, I'll leave that little modification to you as a coding exercise ;)

dcpaq2xx 02-19-2006 02:39 AM

Amy,

I would like to make a request for this mod if I may.

I noticed that the legend is pulling its user group name information from the user group "Title" area located in the admin cp.

May we have this changed so that it pulls its user group name information from the "User Title" area located in the admin cp instead?

Or how about adding to the admin control panel where we can select which area it pulls the information from?

Thanks

Doug

katholic 02-19-2006 03:05 AM

Ok I asked this a few days ago and I don't know if it was just overlooked or ignore so excuse my ignorance as not all of us are experienced in html or modding VBulletin but Is there a way it can be bold on the forum display membership listings but not bold within the threads themselves?


All times are GMT. The time now is 11:51 PM.

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.01308 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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