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
  #82  
Old 02-24-2006, 11:55 AM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaidenDAWG2
Makes two of us

If you could let me know what setting you're using (or even screenshot your settings page sensitive info blanked out of course...) and what version of vB you're using, it would be greatly appreciated

BTW guys, I'm going to be working on getting this validated for 3.5.4 over the weekend especially. I don't believe there'll be any more features this time around, but if I get the time, there's one I'd like to implement, but only if I've got the time to finish it entirely...busy weekend with my own site as well (3.5.4 upgrades on live and test sites, as well as all associated template updates )....

-RD
i really dont know what is causing that errors, i'll try to take a deeper look on the code, try to figure out. I'm using 3.5.2 what lots of hacks installed. The other hacks are working fine. When i installed them i found lots of conflits between them, but i fixed and all them works fine. I think the same is going on here.


edit:
damn, this mod is so weird... sometimes it works, and then dont work...
i found the problem is with deleting thread and posts, so lets try to find out how to fix

edit2:
it seems that the function "Move Threads to Specified Forum?" is not working pretty fine. If i set it on and put a forumid, it works pretty well. But if i put it OFF and then decimate, i get the error. If i uncheck the box to delete thread, error dont show up.

edit3:
as my time is short and i'm really needing this, i will not work to fix the bug, i'm changing almost everything on the hack to fit to my needs.

What it gonna have:

- What will have in AdminCP
-- Configure what groups can decimate
-- Configure what groups can be decimated
-- Configure the forum to all posts be moved to

- What will be the functions
-- the system will create a thread in the specified forum (thread starter is the staff member who is decimating)
-- ALL posts of the spammer will be apended to this thread (including the first post of the threads he started)
-- ALL replies to threads started by the spammer will be deleted (i think you wont have good posts in a spamming thread )
-- Spammer will be moved to banned usergroup and set a custom title for him (previously set in admincp)
-- Post count of spammer will NOT be set to 0, it will remaing in anything it was before decimate.
-- i'll keep all the other functions, such like emailing admin and the poor spammer


So i'll start now, if anyone has any suggestion, please let me know.
I'm still thinking in doing this:
- One thread in specified forum with all the posts of the spammer
- Another thread in specified forum with the all the replies to the threads started by the spammer.

So, if you have a suggestion, please tell me.

I still dont have permission from Raiden to release it here. But if he give it to me, i'll release and give support of my modification to this modification

Thanks
Reply With Quote
  #83  
Old 02-24-2006, 11:40 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here we go, my modification is done!

- The configurable features
-- Configure what groups can decimate
-- Configure what groups can be decimated
-- Configure the forum to all posts be moved to


- What the modification do
-- the system will create a thread in the specified forum (thread starter is the staff member who is decimating)
-- ALL posts of the spammer will be apended to this thread (including the first post of the threads he started)
-- ALL replies to threads started by the spammer will be deleted (i think you wont have good posts in a spamming thread )
-- Spammer will be moved to banned usergroup and set a custom title for him
-- Post count of spammer will NOT be set to 0, it will remaing in anything it was before decimate.
-- you can send an email (set in admincp) to webmaster and/or spammer
-- you can check other users using the same ip

That's it, i think it's what it does.

How to install:
Upload all files in "upload" directory to your forum root directory, import the xml and go to admincp > manage templates
edit template POSTBIT (or POSTBIT_LEGACY, depends on what do you use) and find:
Code:
		<div align="$stylevar[right]">
			<!-- controls -->
after, add:
Code:
$decimate_button
Oh, by the way, you will have to upload the spam button found on original release or somewhere in this thread to /forum/images/misc

Be carefully, i cannot assure 100% of trust on all boards, because i coded it to my 3.5.2 and could not run lots of tests, but what i tested is running perfectly fine

Try it and tell me if you like or send me some errors you get.

Hope you all enjoy!

ATTENTION: in option "who can be decimated" you can enter the groups id which can be decimated (separated by commas)
Reply With Quote
  #84  
Old 02-25-2006, 12:13 PM
Nick0r Nick0r is offline
 
Join Date: Nov 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone tried it - does it work OK - is it safe?
Reply With Quote
  #85  
Old 02-25-2006, 03:42 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nick0r
Anyone tried it - does it work OK - is it safe?
my mod? i tried and worked safely for me
Reply With Quote
  #86  
Old 02-25-2006, 04:13 PM
RCA RCA is offline
 
Join Date: Mar 2003
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tested and running under 3.5.4, it works great
Reply With Quote
  #87  
Old 02-25-2006, 06:18 PM
RaidenDAWG2 RaidenDAWG2 is offline
 
Join Date: Mar 2005
Location: THE Ohio State University
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andrefedalto
I still dont have permission from Raiden to release it here. But if he give it to me, i'll release and give support of my modification to this modification

Thanks
No, thank you for saving me some work

If you want, I can add that zip file to the downloads section on this hack and add you as a co-author

-RD
Reply With Quote
  #88  
Old 02-26-2006, 12:50 AM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaidenDAWG2
No, thank you for saving me some work

If you want, I can add that zip file to the downloads section on this hack and add you as a co-author

-RD
ok, go on, please do it

i figured out the error you are getting, i'm pretty sure it is when this function is called:
build_forum_counters

this is called on lines 22, 46, 106, 107 from /includes/functions_decimator.php
try to comment these lines and see if error persists, i think it wont
Reply With Quote
  #89  
Old 03-06-2006, 05:27 AM
RaidenDAWG2 RaidenDAWG2 is offline
 
Join Date: Mar 2005
Location: THE Ohio State University
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andrefedalto
ok, go on, please do it

i figured out the error you are getting, i'm pretty sure it is when this function is called:
build_forum_counters

this is called on lines 22, 46, 106, 107 from /includes/functions_decimator.php
try to comment these lines and see if error persists, i think it wont
That function, shocker, rebuilds the forum counters. Any idea why that'd be acting up? It's a native vBulletin function...

BTW, I will be working on a version 2.0 with all of this stuff cleaned up and a few new features this week, basically a rewrite of the original code with a lot more options added as well as a couple of planned new features. The following NEW features are IN at the moment, and I am open to suggestions:

-Start new thread in forum X when Decimator is used
-Multiple usergroups per permissions level (i.e. more than one mod group can be used)
-Better email message to webmaster (currently only the user who used SD is in there)
-Option to not allow use on a user with more than X posts, or to protect certain usergroups from use within the script (previously only done within the template).

Again, open to more suggestions...

-RD
Reply With Quote
  #90  
Old 03-06-2006, 05:35 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant wait for the rewrite. great job guys!
Reply With Quote
  #91  
Old 03-06-2006, 08:00 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
one of the original options I suggested for the original incarnation of this hack would be to show some information about any users which share the IP address of the spammer. Specifically their user name, their user group, and if banned, their banned reason.
And if all the users sharing the ip address have been banned for spamming, have the option to ban the ip address.
So that if a spammer keeps re-registering and no genuine users are using the IP address, you can ban that IP to prevent them from reoffending.
Thanks
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 11:45 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.04781 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
  • (2)bbcode_code
  • (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