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

Reply
 
Thread Tools
Thread Blocker by BOP5 - Block usergroup access to specific threads Details »»
Thread Blocker by BOP5 - Block usergroup access to specific threads
Version: 1.2.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 08-25-2011 Last Update: 12-10-2012 Installs: 24
Supported Uses Plugins
Translations  

Version 1.2.0: Added blocking by thread prefix
1.1 - Added block by userid
1.0 - Initial Release

I know the best way to control access to threads is via built in permissions and promotions systems however some times for special circmstances there are just certain threads you want to block from certain people- maybe from guests for example. What this mod does is make it easy to block some specific threadids from usergroups you specify. Simple and effective. The users without permission will see an error message saying they don't have access to that particular thread.

1 Plugin and 1 Global Phrase: bop5tb_noaccess - This is the error message others will see when attempting to view a thread.

Working on vBulletin 3.8.7- 4.1.5 and should work on all VB 3.6.x and up including all 4.x versions.

Demo (on VB 4,x forum- but same code):
Blocked Thread: http://www.qapla.com/mods/showthread...ew-this-thread.
Unblocked Thread in same forum: http://www.qapla.com/mods/showthread...la-Demos-Forum

Please Mark as Installed if you use this.

Download Now

File Type: zip Thread Blocker by BOP5 VB3-VB4 v120.zip (3.3 KB, 89 views)

Screenshots

File Type: jpg threadblock_settings.jpg (160.8 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 08-26-2011, 08:51 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 08-26-2011, 09:11 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Could come in very handy.
Reply With Quote
  #4  
Old 11-06-2011, 02:18 PM
TitanJeff's Avatar
TitanJeff TitanJeff is offline
 
Join Date: Jul 2002
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a football game thread each Sunday which can slow the forum down to a crawl since hundreds of people are posting and refreshing it. My members complain so I'm trying this today to see if blocking guests to the thread helps keep things running smoother. I'll post the results.

UPDATE: This worked very well. No complaints of server load issues from my members and many guests decided to register. For anyone who has a forum with a very active thread which slows their server, this is a must.
Reply With Quote
Благодарность от:
BirdOPrey5
  #5  
Old 11-06-2011, 03:17 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Mod. :up:

It'd be Nice Also to be Able to Specify for Each Thread the Usergroups that Can't Access, (Of Course Admins and Moderators should be Able to See All the the Threads Always).

Adding an Option on the Thread Info for the Usergroups (Separated by Commas), and Perhaps Adding an Option for the Thread Starter (and Admins and Moderators) to Edit those Usergroups, that Way for Each Thread this Block can be Also Specified Individually.

My Best Regards.

Reply With Quote
Благодарность от:
BirdOPrey5
  #6  
Old 11-06-2011, 03:21 PM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. Nice mod.

It would be nice if one cold specify specific users in addition to specific usergroups.
Reply With Quote
Благодарность от:
BirdOPrey5
  #7  
Old 11-06-2011, 03:52 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks all... When I get some time I'll look at adding more options.
Reply With Quote
  #8  
Old 12-11-2012, 05:57 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to version 1.2- Allows you to specify thread prefix ids to block threads.
Reply With Quote
Благодарность от:
xorex
  #9  
Old 12-20-2012, 10:17 PM
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. Nice mod.
Reply With Quote
  #10  
Old 12-22-2012, 09:23 AM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea, but its just and only working for the first time. After that the specified usergroup(s) are blocked for all threads, even when you delete the given thread id in the configuration. Then you have to disable the whole modification for giving them access to all other threads as well.
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 02:31 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.04716 seconds
  • Memory Usage 2,321KB
  • 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)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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