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

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
  #112  
Old 05-11-2012, 09:45 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As long as you don't use any centered options with that long line, you will be fine.
Reply With Quote
  #113  
Old 05-11-2012, 12:23 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the latest update mate. Sent you a small something...lol

It is so rare these days that you find coders that are really proud of their work. You truly are a pioneer my friend. Thank you!
Reply With Quote
  #114  
Old 05-11-2012, 12:33 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OH....how can I change the color of the black diamond to white please? I use a dark forum skin. Thank you.
Reply With Quote
  #115  
Old 05-11-2012, 12:39 PM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just updated the mod to support changing the color. Its in the stylevars.
Reply With Quote
  #116  
Old 05-11-2012, 12:56 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 Taurus1 View Post
Thanks for the latest update mate. Sent you a small something...lol

It is so rare these days that you find coders that are really proud of their work. You truly are a pioneer my friend. Thank you!
Thank you, sir. That means a lot.
Reply With Quote
  #117  
Old 05-11-2012, 01:07 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LifesGreatestGift View Post
Just updated the mod to support changing the color. Its in the stylevars.
OH blah...lol....got it...thanks mate!!

Quote:
Originally Posted by Boofo View Post
Thank you, sir. That means a lot.
It is me that has to thank you!!
Reply With Quote
  #118  
Old 05-11-2012, 01:13 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, there's always Christmas.
Reply With Quote
  #119  
Old 05-11-2012, 03:16 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent Updated ! Thanks Boofo for your great work !
Reply With Quote
  #120  
Old 05-11-2012, 09:04 PM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update
Reply With Quote
  #121  
Old 05-12-2012, 12:00 AM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried to install this on my site using 4.1.12 patch one worked ok!

Nelson
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 12:47 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.12745 seconds
  • Memory Usage 2,359KB
  • Queries Executed 26 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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
  • 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