Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Usergroup Legend for ForumHome page Details »»
Usergroup Legend for ForumHome page
Version: 2.0, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 Beta 4 Rating:
Released: 07-13-2005 Last Update: 08-01-2005 Installs: 390
Uses Plugins Template Edits
 
No support by the author.

This little plugin shows a legend of what the various styles mean for the names on the who's online section of your forumhome page.

A big thank you to Link14716 for getting rid of the query.

Some people prefer different colors in the template changes. Their suggestions are posted below. I've posted what I am using on my board.

More advanced users may prefer: https://vborg.vbsupport.ru/showpost....0&postcount=61

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 02-15-2006, 03:29 PM
Dreamchaser Dreamchaser is offline
 
Join Date: Nov 2005
Location: India
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on vb 3.5.3, but does not display anything, I can see just text legend ?
Reply With Quote
  #203  
Old 02-15-2006, 07:20 PM
BillP BillP is offline
 
Join Date: Nov 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #204  
Old 02-15-2006, 07:29 PM
BillP BillP is offline
 
Join Date: Nov 2001
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #205  
Old 02-15-2006, 11:36 PM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #206  
Old 02-15-2006, 11:45 PM
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Location: Pennsylvania USA
Posts: 441
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #207  
Old 02-15-2006, 11:48 PM
hoopsta hoopsta is offline
 
Join Date: Jan 2003
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #208  
Old 02-18-2006, 06:54 PM
ChErAbOo ChErAbOo is offline
 
Join Date: Jan 2006
Location: Eastern United States
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #209  
Old 02-18-2006, 10:18 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #210  
Old 02-19-2006, 02:39 AM
dcpaq2xx dcpaq2xx is offline
 
Join Date: Nov 2004
Location: Merrillville, Indiana
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #211  
Old 02-19-2006, 03:05 AM
katholic katholic is offline
 
Join Date: Nov 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04928 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete