![]() |
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 |
All times are GMT. The time now is 04:57 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:
|