The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Spam Decimator Version 1.0.5 Details »» | |||||||||||||||||||||||||
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
|
Comments |
#202
|
|||
|
|||
I've (finally) released the 1.5.0 upgrade. Long story short, it makes use of some better backend code, as well as implementing some new options such as the long overdue multiple usergroups per permission level and a new postbit modification that utilizes a plugin that checks the user's postcount as well as permissions.
I'll take feature requests for Version 2.0 (due out late next month) through June 5th in this thread. |
#203
|
|||
|
|||
Quote:
regards |
#204
|
|||
|
|||
Quote:
|
#205
|
|||
|
|||
Consider it done, I was researching how to pull that off last night as a matter of fact.
|
#206
|
|||
|
|||
Excellent. I'm sure you'll get more Installs and fewer support queries
|
#207
|
|||
|
|||
Tried to upload the product, but i got this error
Code:
Database error in vBulletin 3.5.4: Invalid SQL: ### INSERT QUERY GENERATED BY fetch_query_sql() ### INSERT INTO plugin (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`) VALUES ('1', '5', 'Decimator Postbit', 'postbit_display_start', 'global $candecimate;\r\nglobal $vbulletin;\r\nif($vbulletin->options[\'sd_enabled\'])\r\n{\r\n$candecimate = false;\r\n$modgroups = explode(\",\", $vbulletin->options[\'modgroupid\']);\r\n$supergroups = explode(\",\", $vbulletin->options[\'supermodid\']);\r\n$admingroups = explode(\",\", $vbulletin->options[\'adminid\']);\r\n$decimators = array_merge($admingroups,$modgroups,$supergroups);\r\nif(!in_array($post[\'usergroupid\'], $decimators))\r\n{\r\n if(in_array($vbulletin->userinfo[\'usergroupid\'], $decimators))\r\n {\r\n if($post[\'posts\'] < $vbulletin->options[\'sd_postmax\'])\r\n{\r\n $candecimate = true;\r\n}\r\n }\r\n}\r\n}\r\nelse\r\n{\r\n$candecimate = false;\r\n}', 'spamdecimator'); MySQL Error : Unknown column 'executionorder' in 'field list' Error Number : 1054 Date : Friday, June 6th 2008 @ 11:30:26 AM Script : http://chikens.net/admincp/plugin.php Referrer : http://chikens.net/admincp/plugin.php?do=productadd IP Address : 62.58.80.115 Username : xxxxxxxxxxxxxxx Classname : xxxxxxxxxxxxxx |
#208
|
|||
|
|||
I will get you a fix for that...unfortunately, I used a later version to export the XML file, which caused that particular error...
Really need to get this moved to the 3.6.x add-on's now. -RD |
#209
|
|||
|
|||
Not sure if this has been reported, but you have a real problem in this. The $candecimate variable will not show up if you have a zero (0) value set for the maximum posts. Also after that fixed I realized that if it was at zero, it would throw an error from decimator.php. Both of my fixes are tested on 3.6.8.
I had to change the plugin to this: PHP Code:
PHP Code:
PHP Code:
|
#210
|
|||
|
|||
Was this feature added in?
|
#211
|
|||
|
|||
Quote:
It can be pretty easily. Smitty, if you see this, I'll have your feature done this weekend and I'll post an update of 1.5 with it included. Sorry it's taken me this long man. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|