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

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

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 11-23-2009 Last Update: 12-10-2010 Installs: 47
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

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


What Does This Hack Do?[hr]Silver[/hr]
This is an update to my 3.8.x version of this hack, designed to work with vBulletin v4.0.x.

This simple hack adds usergroup permissions for which Usergroups can view the Site/Forum Leaders page. If a Usergroup does not have permission to view the Site/Forum Leaders page then they will receive a custom vBulletin no permissions message (the message will differ slightly depending on if you have the Publishing Suite or Forum Classic installed - see screenshots), and it will also remove the View Forum Leaders or View Site 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. The phrase for the custom no permissions error page

Usergroup permissions - which groups will be able view the Forum Leaders page (no usergroups can view the Forum Leaders page by default)


vBulletin Version Compatibility[hr]Silver[/hr]
This hack can be used with vBulletin versions 4.0.0 - 4.2.0.

For the v3.8.x version of this hack, which will also work with v3.7.x and v3.6.x - check here.



Hack Support/Feature Requests[hr]Silver[/hr]
IMPORTANT: This hack is no longer supported.



Install Instructions[hr]Silver[/hr]
  1. Unzip ms_leaders_ugp_40.zip
  2. Upload bitfield_ms_leaders_ugp.xml to your /includes/xml folder.If upgrading from an earlier version, then overwrite the previous copy.
  3. Import the ms_leaders_ugp_40.xml into vB using the AdminCP Product Manager. If upgrading from an earlier version, then set Allow Overwrite to Yes.
  4. In the Usergroup Manager edit the usergroup(s) you want:
    • To see the Forum Leaders page (disabled by default for all usergroups).
Note: If you want to change the custom error message that is displayed, you can edit it from the AdminCP Options for this hack.


Uninstall Instructions[hr]Silver[/hr]
  1. Delete the bitfield_ms_leaders_ugp.xml file from your /includes/xml folder.
  2. Uninstall the product in vB using the AdminCP Product Manager.


Version History[hr]Silver[/hr]
v4.0.2 - Saturday 11th December 2010
-- Fixed: "maxversion" so product can be installed on vBulletin 4.1.0 and above
-- Changed: version number formatting

v4.0.001 - Tuesday 24th November 2009
-- Initial v4.0.x Release


Thanks[hr]Silver[/hr]
Thanks go out to Paul M who gave me permission to use some of his install code.


Show Your Appreciation [hr]Silver[/hr]
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.

Download Now

File Type: zip ms_leaders_ugp_40.zip (2.4 KB, 138 views)

Screenshots

File Type: jpg screenshot1.jpg (47.5 KB, 0 views)
File Type: jpg screenshot2.jpg (46.6 KB, 0 views)
File Type: png screenshot3.png (6.1 KB, 0 views)
File Type: png screenshot4.png (17.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
The-Lind

Comments
  #12  
Old 02-27-2011, 10: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 DirtBanger View Post
Maybe I am missing something with this View Site Leaders. When you hit it it will show every user group you have with every user and not in any order that I find helpful. So I installed this mod and disabled the feature in all user groups. What I would like to see is when you use the feature it should only show those groups that you want and in an order you want. So I would like to see my ones like this

Admin
Super Mod
Moderator
Sponsor

To me these are my site leader in that order

BTW Mosh glad to hear you are now employed once again
This hack is only to limit which usergroups are allowed to view the showgroups.php page, and does not in any way cater for what usergroups are viewable on that page, nor in what order.

What you want is in usergroup permissions, well which usergroups are viewable anyway (see attached screenshot). The order in which usergroups are shown would require a hack.
Attached Images
File Type: png viewable-showgroups.png (12.6 KB, 0 views)
Reply With Quote
  #13  
Old 02-17-2013, 03:20 PM
Glockie Glockie is offline
 
Join Date: Feb 2012
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm odd.
I've uploaded everything and installed it and i works on the front end.
The backend however, I see no display in the usergroups' options like so;

https://vborg.vbsupport.ru/attachmen...0&d=1259027160

It's weird.. not showing at all.
Is this mod supported on VB V.4.2 patch 3?

Many thanks for a super hack either way (sorry to bump such an old thread :P )
Reply With Quote
  #14  
Old 09-24-2014, 12:08 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this version, [OzzModz] Site/Forum Leaders Viewable By Usergroup
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 03:24 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.06403 seconds
  • Memory Usage 2,270KB
  • Queries Executed 19 (?)
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_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
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (1)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (6)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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