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

Reply
 
Thread Tools
One-touch Spam Ban and Cleanup Details »»
One-touch Spam Ban and Cleanup
Version: 1.2b, by mfyvie mfyvie is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.x Rating:
Released: 08-27-2007 Last Update: 05-19-2008 Installs: 943
Uses Plugins Template Edits
 
No support by the author.

*** Staff note: The author of this modification has passed away in a diving accident. We wish his family all strength in dealing with this tragic issue. ***

One-touch Spam Ban and Cleanup




The main purpose of this mod is to clean up after a spammer. With a minimum of fuss it will:
  • Delete all threads started by the spammer
  • Delete all posts made by the spammer
  • Delete all PMs sent to other members by the spammer
  • Delete all calendar events made by the spammer
  • Ban or delete the spammer as you like
  • Ignore permissions - posts can be deleted in areas that a moderator may not have access to.
The option to activate this tool appears in the drop-down menu in the postbit, as well as on the profile page. From here it is a "one-touch" operation, with the small exception that you must press a confirmation button before the cleanup is made.




See the screenshot for the various options, but some of the more interesting ones are:
  • You can specify individual users (in addition to groups) who can use this tool. This means certain trusted, non-moderator users could have the ability to clean up spam and ban spammers.
  • You can specify users or groups who are protected - they cannot be deleted by this tool.
  • By default, users who have registered more than 30 days ago are also protected from this tool (spammers tend to be caught and removed fairly soon after registration)
  • You can turn the various deletion targets (threads, posts, events, PMs) on or off
  • Select between hard delete or soft delete
This mod is similar to some older mods, but improved in a number of ways:
  • You also have the choice to alter the standard ban and delete reasons before you press confirm.
  • Deletes more types of spam (PMs, events)
  • Simple, quick, effective
  • Single file import (.xml) no file edits, no template edits, no .php files to upload
  • Should work on all versions of 3.6.x and future versions
Installation

Download and import the .xml file via AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product. Remember to click overwrite if upgrading

Configuration

Once installed, check in your AdminCP under "VBulletin settings" and look for the configuration group called "One-touch Spam Ban & Cleanup Options". The default options should be fine for most people.

How to use

If you have rights to use this tool (i.e. are an admin or moderator, or have configured it for the relevant user or group ID) you should see the option appear on the member profile page, or in a drop-down on the postbit (see attached screenshots for an example). The idea is that as soon as you see a spammer select the "One-touch Ban & Clean" option to remove all trace of the spammer.

Support




Support will be given to those who have:
  • Read these instructions (and followed them) and
  • Clicked install
Version history

1.0 - initial version (28.08.2007)
1.1 - security fix (21.09.2007)
1.2b - Beta Fix to work with vb3.7.0 (20.05.2008)

Download Now

File Type: xml product-onetouch_spam_ban_clean_1_1.xml (31.9 KB, 2698 views)
File Type: xml product-onetouch_spam_ban_clean_1_2b.xml (32.0 KB, 2667 views)

Screenshots

File Type: jpg options.jpg (142.7 KB, 0 views)
File Type: jpg confirmation.jpg (36.9 KB, 0 views)
File Type: jpg member.jpg (40.8 KB, 0 views)
File Type: jpg postbit.jpg (53.2 KB, 0 views)

Show Your Support

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

Comments
  #162  
Old 01-07-2008, 07:04 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Catching up on some old posts here...

Quote:
Originally Posted by Seiyaboy View Post
This looks very nice indeed, but I have a question about this before I install it. Do this modification require admins and mods to be logged into their admin/mod cps in order for the banning and thread/post deleting to take place? Or as long as the usergroup permission matches, no extra login is needed? Thanks in advance.
No, they do not have to be logged into the admincp/modcp first. It's a single-file .xml install, it would have actually been faster to try for yourself than type your question

Quote:
Originally Posted by weeno View Post
An issue that we've seen.

If you try to "one touch ban" from a user's name in the postbit, it tries to ban the 1st poster in the thread, not the user whose name you've clicked on.

Obviously, it's the wrong variable is being used.

arn
I haven't seen that before, nor had anyone else report this. Is this issue still current, if so please PM me with the details of your setup to see if I can figure out why that might happen.

Quote:
Originally Posted by DssCrazy View Post
something needs to be added!

Look at the pic! i pointed it out!
Well I looked at the pic you posted and could see nothing other than the fact you drew a box around the forum name used in the example. I'm afraid you'll have to be more specific about what you are trying to say, because I've no idea.

Quote:
Originally Posted by tekguru View Post
Any ideas why we are getting this message when trying to run?

PHP Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

                
DELETE FROM vb_pm WHERE pmtextid IN (SELECT pmtextid FROM vb_pmtext WHERE fromuserid 21443);

