View Full Version : Moderators Functions - Ban Users From a Thread
AcidX
07-12-2007, 10:00 PM
Ban Users From A Thread
(Keep users out of a particular thread)
Summary:
Allows Administrators/Supermods to ban a user from a particular thread.
Most useful if you have a "flame started" and you dont want to lock the entire thread or ban the user entirely - just keep them out of the thread!
This mod was originaly created by Trigunflame for vb 3.5 (https://vborg.vbsupport.ru/showthread.php?t=109416), but since the developer hasn't been online and updated his mod since 2006, I've decided to publish this port for 3.6 (thanks beano33)! I've tested it on 3.6.4 and 3.6.7 - and it works perfectly.
Features:
1. Allows Banning users from a particular thread.
2. This mod can be used if user has SuperModerator or higher permissions.
3. Cannot ban Mods/Supermods/Admins.
4. Can clear all bans in a particular thread, or bans from All threads.
5. Can ban/unban user from a single menu when clicking their username.
6. Page to display Forum Wide Thread Bans.
Instructions:
1. Download the .zip file
2. Read the guide in the README.txt document
3. Click Install if you like the mod :)
Support:
I will offer as much support as I can for all of you that installed this mod.
Please do not PM me for support, and state your question in this thread.
apiasto
07-13-2007, 11:19 AM
will give it a try , nice idea thnx.
Taios
07-13-2007, 12:14 PM
yaaaaaaaaay tyvm!!
Naxon
07-13-2007, 01:44 PM
WOWW !!
That's what I always needed !!
Installed !!
4x4 Mecca
07-13-2007, 04:00 PM
They can still read it by logging out right? Just not post in it?
AcidX
07-13-2007, 04:06 PM
They can still read it by logging out right? Just not post in it?
Yes, they can read it when they're not logged it.
Exactly the same as banned users. They can read every forum/thread depending on the permissions in their usergroup or the forum permissions - when they're not logged in. Only IP address bans can prevent someone from reading the entire content on your form.
Using this mod you can ban your member's username/userid from the specific thread. So, that way, they won't be able post in the particular thread, nor access it while logged in. There's no other way to limit someone's access from a thread. This is exactly what forum administrators want ;)
Subah
07-13-2007, 06:49 PM
Cool, Thanks
FreshFroot
07-13-2007, 08:05 PM
finally.. someone fixes the hack!! thanks so much mate!!
Taios
07-13-2007, 08:39 PM
Hey,
I installed the mod however am having some difficulties.
In the 'Thread tools' what is in the screenshot appears. However when i click the username, it does not say 'Ban user from thread' :(.
I installed the product and then i did the template edits :).
Any help is appreciated
- Thanksyou
aj8690
07-13-2007, 10:14 PM
This is great. Is there any way to make it so normal moderators can do this in their assigned forums, too?
AcidX
07-13-2007, 10:37 PM
Hey,
I installed the mod however am having some difficulties.
In the 'Thread tools' what is in the screenshot appears. However when i click the username, it does not say 'Ban user from thread' :(.
I installed the product and then i did the template edits :).
Any help is appreciated
- Thanksyou
You probably missed step #3 from the installation manual:
- Open BOTH templates posbit and postbit_legacy;
- FIND:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
- Bellow that code, add the following:
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
Make sure you edit both templates. It will surely work. ;)
This is great. Is there any way to make it so normal moderators can do this in their assigned forums, too?Not yet, but probably will soon.
Code Monkey
07-13-2007, 11:32 PM
Maybe add a temp ban as well.
aj8690
07-13-2007, 11:33 PM
Not yet, but probably will soon.
Thanks! Then it would be perfect! I really hope it is possible.
Taios
07-13-2007, 11:41 PM
You probably missed step #3 from the installation manual:
- Open BOTH templates posbit and postbit_legacy;
- FIND:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
- Bellow that code, add the following:
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
Make sure you edit both templates. It will surely work. ;)
Not yet, but probably will soon.
Ah, sorry about that.
It fixed my problem :D. Thankyou very much!
SuperTaz
07-14-2007, 05:36 AM
How do I use it? Do I right-click on the flamers name and something will come up and click ban or do I just go to the user options menu?
AcidX
07-14-2007, 06:52 AM
How do I use it? Do I right-click on the flamers name and something will come up and click ban or do I just go to the user options menu?
Just click on your member's usernames (not avatars) while reading the specific thread.
You will notice the following options in the drop-down menu:
- View Public Profile
- Send a private message to [member]
- Find all posts by [member]
- Add [member] to Your Buddy List
- Ban User from Thread
Choose "Ban User from Thread" and Whoala!
If you wish to unban the member, either click it's username again and choose "Unban User from Thread", or click Thread tools and choose to: Clear this threads bans, Clear every threads bans, or - View all threads bans.
SuperTaz
07-14-2007, 07:34 AM
Doesn't show and I did everything right. Will it conflict with other mods on my site?
http://img175.imageshack.us/img175/7618/nopeat0.jpg
AcidX
07-14-2007, 08:14 AM
Doesn't show and I did everything right. Will it conflict with other mods on my site?
No mate, I dobt there's a conflict with some other mod.
I'll have to repeat myself thouh :)
You probably missed step #3 from the installation manual:
- Open BOTH templates posbit and postbit_legacy;
- FIND:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if> - Bellow that code, add the following:
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if> Make sure you edit both templates. It will surely work.
Magnumutz
07-14-2007, 12:43 PM
This is exactly what Coders Shack was looking for.
projectego
07-14-2007, 05:59 PM
/me clicks install
Snake
07-14-2007, 06:19 PM
Thanks for this. It might come in handy. =]
SuperTaz
07-14-2007, 06:20 PM
In your zip file it says open one template OR the other. Not both. You should change that if that is what you meant. But it works now, so thanks.
See Here is what it says on your readme document.
3. Open your styles "posbit" or "postbit_legacy" template, whichever you use.
- Find near the bottom of the template:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
- Below that, add:
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])">
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_ban]</a></td></tr>
<else />
<tr><td class="vbmenu_option"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]">$vbphrase[btu_unban]</a></td></tr>
</if>
</if>
AcidX
07-14-2007, 10:02 PM
I'm glad it works now ;)
It also says: "whichever you use".
But since most people don't really know which template to edit, I'll change the readme document.
Thanks.
Is there any way to make it so normal moderators can do this in their assigned forums, too?The limitation of the original is still the limitation of the revised version, it seems. Mods actually need this more than Admins. Mods are always on the site, not the Admins. Oh well, shouldn't look a gift horse in the mouth...
SuperTaz
07-15-2007, 12:07 AM
I'm glad it works now ;)
It also says: "whichever you use".
But since most people don't really know which template to edit, I'll change the readme document.
Thanks.
Thanks man. I just wanted to give you a heads up on that. You had me confused. :)
Muellmann
07-15-2007, 12:57 AM
Awesome hack indeed clicked install now. :up:
Milad
07-16-2007, 07:33 AM
Some edits can be done via the new template hooks
also
for the plugins newreply_start, threadmanage_start and showthread_getinfo, it's better to use init_startup
$datastore_fetch[] = "'btu'";
And then, in next hooks, use $vbulletin->btu
By doing that, you'll optimize the hack and save three unnecessary queries.
Alteran Ancient
07-18-2007, 12:17 PM
I would love to see the ability to ban people (or even usergroups (doesn't matter ATM)) from threads without needing them to post first. What if you don't want them to see the thread in the first place? It would be nice to either have a dialogue where you enter the specific user's userid, or go to their profile page and ban them that way.
At this time, the mod's benefit is that it only installs with a Product file; not seperate .php files.
Censtudios
07-18-2007, 04:46 PM
I installed this and when I use quickreply, no matter how long my quickreply is, it keeps saying I need to insert at least 10 characters.
I had a hard time finding out where it came from and it was this hack!
I dont know what happened, but its annoying, good hack, but shame for the bugs. uninstalled
- edit
now my whole forum is screwed up, thanks a lot!
Alibass
07-18-2007, 05:56 PM
I installed this and when I use quickreply, no matter how long my quickreply is, it keeps saying I need to insert at least 10 characters.
I had a hard time finding out where it came from and it was this hack!
I dont know what happened, but its annoying, good hack, but shame for the bugs. uninstalled
- edit
now my whole forum is screwed up, thanks a lot!
There are over 50 installs of this hack and one is mine and nobody seems to be having this problem. Maybe you need to uninstall and reinstall hack.
AcidX
07-19-2007, 04:30 AM
I installed this and when I use quickreply, no matter how long my quickreply is, it keeps saying I need to insert at least 10 characters.
I had a hard time finding out where it came from and it was this hack!
I dont know what happened, but its annoying, good hack, but shame for the bugs. uninstalled
- edit
now my whole forum is screwed up, thanks a lot!
Just disable/uninstall the mod and see if it's working that way.
Really, this mod shouldn't affect your forum posting abilities in any way, especially not the quick editor. It's probably just a coincidence. Have you installed any other mods that day?
question?
07-23-2007, 08:02 PM
good mod
question?
07-23-2007, 08:30 PM
I've changed the postbit ban, to not allow user group 6:
<if condition="($show['btu_canban']) AND ($post['usergroupid'] != 6)">
and only allowed admins to clear ALL bans:
<if condition="$show['btu_canban']">
<div><label for="ao_btu"><input type="radio" name="do" id="ao_btu" value="btu_clear" />$vbphrase[btu_clear]</label></div>
<if condition="$usergroupid == 6"><div><label for="ao_btua"><input type="radio" name="do" id="ao_btua" value="btu_clear_all" />$vbphrase[btu_clear_all]</label></div></if>
<div><label for="ao_btuv"><input type="radio" name="do" id="ao_btuv" value="btu_view_all" />$vbphrase[btu_view_all]</label></div>
</if>
Nimrod.
07-24-2007, 11:49 PM
Just what I was looking for!
*installs*
SuperTaz
08-02-2007, 03:40 AM
A great hack. I had to use it once already. lol
Nathan2006
08-03-2007, 03:15 PM
Thank you AcidX
nice to see a fully working version of this :D
Install
LadyBeth
08-04-2007, 08:30 PM
Question....does this upset them and do they then make alternate threads? This is problem we have seen when trying to ...cool down people. Infractions can be an issue too. How is this working for people?
AcidX
08-06-2007, 09:43 PM
It's working as it should be.
If members get "upset" because you banned them from a specific thread and start flooding with alternate threads - why not ban them from the entire forum? LadyBeth, you obviously don't have much experience administrating/moderating large boards.
LadyBeth
08-06-2007, 09:47 PM
I do have experience with a fairly large forum, and I just don't want to ban everyone who gets cabin fever. I was just asking if anyone had a backlash from this, that's all.
Julrou
08-09-2007, 03:36 PM
Hi, guys ! :)
Could ameliorate your hack to enable mods to ban user from a thread ?
It could be excellent ! ;)
Thanks,
Jul
Foxtrotelite
08-10-2007, 01:24 AM
Is there a way to allow admins to ban mods from threads?
Julrou
08-10-2007, 01:54 PM
In fact, it would great if we could be able to select which groups can ban user from a thread, and which group can be banned.
:up:
:)
Julrou
08-13-2007, 03:08 PM
Oh no !!
I don't know what i've done, but now, when i try to ban a user from a tread, i've this message (in french) : "action sp?cifi? non valide", which signify "specified action non-valid".
I don't give a damn the action isn't valid !! :o
What should i do to repair this ?
Thanks a lot for your answers
Best regards
Jul
ABMAC
08-15-2007, 10:35 PM
I'm also getting the "invalid action" error. Did 3.6.8 break this mod?
MiahBeSmokin420
08-16-2007, 02:59 AM
ok i got a dumb ass problem with this
anyone can probally answer this
when i click the user name it just takes me to there profile
is there a setting that will allow that to be disabled?
i tried lookin but didnt see anything
but like i said its a dumb problem
any help would be great
once again the problem is when i click there user name it take me strait to the profile not showing any list
lostgirl815
08-16-2007, 04:58 AM
Are you clicking on their name in the post itself? That's what I did - and I get the dropdown list with ban-from-thread included.
MiahBeSmokin420
08-16-2007, 05:08 AM
nope sorry i fixed it
i had removed the <div id="postmenu_$post[postid]"> tag out of post bit legacy a while back and for got to add it back in
This mod works great and highly recomend it to everyone
**Clicked Installed**
AcidX
08-16-2007, 09:14 AM
<i>Coming Soon</i>:
Optional "trigger" with which you can give moderators permission to ban users from threads.
Does anyone else using 3.6.8 have some problems with the mod?
Julrou
08-16-2007, 10:08 AM
Coming Soon:
Optional "trigger" with which you can give moderators permission to ban users from threads.
Cool.:cool: :up:
Does anyone else using 3.6.8 have some problems with the mod?
It would be great if you could fixed it up. ;)
Julrou
08-18-2007, 06:12 PM
It would be great if you could fixed it up. ;)
News for solving this problem ? :)
;)
Jul
LegolasTheElf
08-21-2007, 03:31 PM
I'd love to see an option that allows READ only access to a thread, or a complete ban from the thread.. Give an option to people who you want to read, but, not reply, and those who you don't even want anywhere around the thread :)
Julrou
08-21-2007, 04:03 PM
I'd love to see an option that allows READ only access to a thread, or a complete ban from the thread.. Give an option to people who you want to read, but, not reply, and those who you don't even want anywhere around the thread :)
I'd love the bug would fixed... :siffle:
ninjamaster
08-21-2007, 07:53 PM
can anyone tell me if it works on vb 3,6,8 ?
subnet_rx
08-21-2007, 11:17 PM
This is an interesting mod, but I have a question. Does installing this mean that every time someone clicks on a post, the server has to check to see if they are banned from the thread?
SnowBot
08-22-2007, 12:18 AM
How do I use it? Do I right-click on the flamers name and something will come up and click ban or do I just go to the user options menu?
Just go to the username and click it, it will apear :)
great addon, i was just about to start a mod like this, saved me the time big THANKS.
Snowy
Julrou
08-22-2007, 10:17 AM
can anyone tell me if it works on vb 3,6,8 ?
No, doesn't work yet on vb 3.6.8
Maybe it would be fixed... :rolleyes:
ZGeek
08-22-2007, 11:14 PM
If this can be fixed up for 3.6.8 and allow mods to ban then I will be -INSTALL!- It's a great mod. :)
Julrou
08-23-2007, 10:55 AM
If this can be fixed up for 3.6.8 and allow mods to ban then I will be -INSTALL!- It's a great mod. :)
Yes, it would be a great mod.
:up:
optrex
08-23-2007, 02:05 PM
If this can be fixed up for 3.6.8 and allow mods to ban then I will be -INSTALL!- It's a great mod. :)
I'm watching this too - will install when 3.6.8 and mod issues addressed
fixer
08-23-2007, 05:57 PM
it is cool
thanks for the hack
but what about giving the thread starter the ability to ban specific member from posting in his thread.
is this possible??
as you know, when anyone starts a thread wants to see a lot of replys regarding the subject that he wrote about. so, he can use this feature if someone try to (what is the word :confused:, I AM SO BAD IN ENGLISH :mad: ) lets say destroy ( :D looooooooool) his thread.
i.s.s.w
08-23-2007, 06:21 PM
No, doesn't work yet on vb 3.6.8
it is cool but i need ban user on thread
without loging in my admincp !
:)
AcidX
08-24-2007, 12:14 AM
Sorry guys, since I don't have the license to install 3.6.8 - I won't be able to fix it in a while.
Everyone is welcomed to help. I'd be grateful if someone fixes the issues with 3.6.8... If you have coding abilities, a fresh vbulletin installation, and some spare time for tests - be my guest. ;)
AdeptusAstartes
08-25-2007, 12:04 PM
it works on 3.6.8 for me, :confused:
2impulsiv
08-25-2007, 12:12 PM
Yeah I have no worries with this mod on my 3.6.8 board...
:)
Its a good mod cheers...
:)
Hi,
can i translate The Hack in German and publish him an vbulletin-germany.org ?
AcidX
09-15-2007, 11:20 PM
Yes, of course.
mgurain
09-17-2007, 05:48 AM
Very good mod AcidX.
Can you make the installation easier by making the tamplate changes also in the product?
because now we need to update every style templates!
JamesUK
09-17-2007, 07:47 AM
Hi,
we've been using this for a while and it works great, thanks a lot :)
I have a couple of requests:
We have recently changed the location of the modcp folder following a security breach..... is there an easy way I can change the location this mod is pointing to?
We almost always ban people permanently, cos 99% is just spam rubbish. Is there a way I can set the ban to permanent as default, so we don't have to click the drop down box each time?
Julrou
09-22-2007, 11:53 AM
Is there a way to update it to VB 3.6.8 ?
:)
AllenSam
09-22-2007, 07:41 PM
I have it on 3.6.8 and it works fine...
Julrou
09-23-2007, 09:07 AM
I have it on 3.6.8 and it works fine...
Coooooooooool.
Not for me. :)
Any mod out there that allows a thread to only be visible/postable by a specific usergroup(s).
I'd like to have certain threads in a forum require a higher userlevel for someone to even read the thread.
Senator Jack
01-03-2008, 02:14 AM
Beautiful! Works on 3.6.8 for me. Any update on allowing the moderators access?
Thanks,
Jack
kiril_cvetkov
01-05-2008, 05:04 PM
Good work Marjan, works fine :) ;)
scoobasteve
01-28-2008, 06:13 AM
Is there a way we could give the ability to ban a user from a thread to the Thread Author as well?
That'd be very useful...
This dosent work for 3.6.8? I tried hitting Ban user from thread and it says: "Invalid Action Specified"
Jimandbob
02-05-2008, 07:51 PM
Works for me on 3.6.8 :)
Works for me on 3.6.8 :)
Thats strange.. thought.. why would it say Invalid Action Specified for me?
Julrou
02-06-2008, 01:05 PM
Thats strange.. thought.. why would it say Invalid Action Specified for me?
Same thing for me when i was on vB 3.6.8...
Now, i'm on vB 3.7 b?ta, but i haven't test it on my board...
Bubble #5
02-14-2008, 08:29 PM
Any update on this? :confused: Does it work on 3.7? :confused: Hopefully it does, as this is a great hack to have on every forum :)
choccyclaire
02-21-2008, 06:00 PM
I had this on 3.6.8 and it worked, then I needed to uninstall it to do something. Now I have reinstalled it and it says
Invalid Action Specified
I find that odd, it worked and now doesn't?
Skyrider
02-27-2008, 07:08 PM
I hope someone can help me with this as I'm new with installing addons. Within (ShowThread) I cannot find any "<if condition="$show['openclose']" and I only have 1 showthread file. And I also can't find any "posbit" & "postbit_legacy" templates files.
bc3tech
02-27-2008, 08:18 PM
i'd like to see this linked to usergroups to give permission to moderators to do the same thing. not just super mods / admins.
bc3tech
02-27-2008, 08:19 PM
This dosent work for 3.6.8? I tried hitting Ban user from thread and it says: "Invalid Action Specified"
works on my 3.6.8 board.
Skyrider
02-27-2008, 09:16 PM
I installed this on 3.6.8, but I don't see any ban/unban function like in the screenshots. I installed the xml file, and edited the 3 templates. Any idea what's up?
diola
02-28-2008, 12:39 AM
It works on my 3.7 board, but just for supermods and admins, moderators cant ban from a thread. How can i give this permission to moderators?
scarex80
03-02-2008, 08:35 PM
i'd like to see this linked to usergroups to give permission to moderators to do the same thing. not just super mods / admins.
It works on my 3.7 board, but just for supermods and admins, moderators cant ban from a thread. How can i give this permission to moderators?
It could be a very interesting option. Expecially in very large board, mods of every section can use this tool without referring to supermods.
MeNeedHelp
03-03-2008, 09:08 AM
This mod will do that...
https://vborg.vbsupport.ru/showthread.php?t=162037
RFViet
03-09-2008, 02:01 PM
This mod will do that...
https://vborg.vbsupport.ru/showthread.php?t=162037
That mod is only for vB 3.6.8 :p
choccyclaire
03-24-2008, 08:28 PM
I recently reinstalled this and clicked yes to overwrite. It's working again great. Thanks. :D
And I'm running Beta 5.
Sanctorum
04-03-2008, 11:36 AM
For some reason I can't edit Polls with from the Thread Tools menu in 3.6.9, the option disappeared after I uninstalled and now it only shows in the upper right corner of the Poll and not in the Thread Tools menu :/. I've restored all the forum files and it's still broken, must have done something with the Database?
choccyclaire
04-03-2008, 11:55 AM
For some reason I can't edit Polls with from the Thread Tools menu in 3.6.9, the option disappeared after I uninstalled and now it only shows in the upper right corner of the Poll and not in the Thread Tools menu :/. I've restored all the forum files and it's still broken, must have done something with the Database?
You might want to try reverting your SHOWTHREAD template and then adding the ban thread condition.
Sanctorum
04-03-2008, 11:57 AM
I added the mod again, cleared all bans and the option still isn't in the Thread Tools, but only on the top right corner of the Poll. Oh well, maybe the Edit Polls option will be fixed when I upgrade to 3.7? The odd thing was, was when the option was present, I tried to edit a poll and it said "Invalid Option", I uninstalled and that's when the option disappeared.
OLDrCF
04-10-2008, 05:16 AM
Interesting mod, have it up and running ok :)
Just wondering, is it possible to sorta do the reverse, give usergroups access to a thread (read & write) in a forum they would usually not have access too?
samraz972
05-01-2008, 01:59 AM
I beg you to make this mod for 3.7
justchil
05-02-2008, 08:37 AM
Also hoping a 3.7 version comes out :)
J98680Bxxxxx
05-02-2008, 09:03 AM
Excellent mod. Installed on vB 3.7 CR2, works fine. :up:
Ok ive just tried installing this on 3.7.0 each time i try banning somebody it says.
"Unbanned user from thread"
centralss
05-27-2008, 09:55 PM
it bans but doesn't show uban user from thread when you want to unban them!!
centralss
05-27-2008, 11:41 PM
ok found something. I have to click ban user from thread twice, THEN is bans. After I go back to the user pop up, it shows unban user from thread, but I have to click it twice. (first time says banned user from thread, 2nd click says unbanned user from thread)
So any ideas on why I have to click it twice for banning and unbanning?
MorrisMcD
06-03-2008, 03:36 PM
I decided that I was going to try out the ban via post hack instead.. Well. I didnt want to lose the bans I performed with this hack.. So I removed the uninstall code from the product before uninstalling.. Not the db tables and such are still there I guess.. I didnt like the other one as much so I decided to come back.. But now I cant install the product without removing the tables.. is there anything I can do to get the product back and maintain the existing data?
Hi ive discovered this works with 3.7.1 now... but only the admin can ban from thread not the moderators.. anybody know how we can make this work for moderators please... ive been trying to assign a moderator permission but it dosent work.
Konstantinos
06-21-2008, 04:38 AM
i wanted to be able to see who is banned in the postbit and to ban/unban from the icon images. so in postbit_legacy
$post[iplogged]
after i added
<if condition="$show['btu_canban']">
<if condition="!isset($btu[$post[threadid]][$post[userid]])"><a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/threadban.png" alt="$vbphrase[btu_ban]" border="0" /></a>
<else />
<a href="postings.php?$session[sessionurl]do=btu_ban&t=$post[threadid]&u=$post[userid]"><img class="inlineimg" src="$stylevar[imgdir_button]/threadunban.png" alt="$vbphrase[btu_unban]" border="0" /></a>
</if>
</if>
whould be nice if u could add some more stuff like ban reason . auto unban , send auto pm to banned user etc
AcidX
06-21-2008, 10:22 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=183183" target="_blank">Here's the 3.7 version</a>.
I've added the option to ban through the icons too. Many thanks Konstantinos!
I'm currently working on an improved version. Here's the to-do list:
- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.
If you have any more ideas, don't hesitate to share them with me.
Konstantinos
06-22-2008, 07:07 AM
those options are cool. hope u implement them without file edits (as the other mod) . maybe an option to display which mod did the ban to avoid confusion whould be cool too.
Julrou
06-22-2008, 08:59 AM
Here's the 3.7 version.
I've added the option to ban through the icons too. Many thanks Konstantinos!
I'm currently working on an improved version. Here's the to-do list:
- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.
If you have any more ideas, don't hesitate to share them with me.
Did you upload the new package ?
AcidX
06-22-2008, 11:12 AM
Did you upload the new package ?Yes.
Sorry, I forgot to paste the link (https://vborg.vbsupport.ru/showthread.php?t=183183).
Julrou
06-22-2008, 11:43 AM
Yes.
Sorry, I forgot to paste the link (https://vborg.vbsupport.ru/showthread.php?t=183183).
Great !
Thanks, i'll test it on my board soon.
I'll also see if i can do something to allow mods to ban from a thread.
Stifmeister2
06-22-2008, 06:01 PM
Hey, I'd like only Admins and Super Mods to be "safe" from this thread banning. We have a lot of moderators on our forums (clan forums, mods for every clan section) so many people have the immunity now. I want so that normal moderatos can be banned too.
I can edit the files by myself, just need help what to edit. ;)
jellybaby
09-15-2008, 09:00 PM
Does this work for 3.7?
Megareus Rex
12-02-2008, 01:46 AM
Hey, I'd like only Admins and Super Mods to be "safe" from this thread banning. We have a lot of moderators on our forums (clan forums, mods for every clan section) so many people have the immunity now. I want so that normal moderatos can be banned too.
I can edit the files by myself, just need help what to edit. ;)
This is something I'd like to know too. I searched for it in the code, but it seems like a bnaklet "Can moderate?" conditional, thus making exempting regular mods from its protection difficult, and more than I can do on my own.
Don't work correctly with 3.8. Problems when User edited post's
bart6767
03-05-2009, 02:17 PM
Works fine on 3.8.1
user 1-2-3
05-11-2009, 06:13 PM
I have a little bit different task: I want to make some threads on forum visible only by specified users. I understand, that I can use this mod for this purpose, but I want make it as simple as possible in order to avoid any conflicts with the newer versions of vB.
The system should work as follow: users enter data to a 3rd party application and this application generate a vB thread and grant access to it only for users, who've contributed the data (according to the usernames).
Any help and ideas will be appreciated. :)
bada_bing
12-09-2009, 07:53 PM
I was wondering if anyone knows if a hack that allows smods and admins to ban users from a specific forum? Example is if I see an issue with a member that is abusing the selling forums I want to ban him form that forum for a specific date/time range.
thanks
Someone want to make this for 4.0?
Id like it for version 4 too please?
mmllc
07-19-2010, 06:18 AM
works great, thank you, 5/5 stars!!!
kuraba
09-07-2010, 09:39 AM
still moderators can't ban in thread or ??
jluerken
09-23-2010, 05:33 AM
I sign the requests for a vb4 version. Please!
V8Owner
01-07-2011, 05:38 AM
I would also like to see this mod for VB4 please :)
JesWhite
02-02-2016, 10:26 AM
I would also like to see this mod for VB4 please :)
me too.
and again.. i want to see this addon's forum blocker...
i think a user will saw i forum and comments but not allow to write..
MarkFL
02-02-2016, 11:19 AM
me too.
and again.. i want to see this addon's forum blocker...
i think a user will saw i forum and comments but not allow to write..
There is a vB4 version here:
Ban Users From a Thread (https://vborg.vbsupport.ru/showthread.php?t=259017)
I don't know if it works with vB4.2.x. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.