View Full Version : Miscellaneous Hacks - Thread Blocker by BOP5 - Block usergroup access to specific threads
BirdOPrey5
08-25-2011, 10:00 PM
Version 1.3: Added option to block threads by forumid & bug fix
1.2 - Added option to block threads by thread prefix
1.1 - Added option to 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:
Blocked Thread: http://www.qapla.com/mods/showthread.php/37-Guests-cannot-view-this-thread.
Unblocked Thread in same forum: http://www.qapla.com/mods/showthread.php/36-Qapla-Demos-Forum
------------------------------------------------------
Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)
Translations:
Portuguese (By Ary Braga) - See Post #26 (https://vborg.vbsupport.ru/showthread.php?p=2390117#post2390117)
BirdOPrey5
08-26-2011, 08:48 PM
Reserved.
FReeSTER
08-27-2011, 05:34 AM
Love the concept mate, do you think this can be add in the future as a tool to chose from the Administrative tool tab on postbit?
thanks mate :up:
BirdOPrey5
08-27-2011, 10:31 AM
I'm not seeing how it would be useful in the postbit when you'd have to enter usergroups to block. Possibly on the Admin Tools on showthread (at the top of the thread) - possible but not likely to happen soon- much more difficult coding to do that.
FReeSTER
08-27-2011, 11:56 AM
I'm not seeing how it would be useful in the postbit when you'd have to enter usergroups to block. Possibly on the Admin Tools on showthread (at the top of the thread) - possible but not likely to happen soon- much more difficult coding to do that.
Yeah that was where I ment sorry.. I understand mate, thank you for this anyway.
Loving it as I have requested few times mods like this one, love hiding stuff to people and spiders sometimes.lol
MARCO1
08-27-2011, 04:39 PM
Joe, Why the thread icon is angry ? :D
P.S : Nice work Joe :)
FReeSTER
08-27-2011, 06:44 PM
Joe, Why the thread icon is angry ? :D
P.S : Nice work Joe :)
LMAO I was wondering the same thing. hahaha
BirdOPrey5
08-27-2011, 09:35 PM
Because it will make people angry when they get blocked from threads. :p
8thos
08-31-2011, 03:10 AM
This modification was a live saver for me. I had gotten a warning by Google to not put ads on threads with pics of hot models (just regular bikini pics) etc so I moved all the threads that Google might flag into a subforum. I then used a conditional in the templates that I had ads in to keep ads from being displayed in that subforum.
Once that was done, I used threadblocker to block guests from threads that could be considered 'too hot'. I only have a couple threads like that. I know it would just be easier to put threads like that in a private subforum but I do not really allow people to post threads like that. When I encounter them, I merge them all into one thread so that it's easy to find.
By putting those threads in a private subforum, you could lose potential SEO benefits as the title of that thread could be a popular search term.
That's how this modification, REALLY comes in handy because not all the threads in that subforum is blocked.
A guest would still have access to some threads which might tempt them to join out of curiosity.
Princezz
07-16-2012, 02:41 PM
Hi, great Mod!
Is there a way to ban single users from single threads in a forum?
thanks.
BirdOPrey5
07-16-2012, 09:49 PM
Hi, great Mod!
Is there a way to ban single users from single threads in a forum?
thanks.
Make a new usergroup... Add that user to the group... Block usergroup from thread.
Nirjonadda
08-05-2012, 01:29 PM
You can add option for Block User ID from Thread ?
BirdOPrey5
08-05-2012, 04:32 PM
You can add option for Block User ID from Thread ?
Just create a new usergroup called "Blocked From Threads" , make it based off of Registered Users so all the permissions are the same.
Then add the specific user(s) to that group as an additional group.
They will be blocked from the thread and it won't affect anything else.
BirdOPrey5
08-05-2012, 08:58 PM
I was "convinced" to add the option to block by userid to this mod. Version 1.1 now released.
Nirjonadda
08-05-2012, 09:15 PM
Thanks for updated ! Excellent work !
Merjawy
08-05-2012, 09:33 PM
:mad: I am mad now. I didn't see this till now LOL
Thanks Joe
SilverBoy
08-29-2012, 02:24 AM
Thanks for this great add-on, but I want some thing similar to this, but not blocking some usergroups from thread, I want just disallow them from posting in that thread, is this possible some how?
New Joe
08-29-2012, 03:52 AM
Great mod as always, but i'd like to have seen it where you can block an actual user instead of a usergroup
Could that be done?
BirdOPrey5
08-29-2012, 10:28 PM
Thanks for this great add-on, but I want some thing similar to this, but not blocking some usergroups from thread, I want just disallow them from posting in that thread, is this possible some how?
Not with this mod.
Great mod as always, but i'd like to have seen it where you can block an actual user instead of a usergroup
Could that be done?
You can block by User ID as of versio 1.1.
New Joe
08-29-2012, 11:18 PM
^ Thanks BOP5
This looks like a great idea.
Would it be possible to amend this to block usergroups from threads from a specific thread prefix?
ie, if I have a 'Politics' thread prefix and some users don't play well with others I can have them excluded from all threads with that prefix?
BirdOPrey5
09-11-2012, 11:30 AM
Yes I could probably add something like that in next update. Just very busy at the moment.
Yes I could probably add something like that in next update. Just very busy at the moment.
Thank's BOP & good luck with what's keeping you busy :)
Just a gentle little reminder bump incase you have any spare time, if this would be useful for anyone else or if someone has come up with something similar for themselves..
Not trying to rush you, BOP - If you have real life stuff to keep you busy I respect that.
Would it be possible to amend this to block usergroups from threads from a specific thread prefix?
ie, if I have a 'Politics' thread prefix and some users don't play well with others I can have them excluded from all threads with that prefix?
It would also be great if there was a way users could self exclude from Not Safe For Work threads, though I don't have an issue excluding them manually on request if that's not possible.
BirdOPrey5
12-11-2012, 05:55 PM
Gentile reminders are often effective. :D
Updated to version 1.2- Allows you to specify thread prefix ids to block threads.
Ary Braga
12-11-2012, 10:36 PM
Well, if you want to put the file translated for Pt-BR and which also works for Pt-PT, here is my small contribution.
BirdOPrey5
12-12-2012, 11:42 AM
Thanks. Added link to first post. :up:
Gentile reminders are often effective. :D
Updated to version 1.2- Allows you to specify thread prefix ids to block threads.
Yay :D
Thanks a million, BOP - Very much appreciated http://twistsnturns.net/images/smilies/toppa.gif
sticky
12-13-2012, 03:37 AM
Can this block all threads in a specific forum?
Mr_Running
12-13-2012, 04:01 PM
I have one forum thread block but it appears all threads are blocked in all forums.
I may actually like that option :) Please add this option to the mod. (block all threads in all forums)
Note: The demo above Unblocked Thread in same forum is also blocked.
So, It may not be just me :p bug?
Mr_Running
12-17-2012, 09:46 PM
Reminder current version 1.2.0 is blocking all threads in all forums.
BirdOPrey5
12-17-2012, 10:32 PM
Appears to be a bug- thanks Mr_Running. Please disable for now, will look to fix as soon as possible.
BirdOPrey5
12-17-2012, 11:22 PM
OK updated to version 1.3.0 - should fix the bug and added option to block threads in entire forum as requested by sticky.
Mr_Running
12-18-2012, 02:38 PM
Yes, 1.3.0 fixed the bug :)
In Regards to Sticky's request...
Can this block all threads in a specific forum?
OK updated to version 1.3.0 - should fix the bug and added option to block threads in entire forum as requested by sticky.
This looks like it's UserGroups only and prevents posting?
Block Forums
Block users or usergroups from posting in the these entire forums
Block all threads in Forum?
A list of Forums to select to block all threads would be a good feature. :)
Highlighting which forums to block all threads
BirdOPrey5
12-18-2012, 04:10 PM
There is a new setting in 1.3.0 where you can put in a comma separated list of forumids and all threads in that forum will be blocked.
Mr_Running
12-18-2012, 05:42 PM
The only thing I see is ...Block users or usergroups from posting?
This isn't blocking threads? or I am just wondering around confused. :p
RaiinbowEyes
04-18-2013, 11:07 AM
Can't install :( It says "XML Error: not well-formed (invalid token) at Line 1" I'm running v4.2.0. Please help if you can, I could really really use this mod!
avitor
04-18-2013, 12:22 PM
any confirmation that this mod works with vb 4.2.pl2 ?
thank
BirdOPrey5
04-18-2013, 06:57 PM
It works with all 4.x versions.
For the XML error please try re-downloading the mod and re-extracting the files form the zip, seems like a corrupt file.
RaiinbowEyes
04-20-2013, 12:23 AM
Edit: Nevermind, I got it working! Thank you :)
Bubble #5
08-10-2013, 04:39 PM
Love this hack :up:
Is there a variation of it where the thread starter can block certain members from posting in a thread? Usually these would be trolls. Perhaps making the thread not visible to them?
final kaoss
08-10-2013, 06:58 PM
Pretty noble idea but I'd like to see an option in the drop down thread moderation template when viewing threads/forums.
BirdOPrey5
08-17-2013, 11:55 AM
There are mods out there to ban users from specific threads via the front end, will not be adding any such features to this mod- it is a simple mod that works as it was intended.
Bubble #5
08-17-2013, 03:24 PM
OK thanks BOP, I looked before but didn't see any mod for the - thread starter - to keep trouble makers out of their thread. I did find two other mods similar to this one though, but neither of them had this thread starter functionality either. Thanks.
bryanb
12-11-2013, 11:45 PM
Excellent mod - just installed. :up:
But is there a way to have the thread title blocked? As a guest I can see the thread title, but clicking through I cannot see the contents (as expected).
The reason why I'm asking is that periodically, I have threads that I don't want to appear in Google. It would be nice that Google can't see the title as well.
BirdOPrey5
12-12-2013, 04:12 PM
I understand what you're saying but there is no quick fix to let this mod hide the thread title completely. I'll look into it for a future version but no idea when that would be at this time.
amfor
06-02-2015, 04:34 PM
I have a problem. I've installed this hack. Generally it working good. But all blocked threads still shown in "Text Only"/Archive version of forum. It's really problem because everybody (include google) can read blocked threads in text version of forum.
How to remove blocked threads from "Text Only"/Archive version of forum?
BirdOPrey5
06-02-2015, 09:54 PM
Just turn off the archive. There's zero reason to have that enabled these days. The archive was useful 10 years maybe, though it was debatable even then. Now it's just duplicate content.
You can turn it off in the Admin CP settings.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.