MySQL Error  Got error 134 from storage engine
Error Number 
1030
Date         
MondayDecember 24th 2007 08:37:24 PM
Script       
http://www.4winmobile.com/forums/misc.php
Referrer     http://www.4winmobile.com/forums/misc.php?do=spamcleanconfirm&u=21443 
It's been running flawlessly for ages...
When I took that error message and put it into google I found people suggesting that this indicates possible problems with your tables, and suggesting running repair / optimise on them. This message has nothing to do with this mod.

Quote:
Originally Posted by telc View Post
Can you please fix the addon so it will work with MySQL > 4.0.16 the same as VBulletin requirements?
There is no requirement that mods must be compatible with the same versions of older software that the current version of vbulletin allows. That's why a system of minimum version numbers was built into the plugin system. In fact, starting from vbulletin 4.0 I'd be very surprised if they allow MySQL 4.0 to be used. See this post.

This mod uses sub queries. Sub queries are not possible in 4.0. There are a whole host of things which are possible in 4.1 and not in 4.0, as well as performance issues. In fact, many times when I try to do something useful with mysql I find that it is not possible with 4.0. Very small numbers of people still use 4.0 (since the arguments to upgrade, at least from my perspective, are good ones), so I don't really see the sense in committing the additional time required to rewrite what is essentially a simple query into a larger chunk of code to avoid using sub queries.

If someone else wants to undertake the work to rewrite that code to work in mysql 4.0 then I will include it into a new version, but I have limited resources at the moment, so I didn't ever plan to undertake such work.

Since this question seems to come up over and over I'll add it to a FAQ at the start of this thread.
Reply With Quote
  #163  
Old 01-10-2008, 05:09 PM
DjLuv DjLuv is offline
 
Join Date: Nov 2007
Location: New York
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome, hack installed and banned 2 members as they requested it
Reply With Quote
  #164  
Old 01-10-2008, 10:47 PM
WiseOne38221's Avatar
WiseOne38221 WiseOne38221 is offline
 
Join Date: Jun 2006
Location: Big Sandy, TN
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AWESOME! Installing now and thank GOD (and mfyvie) for this hack, LOL.

Reply With Quote
  #165  
Old 01-15-2008, 11:46 PM
AndyPandy AndyPandy is offline
 
Join Date: Apr 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey thanks for the great hack. One problem which has been mentioned: the postbit drop down part is not showing. How do I add my custom template to the hook?
Added: $template_hook[postbit_user_popup]
but still nothing ^

Sorry I am totally new to this*
Reply With Quote
  #166  
Old 01-16-2008, 10:46 PM
cmeinck cmeinck is offline
 
Join Date: Nov 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This completely rocks. It saves me so much time and effort each day. Thank you, thank you, thank you!
Reply With Quote
  #167  
Old 01-18-2008, 08:20 PM
nyqnzguju nyqnzguju is offline
 
Join Date: May 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. thanks for sharing wonderful hack.

I have installed it but i cant see anything when i click on the user. Please let me out. I followed whatever u said but still didnt see anything.



Please PM or Reply. I want this hack badly. lol thanks in adv.
Reply With Quote
  #168  
Old 01-19-2008, 10:02 AM
mfyvie mfyvie is offline
 
Join Date: Mar 2007
Location: Zurich, Switzerland
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nyqnzguju View Post
I have installed it but i cant see anything when i click on the user. Please let me out. I followed whatever u said but still didnt see anything.
Like the others, there is probably something non-standard in your template that is causing this (if you have followed the instructions elsewhere in this thread).

I suggest that if the postbit drop down menu doesn't work for you, then simply click through to the members profile page, then click on the one-touch spam ban and clean option that appears on the profile page to do the same thing.
Reply With Quote
  #169  
Old 01-19-2008, 01:37 PM
jbd jbd is offline
 
Join Date: Jul 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not convinced that is the issue here. I've tried installing this on a fresh board and I still don't see the link in postbit legacy. Does this work with both postbit and postbit legacy?
Reply With Quote
  #170  
Old 01-19-2008, 02:31 PM
Amenadiel's Avatar
Amenadiel Amenadiel is offline
 
Join Date: Sep 2006
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I second the motion to add IP banning as an option in the mod configuration.

Thanks for a great hack anyway.
Reply With Quote
  #171  
Old 01-21-2008, 01:52 AM
joshbond joshbond is offline
 
Join Date: Jan 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really love this mod. Thank you very much.
It makes it so quick and easy to get rid of "unwanted" users.
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 03:06 PM.


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.05590 seconds
  • Memory Usage 2,359KB
  • 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)bbcode_php
  • (6)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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