Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Spam Decimator Version 1.0.5 Details »»
Spam Decimator Version 1.0.5
Version: 1.0.5, by RaidenDAWG2 RaidenDAWG2 is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 08-06-2005 Last Update: 06-21-2008 Installs: 121
Uses Plugins Template Edits
Additional Files  
No support by the author.

First of all, credit for the idea goes to zsdave, with his Spam Killer 3000 hack (https://vborg.vbsupport.ru/showthread.php?t=76503)

That being said, this is a slightly more powerful 3.5 version of that rewritten from scratch.

Features Include:

-Ban a spammer with two clicks.

-Delete all threads by a user (soft or permanent, ACP configurable)

-Delete all posts by a user (again, soft or permanent, choice is yours)

-Permit or deny mod/super mod access through ACP

-Email the spammer saying pretty much haha, caught you sucker (default email can be configured using ACP)

-Email the webmaster informing him/her of the attack

-Option to move all soft deleted threads to a specified forum (for safe keeping in case IP addresses or whatnot are later needed for legal proceedings or whatever)

Most everything here works with vB native functions (i.e. delete_thread, etc.), so forum, thread, and post counters are automatically updated.

Install

Installing is quite simple. Simply upload the included files (three of them, decimator.php, includes/functions_decimator.php, and images/misc/spambutton.gif) preserving hierarchy, do precisely ONE template edit (a copy and paste job if there ever was one ), and import the product file, and voila! you're done and ready to take on any spammer who comes your way.

Other Stuff

**UPDATED!!!

Spam Decimator 2.0.0 is slated for a late June 2008 release, with a features list to follow.\

Spam Decimator 1.5.1 for 3.7.x is posted as a vB 3.7 add on.

Thanks to everyone here at vB.org for being a fine community to be a part of. Thanks to Marco for helping me out in one of the changed variables for 3.5 threads, really helped a lot . Thanks to my staff over at Pigskin Heaven for putting up with me while I was working on this.

That's basically it. Enjoy, and as always, click install

Changes:
1.0.1 - Fixed problems with xml product file, validated for use with vB 3.5 Gold release.

1.0.2 - Fixed mod/super mod access bug as well as fixed templates for non-vB default styles.

1.0.3 - Fixed all known remaining bugs, rewrote email system to properly parse emails using native vB functions.

1.0.4 - Attempted to fix bug I can't find...updated main template.

1.0.5 - Fixed no mod access bug.

-RD

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 03-04-2007, 01:27 PM
wArDoG wArDoG is offline
 
Join Date: Mar 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lukemax View Post
I tested this function out, I went to another, created a user (test) and made a post, then I went to my main computer, logged in as Administrator, open the post, clicked on the spam button, on the next pace, when I clicked the decimate button Iget this error?

Fatal error: Existing data passed is not an array
Called set_existing in /home/lukemax/public_html/forum/includes/functions_databuild.php on line 164
Called build_forum_counters in /home/lukemax/public_html/forum/includes/functions_decimator.php on line 107
Called move_spam_threads in /home/lukemax/public_html/forum/decimator.php on line 176
in /includes/class_dm.php on line 235
Am I missing something?

I had the same problem and fixed it by changing the default setting of 1 in the "Threads moved to Forum" setting to a real forum. In my case I set up a spam forum as a child forum in the moderators forum. Changed the forum id from 1 to 73. Now SD works as advertised. Thanks a million for this mod. Life just got that much easier. :up:
Reply With Quote
  #143  
Old 03-06-2007, 06:44 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought this hack was supposed to be supported?
Reply With Quote
  #144  
Old 03-06-2007, 02:00 PM
AFemaleProdigy's Avatar
AFemaleProdigy AFemaleProdigy is offline
 
Join Date: Mar 2006
Location: Murrells Inlet, SC
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG I love this! Installed on 3.6.5 (two different sites too). Been using it and it's great! Thanks!
Reply With Quote
  #145  
Old 03-13-2007, 03:18 AM
styleforum styleforum is offline
 
Join Date: Jun 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
So did you ever find out if it works on 3.6.4?
Sorry I don't know enough to help you much, but yeah, it works fine on 3.6.4 as of right now... could it be a conflict with another plugin?
Reply With Quote
  #146  
Old 03-13-2007, 03:16 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know, it shouldn't be.

Since there is no support to get it working I guess our only option is to UNinstall it and use this spam hack instead.
Reply With Quote
  #147  
Old 03-21-2007, 08:50 AM
W1zzard W1zzard is offline
 
Join Date: Jun 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

suggestion: when doing the ip address scan also display postcount and usergroup (banned?). this would make it easier to identify ips that are used for spamming only
Reply With Quote
  #148  
Old 03-28-2007, 12:59 PM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaidenDAWG2 View Post
Haven't tested it, but it should theoretically work with 3.6 assuming none of the functions it calls have changed...

I should know here within the next couple weeks for certain though. Still need to upgrade my development environment to 3.6.

-RD
I have just put it on 3.6.5 and done several tests. I did the 'limit' (see https://vborg.vbsupport.ru/showpost....&postcount=113 ).

It appears to work well. Good job, and thanks! It will be nice if a Version 2 comes out.
Reply With Quote
  #149  
Old 04-15-2007, 05:30 PM
KidCharlemane KidCharlemane is offline
 
Join Date: Apr 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by styleforum View Post
Hey, I've been using this a while and it's great. Just now setting it up on 3.6.4 which I've just upgraded to, not sure if it will work yet, but I wanted to ask:

Is there some way to keep the spam button from showing up on users with at least X posts? Most spammers we kill off have only ~20 posts max, so I set up a conditional:

Code:
<!-- spam decimator -->
<if condition="$post[posts]<=80">
                <if condition="!in_array($post[usergroupid], array(5,6,7))"><if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"><a href="#" onclick="window.open('decimator.php?userid=$post[userid]&amp;threadid=$post[threadid]&amp;postid=$post[postid]','spam_decimator','statusbar=yes,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img src="images/smilies/spam[1].gif" alt="Spam Kill" border="0"></a></if></if></if></if>
<!-- / spam decimator -->
But there is a problem - the spam button shows up on people with under 80 posts, and also on people with over 1000 or so. I'd rather not have the chance that one of our 1000+ posters would get accidentally decimated by a drunk mod, because it would be a serious pain to fix. Is there a good way to do this so the button only shows up below X posts?

Thanks for all your work writing this, it's saved us a ton of time.
Anyone come up with a workaround for this yet? Ive twice had a mod nuke the wrong member this week and had to go through and manually undelete all the posts. I'd hate for a member with +1000 post count to get nuked by mistake.
Reply With Quote
  #150  
Old 04-24-2007, 11:00 PM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found this in another thread for another product here ( https://vborg.vbsupport.ru/showthrea...81#post1234781 ):
Quote:
We had a problem with this plugin inserting the nofollow tags when a user passed the 1,000 post mark. The problem was a comma inserted into the number of posts (e.g. 1,000). We fixed it by changing this line in the plug in:

PHP Code:
if (is_member_of($post567) OR $post['posts'] > 50
to this (which strips the unwanted comma from the post count):

PHP Code:
 if (!(is_member_of($post567)===FALSE) || str_replace(",","",$post['posts']) > 50
I haven't tried it yet, but plan to tonight or tomorrow.
Reply With Quote
  #151  
Old 04-24-2007, 11:05 PM
KidCharlemane KidCharlemane is offline
 
Join Date: Apr 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB gives a parsing error when you try to add that code.
Reply With Quote
Reply


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 07:42 AM.


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.05007 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
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_code
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete