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
  #2  
Old 11-24-2009, 04:11 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work
Thank you dear sir
installed
________
Caodaism Forums
Reply With Quote
  #3  
Old 12-22-2009, 09:24 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested and working with vBulletin 4.0.0 Gold.

I will no longer be supporting Alpha, Beta & Release Candidates of vBulletin 4.0.0.
Reply With Quote
  #4  
Old 01-02-2010, 12:34 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

It is with regret that after over 4 years (and thousands of hours) spent providing free support for my free hacks released here, as of today I will no longer be able to provide support for free.

This is due to being unemployed for a while, being strapped for cash and unable to rely on the virtually non-existant donations from here to help to pay the bills or put food on the table for my family. I am now providing all support for my free hacks released here over at Wolfshead Solutions via an annual support subscription (for a small fee).

It does not mean I will be no longer release free hacks, I will, but I will just no longer be supporting them for free.

My free hacks have and always will remain free to download and use. And so will updates/bug fixes.

I will be releasing more free hacks, but if you require any support at all for those free hacks, you will need to purchase an annual support subscription over at Wolfshead Solutions to receive support.

I am really sorry I have to do this, but revenue generated by my programming gigs are now my only source of income, and I can no longer afford the luxury of providing free support here, when that time can be spent creating new commerial products, doing paid work requests or providing paid support to pay the bills.

Thank you for the understanding.

Regards,

Mosh.
Reply With Quote
  #5  
Old 02-13-2010, 11:10 AM
F4Flake F4Flake is offline
 
Join Date: Jan 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason I imagined this to be a hack to ensure users only see the forums they have permission to see, in showgroups.php.

For the life of me I don't understand why it doesn't conform to the forum/usergroup rules.
Reply With Quote
  #6  
Old 07-14-2010, 03:22 PM
q3chap q3chap is offline
 
Join Date: Nov 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

somebody installed this on vb 4.0.4 ???? I have installed it, but when I turn it in the usergroup permission to yes or no, nothing happens. If I dont want, that guest can see my forum (only the forumdisplay), so I turn it to yes, right? But nothing happens when it is done.
Reply With Quote
  #7  
Old 12-11-2010, 05:21 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated: v4.0.2
-- Fixed: "maxversion" so product can be installed on vBulletin 4.1.0 and above
-- Changed: version number formatting
Reply With Quote
  #8  
Old 12-11-2010, 09:55 PM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool thx
Reply With Quote
  #9  
Old 01-08-2011, 01:16 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread at Wolfshead Solutions).

Enjoy

Regards,

Mosh Shigdar - Wolfshead Solutions.
Reply With Quote
  #10  
Old 02-27-2011, 12:25 PM
DirtRider DirtRider is offline
 
Join Date: Feb 2011
Location: South Africa
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 01:57 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.04585 seconds
  • Memory Usage 2,322KB
  • Queries Executed 24 (?)
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)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
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (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
  • 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