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
  #12  
Old 03-04-2011, 03:09 PM
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first one and only setting about above active users option.... gives you no chance to choose if centered or from the left. Plus it is very close to first line of user names
Reply With Quote
  #13  
Old 03-04-2011, 03:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought of centering that but it really looked bad as the rest of the text above it is left-aligned. And since I don't use that option, I didn't spend very much time on it.
Reply With Quote
  #14  
Old 03-04-2011, 05:27 PM
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Location: M?xico City
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Working on vb 4.1.2
+5 Stars

Thank you very much !!!


if ($your_mod != 'working')
{
$all_of_us = 'f___d up';
}
else
{
$all_of_us = 'happy';
}

lol
Reply With Quote
  #15  
Old 03-04-2011, 08:51 PM
Eduardo Leon's Avatar
Eduardo Leon Eduardo Leon is offline
 
Join Date: Oct 2009
Location: Peru
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hahaha !

buena respuesta SEW810 xD !

if ($your_mod != 'working')
{
$all_of_us = 'is pretty cool';
}
else
{
$all_of_us = 'f___K D: ! ';
}

xD !

nice
Reply With Quote
  #16  
Old 03-19-2011, 12:17 PM
horussjr horussjr is offline
 
Join Date: Feb 2010
Location: Romania
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if position is set with below active users is wont appear under Currently Active Users but under Total members that have registered on the forum today
Reply With Quote
  #17  
Old 03-19-2011, 12:21 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it will appear where it is supposed to.
Reply With Quote
  #18  
Old 03-19-2011, 12:36 PM
horussjr horussjr is offline
 
Join Date: Feb 2010
Location: Romania
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i can assure you it wont.....
Reply With Quote
  #19  
Old 03-19-2011, 12:39 PM
NTT NTT is offline
 
Join Date: May 2007
Location: Viet Nam
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Job Men !

I had edited it for myself as soon as upgrade to vBB 4.1.2 !
Reply With Quote
  #20  
Old 03-19-2011, 12: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 horussjr View Post
i can assure you it wont.....
What do you mean "it won't"?
Reply With Quote
  #21  
Old 03-19-2011, 03:33 PM
Frost5 Frost5 is offline
 
Join Date: Sep 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on 4.1.2, thanks.
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 12:28 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.04632 seconds
  • Memory Usage 2,354KB
  • 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
  • (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
  • (3)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