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

Reply
 
Thread Tools
View Forum Leaders Based On Usergroup Permissions Details »»
View Forum Leaders Based On Usergroup Permissions
Version: 3.7.005, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 02-07-2008 Last Update: 09-02-2008 Installs: 37
Uses Plugins
Re-useable Code Translations  
No support by the author.

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, as it also works with v3.7.5, v3.6.12 (and maybe even earlier versions).

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack can be used with v3.6.10 and v3.7.x. This has not been tested with earlier versions of v3.6.x, but should work.


What Does This Hack Do?

This is an update of my v3.6.x hack available here.

This simple hack adds usergroup permissions for which Usergroups can view the Forum Leaders page. If a Usergroup does not have permission to view the Forum Leaders page then they will recieve a custom vBulletin no permissions message, and it will also remove the View Forum Leaders link on the forumhome page.

This hack was created because I liked the idea of the request in this thread.

There are no file or template changes at all and is fully phrased.

AdminCP settings for this hack available in vBulletin Options > View Forum Leaders Based On Usergroup Permissions.
Settings that can be changed are:
  1. Enable/disable this hack
  2. Usergroup permissions - which groups will be able view the Forum Leaders page (no usergroups can view the Forum Leaders page by default)


Installation Instructions
  1. Import ms_leaders_ugp.xml into vB using the AdminCP Product Manager. If upgrading then set Allow Overwrite to Yes.
  2. Alter the settings in the Admin CP to your liking.
Note: If you want to change the custom error message that is displayed, you will need to edit the nopermission_forum_leaders phrase, please ensure that {1}, {2} and {3} are left intact, they represent stylevar[right], forumhome url and the current session url respectively.

Uninstall Instructions
  1. Uninstall the product in vB using the AdminCP Product Manager.


Version History

v3.7.005 - Wednesday 3rd September 2008
-- Final Release
-- Added: New plugin, to remove the View Forum Leaders link on the forumhome page if no usergroup permissions

v3.7.004 - Friday 29th August 2008
-- Fixed: Usergroup permission checkboxes not working with vBulletin v 3.6.x

v3.7.003 - Thursday 28th August 2008
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Added: New plugin, for processing usergroup permissions
-- Removed: AdminCP Options input validation (no longer needed)

v3.7.002 - Sunday 11th May 2008
-- Changed: Version numbering
-- Added: AdminCP Options input validation

v2.0.0 - Friday 8th February 2008
-- Initial v3.7.x Release


Thanks

Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-08-2008, 04:56 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you its working good
Reply With Quote
  #3  
Old 02-10-2008, 12:34 PM
bestword bestword is offline
 
Join Date: Apr 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is "Forum Leaders page"?
Reply With Quote
  #4  
Old 02-10-2008, 06:01 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bestword View Post
What is "Forum Leaders page"?
This is an example - View Forum Leaders
Reply With Quote
  #5  
Old 02-14-2008, 06:02 AM
bestword bestword is offline
 
Join Date: Apr 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mosh View Post
This is an example - View Forum Leaders
I see,thank u .
Reply With Quote
  #6  
Old 03-02-2008, 03:03 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Works great but my question is how many other php files like showgroups.php don't I know about that I consider a huge security hole in vbulletin! That damn file shows all your users to the world. I run a locked forum.

So anyone know what other php files can be directly linked to that show critical information like this?
Reply With Quote
  #7  
Old 05-13-2008, 04:27 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.002
  • Version numbering changed
  • AdminCP Options input validation
Reply With Quote
  #8  
Old 05-29-2008, 08:41 AM
verino verino is offline
 
Join Date: May 2008
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank's. Works fine on 3.7.0 beta 5

*Installed*
Reply With Quote
  #9  
Old 07-07-2008, 06:46 AM
transparent transparent is offline
 
Join Date: Apr 2008
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly what I was looking for! Thx alot ; ) Works perfect on 3.7.1
Reply With Quote
  #10  
Old 08-28-2008, 03:19 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.003
-- Changed: Check boxes now for usergroup selection, instead of needing comma separated numbers
-- Added: New plugin, for processing usergroup permissions
-- Removed: AdminCP Options input validation (no longer needed)
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 02:39 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.04524 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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
  • 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