![]() |
Quote:
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 |
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]"> Code:
$decimate_button 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) |
Anyone tried it - does it work OK - is it safe? :)
|
Quote:
|
Tested and running under 3.5.4, it works great
|
Quote:
If you want, I can add that zip file to the downloads section on this hack and add you as a co-author :) -RD |
Quote:
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 ;) |
Quote:
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 |
cant wait for the rewrite. great job guys!
|
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 |
Quote:
or maybe when the user set the forum number to an unexistent forum, it crashes the function ;) |
Quote:
-RD |
Quote:
|
Quote:
-RD |
I use to get timeouts (under large forum) when apply decimator to some user with more than 10 or 20 messages. (Checks ON: ban user, delete threads, delete posts. OFF: ip check, email webmaster)
Tried to fix adding this to decimator.php, but isn't working: @set_time_limit(0); |
With a large forum, you're going to have that problem with just about any script that deletes a user's post though...
-RD |
Thank You RaidenDAWG2
This is nice :cool: Install |
A little bit of an update, I've hit the hell quarter in my computer science program, so release of 2.0 is tenatively slated for mid July '06, by which time I should have had enough time to fully test the new features.
BTW, this also means that I'll still be able to take feature requests until about mid June. For the current feature list for 2.0, scroll up a few posts to about 88 or so ;) -RD |
I am getting the array error. Has anyone got this working? I am very tired of all the spam I'm getting lately.
|
Which array error? I might have a fix for it...
-RD |
Quote:
Is there any way to disable the "send email" options or other options from being checked? I don't want to mail my spammers and I don't really want to get mail when the thing has been used, and my mods sometimes forget to uncheck things. Thanks. Great script BTW. We are loving the ease of destruction over here. :) |
Quote:
Alright, for the serious stuff, lemme look at the template code here (been a while...)... Alright, disable all emails, take these lines... Code:
<input type="checkbox" value="1" name="DOESPAMMER" checked>Email Spammer<br> Code:
<input type="hidden" value="0" name="DOESPAMMER" checked>Email Spammer<br> I'll be sure to throw that in the update as an option (Version 2.0 coming...sometime in the next month, I promise, got a bunch of stuff I backburnered during school catching up with me first ;)). -RD |
Some of my members in the forum are posting like 20 posts in the same thread consecutively; sorry if I sound as if I am a n00b but THAT would be considered as Spam too correct?
|
Quote:
-RD |
I had seen on a forum that too many posts made would be merged auto. is there anyway to do that? I checked my ACP's Posting Options but couldn't see anything like that...
If you know what to do to auto-merge them, please let me know :) Thanks.. |
|
Another request is to be able to input more usergroup id's in the mod/super mod/and admin Group Id's cause i have 2 usergroups that are admins and i can only have one of them use this feature unfortunantly. Unless there is some sort of code you can give me?
|
I have code, buuuut it's not stable, and it's very much a work in progress.
That feature is in the base set of features for 2.0 (see post 88 for more confirmed stuff I've worked on ;)), and realistically, it could be hacked into the 1.0.x series, it's just a matter of me figuring out a way to effectively do it without screwing up everything else... Give me a day or so, I may be able to give you something reasonably soon. I've got another huge project I'm working on right now (vB based, but for a commercial user, needs to be finished by July 21st if it's going to be used this year...it's a stretch, but doable...), so it may take me a couple days to get to it... -RD |
<a href="http://www.vbulletin.com/forum/showthread.php?t=189577" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=189577</a>
Is there not a query to undone an action? The query where al posts are deleted, can it be like instead of delete, undelete? |
Yeah, this is why I'm installing the posts limits on the next version...
At any rate, like Colin said in the thread you mentioned, that query should reverse the effects of anything. I could include a feature in the 2.x series to undo this particular hack's effects. It'll require a little more work than I have time for at the moment (like I said a couple posts ago, currently working on a major project at the moment that is taking up all my free time). |
I understand, the solution Colin provided worked. Thanks for your reply and good luck with your project you are working on :)
|
Would there be a way to make this only apply to users who signed up in the last x time, or who have less than x posts? Maybe inline code in the template change, so the button only shows up for some users? I can't tell if it's a bug or one of my mods getting drunk but a couple of regular users have been decimated lately and I don't want it happening again.
The decimator definitely works, though! :D |
Quote:
Add something to the effect of... HTML Code:
<if condition="$post[posts]<=X"> -RD |
Seems to work! This should prevent anyone but newbs and spammers from being accidentally decimated. I set it to 15 based on our average spammer's habits. Most of them never get near that far before we catch them.
Thanks! |
Love this mod will it work in 3.6?
|
Quote:
I should know here within the next couple weeks for certain though. Still need to upgrade my development environment to 3.6. -RD |
thanks alot but does it work with vb 3.5.4 because i have tried some hacks for old versions and they work with vb3.5.4
|
Yep, I just never updated the vB version...should work flawlessly with 3.5.4 (at least it does on my install).
-RD |
I've been using it with vB 3.5.x and 3.6 since the first releases (of both vB and SpamDecimator) and it works flawlessly, it actually seems to work better on 3.6 than on 3.5, but that might also just be the removal of quite some extensions I was using.
The main thing that is still missing is an undo feature, I'm still hoping that will be added anytime soon ;) |
thanks alot i will try it in my vb
|
All times are GMT. The time now is 01:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|