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
  #62  
Old 08-17-2005, 07:09 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wayne, here is what you need. This will sort the usergroups legend for you.

I am also including a text file with code changes that you can do to showgroups.php to sort the groups there as well if you so desire.

To install this one, remove the existing plugin and install the PRODUCT.

Go to your usergroup manager and set the displayorder of each usergroup.

Unfortunately, at this time I couldn't do the displayorder the way forums are done so that you can do them all on one page and then save them. You'll have to do it group by group.

Amy
Reply With Quote
  #63  
Old 08-17-2005, 07:26 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Wayne, here is what you need. This will sort the usergroups legend for you.

I am also including a text file with code changes that you can do to showgroups.php to sort the groups there as well if you so desire.

To install this one, remove the existing plugin and install the PRODUCT.

Go to your usergroup manager and set the displayorder of each usergroup.

Unfortunately, at this time I couldn't do the displayorder the way forums are done so that you can do them all on one page and then save them. You'll have to do it group by group.

Amy
Thanks that worked.. Had to add the displayorder field to the usergroup table as an INT though as it was erroring out but once I did that it works great.

www.cohcos.com/forum.php
Reply With Quote
  #64  
Old 08-17-2005, 07:29 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops. Forgot to put that in the product. I'll add it now and reupload incase anybody else wants this.

Amy
Reply With Quote
  #65  
Old 08-18-2005, 12:05 AM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get an error

Invalid File Specified
Reply With Quote
  #66  
Old 08-18-2005, 12:27 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sleepy, which file did you try to import? The one in the first post? That one is a plugin, not a product. If it's the one I did for Wayne, that's a product, not a plugin.
Reply With Quote
  #67  
Old 08-22-2005, 01:54 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet!

works great thanks.

<< clicks install RC 1
Reply With Quote
  #68  
Old 09-14-2005, 10:17 PM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RC3 compatible?
Reply With Quote
  #69  
Old 09-14-2005, 11:03 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep. Working like a champ on my site with no changes.
Reply With Quote
  #70  
Old 09-15-2005, 12:15 AM
nexialys
Guest
 
Posts: n/a
Default

Hi Amy, i just edited your code so it's smaller and require less IF...
PHP Code:
foreach ($vbulletin->usergroupcache AS $group)
{
    if (
$group['opentag'])
    {
        
$legend .= (($legend) ? " | " '') . $group['opentag'] . $group['title'] . $group['closetag'];
    }

Reply With Quote
  #71  
Old 09-15-2005, 12:20 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I've seen that version before. The reason I elected to do it the way it's done is to make it more readable for newbies who may be inclined to tweak.

Experts may optimize at will
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:09 AM.


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.04677 seconds
  • Memory Usage 2,309KB
  • 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
  • (1)bbcode_php
  • (1)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
  • (1)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
  • (10)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