Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #42  
Old 11-04-2005, 12:54 PM
RaidenDAWG2 RaidenDAWG2 is offline
 
Join Date: Mar 2005
Location: THE Ohio State University
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated files are uploaded. If the error keeps coming up jmottle, if you can, take some screenshots, email'em to me (or attach them here, whichevery), and I'll see what I can do. I've gone through and checked every function, every line, every conditional, and I'm not seeing any additional things that would even remotely cause the bug you're getting. I've traced that code through a few times, tested it with a bunch of different settings on my test server and I got that error once, didn't touch anything, fixed the error in the file, and it ran perfectly the next time through...

I'm really sorry it's not working for you man, but I've tried literally every trick in the book and can't even force that error on my test server. I can tell you that my test server runs Linux, PHP 4.4, MySQL build 4.0.25 standard, and Apache 1.3.34, and I cannot find a single bug beyond what's already been fixed so...

If it doesn't work, screenshot me your settings as well as what pops up in the window, I'll see what I can do, otherwise...sorry man, I'm just not seeing it if there is a bug there, it may just be your system (stranger things have happened, believe me, when I had I think RC2 running on my test site it played all sorts of little tricks on my files...wasn't a fun week, lemme tell ya).

-RD
Reply With Quote
  #43  
Old 11-05-2005, 04:00 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't want to use the email option. I'd rather the spammers not have any clue what's going on. How hard is it to disable it or edit it out? Thanks.
Reply With Quote
  #44  
Old 11-05-2005, 04:50 PM
jmottle jmottle is offline
 
Join Date: Aug 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Joy. Even with version 1.0.4 I am still getting this error as soon as I press the Decimate button. The user ends up getting banned, but that is all is does.

Fatal error: Existing data passed is not an array
Called set_existing in X:\XXXXXXX\http://www.cgarchitect.com\vb\includ..._databuild.php on line 158
Called build_forum_counters in X:\XXXXXXX\http://www.cgarchitect.com\vb\includ..._decimator.php on line 22
Called delete_spam_threads in X:\XXXXXXXX\www.cgarchitect.com\vb\decimator.php on line 170
in \includes\class_dm.php on line 235
Reply With Quote
  #45  
Old 11-05-2005, 05:02 PM
RaidenDAWG2 RaidenDAWG2 is offline
 
Join Date: Mar 2005
Location: THE Ohio State University
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 007
I don't want to use the email option. I'd rather the spammers not have any clue what's going on. How hard is it to disable it or edit it out? Thanks.
Very simple, you can either uncheck the box that emails them, or if you're OK with editing templates, find the DOESPAMMER box, change the type to hidden and the value to 0.

Quote:
Originally Posted by jmottle
No Joy. Even with version 1.0.4 I am still getting this error as soon as I press the Decimate button. The user ends up getting banned, but that is all is does.

Fatal error: Existing data passed is not an array
Called set_existing in X:\XXXXXXX\http://www.cgarchitect.com\vb\inclu...s_databuild.php on line 158
Called build_forum_counters in X:\XXXXXXX\http://www.cgarchitect.com\vb\inclu...s_decimator.php on line 22
Called delete_spam_threads in X:\XXXXXXXX\www.cgarchitect.com\vb\decimator.php on line 170
in \includes\class_dm.php on line 235
Best I can tell ya is send me screenshots of all your options (ACP) and the two popup screens...like I said, I've tried literally everything to attempt to recreate that and haven't had any luck other than the one time where I found the bug and fixed it...

-RD
Reply With Quote
  #46  
Old 11-05-2005, 05:37 PM
jmottle jmottle is offline
 
Join Date: Aug 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here ya go
Reply With Quote
  #47  
Old 11-06-2005, 06:13 PM
OttawaGolf OttawaGolf is offline
 
Join Date: Apr 2002
Location: Ottawa Ontario Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works fine for myself (admin) but no button for my moderators
Reply With Quote
  #48  
Old 11-06-2005, 06:22 PM
RaidenDAWG2 RaidenDAWG2 is offline
 
Join Date: Mar 2005
Location: THE Ohio State University
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OttawaGolf
This works fine for myself (admin) but no button for my moderators
Check your postbit template, make sure that all three group numbers are in the second array in the added code. For example, if your mods are group 5, admins 6, and super mods 7, it should read something to the effect of...

PHP Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">button image/link code here</if> 
Also, that must be in each and every postbit if you have multiple styles.
Reply With Quote
  #49  
Old 11-06-2005, 06:42 PM
OttawaGolf OttawaGolf is offline
 
Join Date: Apr 2002
Location: Ottawa Ontario Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes that is set correctly, and my mods do see the edit button and moderator's thread tools.
Reply With Quote
  #50  
Old 11-07-2005, 05:27 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed your spam decimator hack and its great. the only thing is that a second Co admin usergroup (id:13) cant have access to it. i tried changing the arrays but it wont work. i tried adding it with a comma along with admins in vboptions and it wont take it. what can i do to make it work. all my other staff can see and use it but the 3 co admins. let me know thanks
Reply With Quote
  #51  
Old 11-07-2005, 04:19 PM
RaidenDAWG2 RaidenDAWG2 is offline
 
Join Date: Mar 2005
Location: THE Ohio State University
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lowandloudinc
i installed your spam decimator hack and its great. the only thing is that a second Co admin usergroup (id:13) cant have access to it. i tried changing the arrays but it wont work. i tried adding it with a comma along with admins in vboptions and it wont take it. what can i do to make it work. all my other staff can see and use it but the 3 co admins. let me know thanks
I can write a quick work around for that, but it's gonna take me a couple days (this week alone I've got 2 programming labs, a 5-6 page paper, and oh yeah, stats homework due :ermm: yeah...that kinda week...). Shouldn't be too big of an issue, just adding a few lines here and there...

@ OttawaGolf: Haven't had time to look at the template yet, I have a feeling I goofed on placing something somewhere...I'll look into it this week...

@ jmottle...yeah, that one's still getting me...I really have no idea whatsoever what's causing that man, sorry
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 07:36 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.05127 seconds
  • Memory Usage 2,306KB
  • 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_php
  • (4)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