Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Usergroup Legend on Forumhome for vB 4 Details »»
Usergroup Legend on Forumhome for vB 4
Version: 1.1.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 03-03-2011 Last Update: 05-12-2012 Installs: 461
Uses Plugins Auto-Templates
 
No support by the author.

Only those who "Mark As Installed" will receive support for this modification.
If you use this modification and would like to help support its development, please consider sending a donation.


Usergroup Legend on Forumhome for vB 4
Version 1.1.1
(By Boofo)

What does this product do?
This product will show the user groups you have available on your site in a legend on the forumhome. It will also check to see if the 'Spiders Display on Forumhome and Who's Online' product is installed and enabled. If found, "Spiders" will be added to the end of the Legend.

Credits:
Thanks to LifesGreatestGift for the CSS and style variable help.

Version Information:
Version 1.0.0 --Initial release for vBulletin 4.1.2
Version 1.0.1 --Fixed issue with there not being enough space between the legend and activeusers when the legend was placed above activeusers. Also switched from p tags to spans tags to make it 100% XHTML 1.0 Transitional compliant. The centered legends are now centered on the full width of the wgo box, sans the left margin.
Version 1.0.2 --Spider Display Font Color is now set by the style variable setting for the spider color in the 'Spiders Display on Forumhome and Who's Online' v1.0.6 mod, if it is installed.
Version 1.0.3 --Removed Enable/Disable setting and added "Do not show Usergroup Legend" as the first option in the "Usergroup Legend on Forumhome Location" setting.
Version 1.0.4 --Fixed full line break spacing.
Version 1.0.5 --Changed the hook to avoid conflicting with Paul M's mods.
Version 1.0.6 --Added 3 more location settings (Above activeusers centered with 1/2 and full line breaks).
Version 1.0.7 --Added Usergroup Separator setting. You can now choose from 10 different separators to show between the usergroups.
Version 1.0.8 --Added 2 more separators to the separator setting, for a total of 12. (vertical bar and horizontal ellipsis = three dot leader)
Version 1.0.9 --Fixed legend from being pushed too far left if the line was too long. Added setting for usergroups allowed to view the legend. Removed "Do not show Usergroup Legend" as the first option in the "Usergroup Legend on Forumhome Location" setting. Added setting to show "Spiders" at the end of the legend. Added setting to show Spider Image as a separator before "Spiders" in the legend.
Version 1.1.0 --Added style variable to change the color of the legend separator. Rewrote code to add CSS instead of coding it all inline.
Version 1.1.1 --Fixed CSS as it was showing the usergroups stacked in IE. Also added a phrase for the word "Spiders".

Installation Overview:
-----------------------------------------------------
1 Product XML (2 Plugins, 24 phrases, 1 CSS Template, 6 settings and 1 Style Variable)

Installation Instructions:
-----------------------------------------------------
1. Go to your Admin CP
Scroll down to 'Plugins & Products'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the 'product-boofo_legend.xml' file on your computer

2. Go to your Admin CP -> vBulletin Options -> 'Usergroup Legend on Forumhome' and set the following options:
Usergroup Legend on Forumhome Display Order: Enter the usergroupids in the order you want them to display. (Default is '6,5,7,2')
Usergroup Legend on Forumhome Location: Choose the location you want the Usergroup Legend on Forumhome to show up in. (Default is 'Below activeusers with 1/2 line break (centered)')
Usergroup Legend on Forumhome Separator: Choose the separator you want to show between the usergroups. (Default is 'Star - solid')
Usergroup Legend on Forumhome View Usergroups: These usergroups can view the Usergroup Legend. (Default is '0' = all usergroups)
Enable Spiders in Usergroup Legend on Forumhome: Click Yes if you want Spiders to show in the Usergroup Legend on Forumhome. (Default is 'No')
Show Spider Image as Separator for Spiders: Click Yes if you want the spider image to show before Spiders in the legend instead of the legend separator. (Default is 'No')

Note: You must have the "Spiders Display on Forumhome and Who's Online" mod installed for the above 2 Spider options to work.

3. Style Variable:
Go to your Admin CP -> Styles & Templates -> Style Manager -> Style Variable Editor -> Click Go Button -> Boofo -> boofo_legend_separator_color
Enter a hex color code or web-safe color for the usergroup separator (Examples: hex code: #FF0000 or web-safe color: red)

Note: You will need to do this for all styles.
-----------------------------------------------------

Done!
Enjoy!


Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}

Download Now

File Type: zip Usergroup_Legend_on_Forumhome_vb4.zip (5.1 KB, 1921 views)

Screenshots

File Type: png usergroup_legend_center.png (13.2 KB, 0 views)
File Type: png usergroup_legend_below_left.png (12.8 KB, 0 views)
File Type: png usergroup_legend_above_left.png (14.6 KB, 0 views)
File Type: png usergroup_legend_above_center.png (15.2 KB, 0 views)
File Type: png usergroup_legend_style_variable.png (5.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
12 благодарности(ей) от:
acco, BCP Hung, Dr.osamA, DS MrSinister, Jack.D, McAtze, megabink, nacaruncr, nchoate97, Robru, Taurus1

Comments
  #2  
Old 03-03-2011, 11:24 PM
voglermc's Avatar
voglermc voglermc is offline
 
Join Date: Oct 2006
Location: Piedmont Triad, NC, USA
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screen shot?
Reply With Quote
  #3  
Old 03-04-2011, 12:20 AM
Juhnke Juhnke is offline
 
Join Date: Feb 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try it out soon, when my host is working again.
Reply With Quote
  #4  
Old 03-04-2011, 12:38 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshots added to first post.
Reply With Quote
  #5  
Old 03-04-2011, 01:44 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks
Reply With Quote
  #6  
Old 03-04-2011, 04:02 AM
wally07 wally07 is offline
 
Join Date: Sep 2010
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thank you! Definitely love the fact that I can have the legend centered!

Would it be possible for the legend to actually have them click-able? For instance, I have a few Moderators on my forum and if I can click on the "Moderators" on the usergroup legend, it'll show all the Moderators only.

Hopefully that made sense. Thanks in advance!
Reply With Quote
  #7  
Old 03-04-2011, 04:16 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sure it would be possible, but not really worth all the work that would be involved for a free mod.
Reply With Quote
  #8  
Old 03-04-2011, 06:10 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fine. Thanks Boofo... I can not be online much for a long time. Thanks for the update.
Reply With Quote
  #9  
Old 03-04-2011, 02:51 PM
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! Added...One comment if allowed.

In the above active users options the bar is not centered and the more important thing the distance from he first line of usernames in my opinion is very short. Not good in appearance (i.m.o. thought)

Apart from perfect mod! Boofo did his miracle again!
Reply With Quote
  #10  
Old 03-04-2011, 02:53 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mikevet1984 View Post
Great mod! Added...One comment if allowed.

In the above active users options the bar is not centered and the more important thing the distance from he first line of usernames in my opinion is very short. Not good in appearance (i.m.o. thought)

Apart from perfect mod! Boofo did his miracle again!
What do you mean "not centered"? And look at the options. They will give you the spacing you are wanting.
Reply With Quote
Reply

Thread Tools

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 07:47 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.05140 seconds
  • Memory Usage 2,328KB
  • Queries Executed 24 (?)
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_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (11)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete