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

Not all donators want to be recognized, though.
Reply With Quote
  #73  
Old 06-24-2011, 06:27 PM
Anopheles's Avatar
Anopheles Anopheles is offline
 
Join Date: Sep 2008
Location: Stadtallendorf / Germany
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I want to thank the 3 kind people who have donated for this mod. It is nice seeing some respect shown for all the hard work and energy put into coding free mods here on the org. The rest of you members can learn something from these 3.
Now 4! :up:
Reply With Quote
  #74  
Old 06-24-2011, 09:28 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 Anopheles View Post
Now 4! :up:
I haven't received a donation from you. Don't make false donation claims. It undermines those that have.
Reply With Quote
  #75  
Old 07-08-2011, 05:39 PM
ascott ascott is offline
 
Join Date: May 2009
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works greats, thank you!
Reply With Quote
  #76  
Old 07-13-2011, 07:35 PM
Jokermixer Jokermixer is offline
 
Join Date: Jul 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had istalled this plugin but in the options there isn't "Usergroup Legend on Forumhome".
I had only upped the file .xml but there isn't nothing...

What can I do?
Reply With Quote
  #77  
Old 07-16-2011, 11:03 AM
Jokermixer Jokermixer is offline
 
Join Date: Jul 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now it works very well Thanks!
Reply With Quote
  #78  
Old 07-18-2011, 12:51 PM
mb2tour mb2tour is offline
 
Join Date: Jul 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.1.4 anyone?

Thank you,
~~QS
Reply With Quote
  #79  
Old 07-18-2011, 01:08 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 mb2tour View Post
4.1.4 anyone?

Thank you,
~~QS
From the first post:

vB Version: 4.x.x
Reply With Quote
  #80  
Old 08-09-2011, 07:49 AM
vigneshrajesh vigneshrajesh is offline
 
Join Date: Oct 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi..i have installed..but i am not getting any colours..for each group..help me to fix this..

Check this:
Reply With Quote
  #81  
Old 08-09-2011, 05:04 PM
bosanci28's Avatar
bosanci28 bosanci28 is offline
 
Join Date: Feb 2008
Location: USA - West Coast
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vigneshrajesh View Post
hi..i have installed..but i am not getting any colours..for each group..help me to fix this..

Check this:
look back at post #30 so you can fix the color problem,friend.
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 06:25 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.06850 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
  • (4)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
  • (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