![]() |
QUICK BAN in postbit_legacy for vB3.6 -Instantly ban spammers!
v1.2
About the Code: Now you can Ban a user/spammer instantly from the postbit! Just click the Username in the thread, and then click 'Ban User' to ban directly! This Mod has now been improved & updated today, Tuesday, 7th August, 2007, with the option of adding staff ID's which includes the extra code where required! Two Code options within! Works on vB versions 3.6 to 3.8 so far! Instructions of use included in Code! Hope you enjoy its convenience! ;) Feedback very welcome! Tested @ http://www.norfolkmanagementrentals....orum/index.php http://www.cellpda.tk http://www.satnav.tk http://www.norfolk.tk Enjoy!;) Example here: https://vborg.vbsupport.ru/external/2009/07/70.jpg If you like, kindly Donate here: PayPal If you do download, be respectful, and Click the Mark as INSTALLED button in the Mod Options box top right! Thx! ;) |
Very nice... i will use this for spammers thanks
|
Awesome, something that will really help me
|
[high]* projectego clicks install :)[/high]
|
Sweet Jesus thank you!!!
All the porn spammer bots are getting out of hand. I really was starting to wonder why this mod wasn't out there already and why it's not a default feature in vb. Thought I was going to have to do this myself. HINT: now if only this made it so you didn't have to login to admin every time :) [high]* Qwest install x 2[/high] |
Quote:
|
puertoblack2003, my Mod is not exactly the same as the one you're stating, as this Mod only BANS which is the main reason I did it, and doesn't give the option to unban like the one you stated!
Anyway, this is updated for all vB3.6! Remember to click the INSTALL button, plz! ;) Cheers! ;) |
i installed... quick is the key!!!
|
Quote:
http://www.motoxtremehosting.com/pho...n_Unbanned.png edited: i do understand what you mean now test it |
There is an error in the code
</span needs a > after the </span part to make it </span> :) |
Quote:
Although I've installed the Mod, I encountered no issues with the omission of the > when I tested the Ban function! Nevertheless, I have amended what you stated! ;) Cheers! |
OMG!!!!!
I really want this!!!!! Thanks alot !!! *farooqaaa clicks install. |
nice little mod, thanks :)
|
Nice! Any chance we can get 'quick delete' too?
|
It's spelled "maelstrom".
|
Quote:
Br. |
How do I add the other moderator usergroup id's to the code, it currently only allows "6 - Admin" I have a total of 4 usergroups to have this access.
Can I set this up as an array of usergroup id's ??? here is the line of code that would need changed. <if condition="$bbuserinfo[usergroupid] == 6"> Thanks for any help. |
I have the same question :)
|
I stand corrected if I'm wrong, but here goes:
Change the Usergroup ID after this: Ensure that this: "( is put at the beginning == then if you wish to continue to add ID's place this: || inbetween, and repeat so it looks like this; ||$bbuserinfo[usergroupid]==6 then if you want to finish, place this at the end of the ID number: )"> So! Here's an example: Code:
<if condition="($bbuserinfo[usergroupid]==9 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==12)"> Any experienced coder plz verify to others if it's fine. Thx! ;) |
Great hack. I've been waiting for this!
Now that would be super Pcoskat! Quote:
|
Quote:
|
That fixed it. Exactly what I needed. Great job. Clicked "installed"
Thanks. |
Hi Cybershaolin, each ID should be protected from being banned!
Kindly try the hack out, and report your findings here! Thx!;) Thanks, so far, for the positive feedback guys, and I'm pleased to be able to help you all! Br. |
well using that code gave me a parse error:
Code:
<if condition="$bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)"> Code:
<if condition="($bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)"> I see the option to ban in the postbit but when I click on it, it opens a popup window with a link like this one: Code:
http://myforum.com/forum/modcp/banning.php?do=banuser&userid=7 Quote:
|
Thx for the feedback, Cybershaolin! I've now adjusted, as found! ;)
Will investigate your errors and get back here shortly!;) Practice make perfect in the end!;) Br. |
Hi, Cybershaolin! Can you tell me the 'status' that you encountered this problem? Were you performing this as Super Admin or what? If you were, then it is some other conflict within your templates?
Look forward to your feedback! Br.;) |
I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.
|
Quote:
Sadly, it seems for sure, that your issues are not related to this Mod, but perhaps a conflict with something else! Just with 'Super Admin' alone, as directed in my code, does work 100%, as I use it! :) Sometimes this does happen with different customisations! Let's see if some other experienced coder can shed light on this for you! Br. |
Thanks works great!!!!
|
Thanks for your positive feedback, Lovinmysailor! It's such a simple, convenient, and quick code to install isn't it! No excess buttons in postbit_legacy to worry about! ;)
Don't forget to click the 'INSTALL' button if it 'worked' for whoever downloads!;) Cheers! |
From my tests, this only works for primary usergroups. Has anyone gotten it to work with a secondary usergroup?
|
doesnt work.
nothing happens when you click on name / ban user. My admins usergroup is 6 including me. I think it might be onClick="void(0) or something....... I want this to work. What usergroups do I need to put for it to work? |
Quote:
You have an existing problem which may well be in conflict with this mod, so sorry it hasn't worked out for you! Br.:D |
Quote:
|
Quote:
I had to close my forum for weeks to review different solutions as on one day I had about 30 spam posts on my forum - the problem with banning as a concept is that spammers never use the same id or even ip address in my experience - that is why they are so succesful. Using a keyword or url filter really limits the ability of spammers to wreak havoc. |
installed, works great :)
|
Quote:
|
Quote:
Been very busy of late! Sorry for not replying!:) If you want to include, say, your Moderators in with this, then change: Code:
<if condition="$bbuserinfo[usergroupid] == 6"> Code:
<if condition="can_moderate()"> Please, guys, click the Install button, or kindly donate if your use this, as it's nice to know it's working for you! Thx!:) Br. |
But that uses the forum moderators (set per forum) as well.
That will allow a person who is set as a moderator for the forum to ban anyone they want that posts within their forum. I need to be able to use secondary usergroups I think. |
to confusing
|
All times are GMT. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|