vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - QUICK BAN in postbit_legacy for vB3.6 -Instantly ban spammers! (https://vborg.vbsupport.ru/showthread.php?t=133257)

LordDB 12-04-2006 10:00 PM

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! ;)

Distance 12-05-2006 09:35 AM

Very nice... i will use this for spammers thanks

JamieLee2k 12-05-2006 10:37 AM

Awesome, something that will really help me

projectego 12-05-2006 10:51 AM

[high]* projectego clicks install :)[/high]

Qwest 12-05-2006 11:57 AM

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]

puertoblack2003 12-05-2006 12:24 PM

Quote:

Originally Posted by Qwest (Post 1132362)
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]

Actually that mod has been out already long ago and i still used this mod on my new board you can check it here https://vborg.vbsupport.ru/showthread.php?t=93057

LordDB 12-05-2006 12:50 PM

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! ;)

TheBlackPoet 12-05-2006 01:07 PM

i installed... quick is the key!!!

puertoblack2003 12-05-2006 01:10 PM

Quote:

Originally Posted by daPLAYBOY (Post 1132384)
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! ;)

Sorry to bust your bubble and i'm not raining on your parade either , thought i appropriate everyone hard work but that quote was directed to the user that said he never seen that hack and all i basicly did was and showed that there were a hack just like yours and that hack in question also unbanned and banned check the pic i use it that way myself

http://www.motoxtremehosting.com/pho...n_Unbanned.png

edited: i do understand what you mean now test it

scottct1 12-05-2006 02:20 PM

There is an error in the code

</span needs a > after the </span part to make it </span> :)

LordDB 12-05-2006 02:37 PM

Quote:

Originally Posted by scottct1 (Post 1132450)
There is an error in the code

</span needs a > after the </span part to make it </span> :)

Thx for the feedback!

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!

farooqaaa 12-05-2006 02:43 PM

OMG!!!!!

I really want this!!!!! Thanks alot !!!

*farooqaaa clicks install.

fleshy66 12-05-2006 10:24 PM

nice little mod, thanks :)

pcoskat 12-05-2006 11:12 PM

Nice! Any chance we can get 'quick delete' too?

akanevsky 12-06-2006 12:18 AM

It's spelled "maelstrom".

LordDB 12-06-2006 02:11 AM

Quote:

Originally Posted by Psionic Vision (Post 1132880)
It's spelled "maelstrom".

That's for the User to decide on! What does it mean?;)

Br.

scan-pa 12-06-2006 03:29 AM

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.

Cybershaolin 12-06-2006 05:13 AM

I have the same question :)

LordDB 12-06-2006 07:31 AM

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)">
Hope this is OK!

Any experienced coder plz verify to others if it's fine. Thx! ;)

project-Buckfas 12-06-2006 10:21 AM

Great hack. I've been waiting for this!


Now that would be super Pcoskat!
Quote:

Nice! Any chance we can get 'quick delete' too?

Cybershaolin 12-06-2006 11:51 AM

Quote:

Originally Posted by daPLAYBOY (Post 1133041)
I stand corrected if I'm wrong, but here goes:

Change the Usergroup ID after this:

==

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)">
Hope this is OK!

Any experienced coder plz verify to others if it's fine. Thx! ;)

Thanks I'll try it tonight. Just one point though, if we add other group ID's, these ones should not be able to ban any members within our own groups! We never know...

scan-pa 12-06-2006 05:09 PM

That fixed it. Exactly what I needed. Great job. Clicked "installed"

Thanks.

LordDB 12-06-2006 06:38 PM

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.

Cybershaolin 12-07-2006 12:47 AM

well using that code gave me a parse error:
Code:

<if condition="$bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
You forgot a "(" I think at the beginning. because it goes fine after I added it Shouln't have been something like this:
Code:

<if condition="($bbuserinfo[usergroupid] ==5 || $bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7)">
Now, I forgot to check the hack at first before doing the group modification but in both ways it does not work for me.

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
It looks OK but it gives me this error page for result:
Quote:

Not Found
The requested document was not found on this server

LordDB 12-07-2006 04:13 AM

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.

LordDB 12-08-2006 05:07 AM

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.;)

Cybershaolin 12-08-2006 05:34 AM

I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.

LordDB 12-08-2006 05:51 PM

Quote:

Originally Posted by Cybershaolin (Post 1134338)
I tried it as a super admin, as a super mod and as a moderator. All of them give me this error.

Hi, Cybershaolin!

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.

Lovinmysailor 12-08-2006 06:21 PM

Thanks works great!!!!

LordDB 12-09-2006 06:06 AM

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!

Trana 12-10-2006 08:17 PM

From my tests, this only works for primary usergroups. Has anyone gotten it to work with a secondary usergroup?

Aclikyano 12-16-2006 02:18 PM

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?

LordDB 12-16-2006 04:31 PM

Quote:

Originally Posted by Aclikyano (Post 1139755)
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?

I can assure you that this indeed works 100%; as users have already posted!

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

Trana 12-18-2006 03:05 AM

Quote:

Originally Posted by daPLAYBOY (Post 1139807)
I can assure you that this indeed works 100%; as users have already posted!

100%? Are you saying that this works for secondary group memberships?

hennanra 01-06-2007 07:38 AM

Quote:

Originally Posted by pcoskat (Post 1132858)
Nice! Any chance we can get 'quick delete' too?

Agreed, a quick delete would be brilliant. This is a great mod still, but the quick delete would be more suitable in many cases. Also, I would say that the Prevent Spam Module is a must have alongside this as the way spam is nowadays, you really cannot afford to delete after the event.

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.

GeoffE 01-06-2007 02:35 PM

installed, works great :)

Trana 01-06-2007 08:23 PM

Quote:

Originally Posted by Trana (Post 1140760)
100%? Are you saying that this works for secondary group memberships?

Anyone gotten this to work with secondary groups?

LordDB 02-17-2007 03:49 AM

Quote:

Originally Posted by Trana (Post 1152164)
Anyone gotten this to work with secondary groups?

Hello!

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">
to

Code:

<if condition="can_moderate()">
then whoever you assign such powers to, can therefore QuickBan!

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.

Trana 02-18-2007 08:03 PM

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.

Mrdby 05-22-2007 04:28 PM

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
  • Page Generation 0.01330 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete