View Full Version : Moderators Functions - One-touch Spam Ban and Cleanup
mfyvie
08-27-2007, 10:00 PM
*** Staff note: The author of this modification has passed away in a diving accident (http://www.englishforum.ch/announcements/20529-mourning-loss-friend-leader-innovator-genuinely-nice-guy.html). We wish his family all strength in dealing with this tragic issue. ***
One-touch Spam Ban and Cleanup
The main purpose of this mod is to clean up after a spammer. With a minimum of fuss it will:
Delete all threads started by the spammer
Delete all posts made by the spammer
Delete all PMs sent to other members by the spammer
Delete all calendar events made by the spammer
Ban or delete the spammer as you like
Ignore permissions - posts can be deleted in areas that a moderator may not have access to.The option to activate this tool appears in the drop-down menu in the postbit, as well as on the profile page. From here it is a "one-touch" operation, with the small exception that you must press a confirmation button before the cleanup is made.
See the screenshot for the various options, but some of the more interesting ones are:
You can specify individual users (in addition to groups) who can use this tool. This means certain trusted, non-moderator users could have the ability to clean up spam and ban spammers.
You can specify users or groups who are protected - they cannot be deleted by this tool.
By default, users who have registered more than 30 days ago are also protected from this tool (spammers tend to be caught and removed fairly soon after registration)
You can turn the various deletion targets (threads, posts, events, PMs) on or off
Select between hard delete or soft deleteThis mod is similar to some older mods, but improved in a number of ways:
You also have the choice to alter the standard ban and delete reasons before you press confirm.
Deletes more types of spam (PMs, events)
Simple, quick, effective
Single file import (.xml) no file edits, no template edits, no .php files to upload
Should work on all versions of 3.6.x and future versionsInstallation
Download and import the .xml file via AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product. Remember to click overwrite if upgrading
Configuration
Once installed, check in your AdminCP under "VBulletin settings" and look for the configuration group called "One-touch Spam Ban & Cleanup Options". The default options should be fine for most people.
How to use
If you have rights to use this tool (i.e. are an admin or moderator, or have configured it for the relevant user or group ID) you should see the option appear on the member profile page, or in a drop-down on the postbit (see attached screenshots for an example). The idea is that as soon as you see a spammer select the "One-touch Ban & Clean" option to remove all trace of the spammer.
Support
Support will be given to those who have:
Read these instructions (and followed them) and
Clicked installVersion history
1.0 - initial version (28.08.2007)
1.1 - security fix (21.09.2007)
1.2b - Beta Fix to work with vb3.7.0 (20.05.2008)
mfyvie
08-28-2007, 02:27 PM
Reserved
Symmetrical?
08-28-2007, 02:33 PM
second installed :)
Symmetrical?
08-28-2007, 02:43 PM
Error !
edit :)
mfyvie
08-28-2007, 02:48 PM
Very strange. What version of php are you running? I'll try to duplicate the problem...
Symmetrical?
08-28-2007, 02:50 PM
ok i will wating for fix. :) because very nice hack
mfyvie
08-28-2007, 02:55 PM
Duplicated and fixed. .xml file updated, just re-download and reinstall. Can you please remove that screenshot from your post - it's massive and no longer applies since the issue was fixed.
Symmetrical?
08-28-2007, 02:58 PM
Duplicated and fixed. .xml file updated, just re-download and reinstall. Can you please remove that screenshot from your post - it's massive and no longer applies since the issue was fixed.
ok removed caps . thanks ..
Symmetrical?
08-28-2007, 03:06 PM
very very nice because very easy ban :D thnx mfyvie.
edit: you should add + ip ban ;)
johnrizz
08-28-2007, 08:54 PM
Sweet mfyvie! I like it... installed
you should add + Email ban..
Brandon Sheley
08-28-2007, 09:10 PM
Just wondering how this is different from the Spam Deciminator ?
beduino
08-28-2007, 10:52 PM
Oh my God!
this is really a fantastic feature!
tks a lot - one click to ban, delete threads, posts.... oh GOD it is a miracle! :D
joao barroca
aka beduino
RMS-Chef
08-28-2007, 11:43 PM
I have the option in the user's profile but not in the postbit drop menu. Could this be because I am using postbit_legacy?
Could you just post the posbit template addition so I can manually add it?
very very nice because very easy ban :D thnx mfyvie.
edit: you should add + ip ban ;)
Excellent modification. Thank you.
I agree, having an option to ban any/all registration and post IPs of the user would be nice as well.
Alibass
08-29-2007, 02:33 AM
*INSTALLED* very nice hack mfyvie as always. :)
The drop postbit menu works fine with default vB skin but not with my custom skins. Can you post code for that?
I will half to agree also banning of IP and email address that a user registered with would really make this mod sweeeeeeeet.
Fearlessninja
08-29-2007, 03:15 AM
Awesome! Been waiting for this for quite awhile. Thanks!
epoc fitness
08-29-2007, 04:14 AM
Will this allow moderators and supermod to only perform soft deleted or perm deletes. I would hate for a moderator to get pissed off one day and just delete people and all their posts.
mfyvie
08-29-2007, 06:28 AM
Hi everyone. I'm pleasantly surprised by high number of installs (40 so far) in just a few hours. I'll answer some of your questions below.
Sweet mfyvie! I like it... installed
you should add + Email ban..
Well I could do that, but if you configure your vbulletin to not allow duplicate email addresses, then when the spammer is banned, the email address can't be reused anyway....
Just wondering how this is different from the Spam Deciminator ?
Well I don't really want to criticise other mods, but I took a look at spam decimator just before I decided to write this mod (I didn't know about it, but had come up with the concept for a mod I wanted). I felt there were some unnecessary features, and that it was also missing features I really needed like deleting PMs, etc. I saw that many people had asked for these features, but that the mod wasn't being upgraded or worked on. Therefore I decided to write this mod instead. Another difference is that my mod is a single .xml install which fully uses the plugin system (something I aim for in all my mods).
I have the option in the user's profile but not in the postbit drop menu. Could this be because I am using postbit_legacy?
Could you just post the posbit template addition so I can manually add it?
Well, I don't really have to post it because it is in a separate template. Simply look for the template called postbit_onetouchban and copy and paste the contents.
That said however, it might be better to find out WHY this didn't work. Most likely you are missing the correct template hook (either because you deleted it or have failed to revert templates when upgrading VB).
Check through your template (postbit) look for $template_hook[postbit_user_popup] - it should be right at the end, just before the final </table> tag. If it's not there, add it - but better would be ask yourself WHY it isn't there. These hooks should be in the templates of all recent versions of vbulletin. Other hacks may use them as well.
Excellent modification. Thank you.
I agree, having an option to ban any/all registration and post IPs of the user would be nice as well.
I've put in an option for the forthcoming 1.1 release which automatically bans the IP used in registration. But some people are telling me they want to see lists of other users using that IP. I'm not sure I want to go into all the post IPs as well - I'm trying to keep this mod simple, without bogging it down with silly options.
*INSTALLED* very nice hack mfyvie as always. :)
The drop postbit menu works fine with default vB skin but not with my custom skins. Can you post code for that?
See my answer above, you probably don't have the correct hooks in your custom skins, add them and the problem will be resolved.
Will this allow moderators and supermod to only perform soft deleted or perm deletes. I would hate for a moderator to get pissed off one day and just delete people and all their posts.
Please read the description of this mod (at the top of this page, with bullet points listed) which specifically answers the questions you've just asked. You've clicked install, so just look at the settings for the mod in your admincp and your questions will also be answered.
projectego
08-29-2007, 07:38 AM
Fantastic! :)
* projectego clicks install
Hornstar
08-29-2007, 08:12 AM
This is a really great mod if you do not have a lot of staff, and you get lots of spammers. nice work!
bazzup
08-29-2007, 10:17 AM
excellent mate installed
regards
Symmetrical?
08-29-2007, 11:37 AM
installed 44 well done :)
hobbystoresearc
08-29-2007, 12:59 PM
this is a database error I get when clicking on the link to remove spam
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT COUNT(0) FROM thread
WHERE postuserid = 3
AND threadid NOT IN
(SELECT primaryid FROM deletionlog
WHERE type = 'thread');
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT primaryid FROM deletionlog
WHERE type = 'thread')'
Error Number : 1064
Date : Wednesday, August 29th 2007 @ 09:56:39 AM
Script : http://www.*****/forums/misc.php?do=spamcleanconfirm&u=3
Referrer : http://www.*****.com/forums/member.php?u=3
IP Address : *****
Username : munsonfan15
Classname : vB_Database
mfyvie
08-29-2007, 04:10 PM
That database syntax should be correct. What version of mysql are you running?
Alibass
08-29-2007, 06:50 PM
See my answer above, you probably don't have the correct hooks in your custom skins, add them and the problem will be resolved.
In my other custom skins I see your postbit_onetouchban template installed. I did not have $template_hook[postbit_user_popup] in my custom skins postbit templates so I added it in the location you suggested and reinstalled your mod, but I still cannot get the One-touch Ban & Clean option in the postbit drop down menu of my custom skins to work.
Alibass
08-29-2007, 06:57 PM
Never mind I found where to add postbit_onetouchban code in postbit to make it work.
Thanks again, great mod. :)
FreshFroot
08-29-2007, 07:06 PM
Wow.. this should be a MOTM, great stuff mate :D
hobbystoresearc
08-29-2007, 07:47 PM
That database syntax should be correct. What version of mysql are you running?
mysql 4.0.27
Apophis
08-29-2007, 08:17 PM
The product installed okay, but I do have a rather strange result:
In the postbit pull-down (I use the legacy postbit) I see the "One Touch Ban & Clean" option for the FIRST post in the thread. On the SECOND post in the thread I see that option twice in the pull-down, for the THIRD post I see it three times. etc. etc. etc.
Any ideas?
Apophis
08-29-2007, 08:20 PM
Upon further inspection I also see that even though it displays multiple times, each iteration retains the userid of the respective poster based on the post order.
IE: On a situation where it is displayed 5 times (on the 5th post). The first occurance lists the first posters ID, the second occurance lists the second posters ID, etc. etc.
mfyvie
08-30-2007, 07:00 AM
In my other custom skins I see your postbit_onetouchban template installed. I did not have $template_hook[postbit_user_popup] in my custom skins postbit templates so I added it in the location you suggested and reinstalled your mod, but I still cannot get the One-touch Ban & Clean option in the postbit drop down menu of my custom skins to work.
Hmm, strange. I don't know enough about the template hook system to comment, but I would have thought that just adding the hook would be enough, but maybe there's more to it than that. Well at least you've resolved the problem manually in any case.
mysql 4.0.27
Ok, that is a problem. I just checked and 4.0 doesn't support sub queries. I strongly suggest you upgrade to mysql 4.1 or later (or encourage your host to do so). I may change the product pre-requisites so that it won't install if you have mysql 4.0.
The product installed okay, but I do have a rather strange result:
In the postbit pull-down (I use the legacy postbit) I see the "One Touch Ban & Clean" option for the FIRST post in the thread. On the SECOND post in the thread I see that option twice in the pull-down, for the THIRD post I see it three times. etc. etc. etc.
Any ideas?
This is most strange. The relevant code can be found in the plugin called "Insert into templates" at postbit_display_start:
eval('$template_hook[postbit_user_popup] .= " ' . fetch_template('postbit_onetouchban') . '";');
The php concatenation operator ".=" is used there. This means, append the contents, rather than replace them. This seems to work correctly on other systems, but I've no idea why it isn't working on yours. Basically what is happening is that something else should resetting that hook on each iteration, but that isn't happening, so this hook keeps growing and growing as you proceed down the page. Are you running an older version of vbulletin (bug maybe?) or perhaps another hack is causing this behaviour?
You can work around it by changing the ".=" to just "=" but this will kill any other mods that might be using this template hook (though you probably don't have any).
Alibass
08-30-2007, 08:48 AM
Hmm, strange. I don't know enough about the template hook system to comment, but I would have thought that just adding the hook would be enough, but maybe there's more to it than that. Well at least you've resolved the problem manually in any case.
So sorry mfyvie, yes adding the hook worked as you said and I wrote the wrong thing in previous post as I was modifying postbit to show One-touch Ban & Clean at the bottom of each post and PM. Thats the way I wanted it on my site.
Any chance of having a move threads feature rather than deleting them? We have a 'Litter Tray' forum to move threads to instead of deleting.
mfyvie
08-30-2007, 11:35 AM
Any chance of having a move threads feature rather than deleting them? We have a 'Litter Tray' forum to move threads to instead of deleting.
My feeling on this is that it makes little sense to move spam to such an area. I have a trash / dupes forum as well, but that's where I put stupid questions from my users. The aim of a spammer is to get his message through, and since this is a spam tool the best thing to do is delete it, rather than move it somewhere else. I'm happy to be convinced otherwise, but I still can't see the logic in this...
Apophis
08-30-2007, 12:34 PM
This is most strange. The relevant code can be found in the plugin called "Insert into templates" at postbit_display_start:
eval('$template_hook[postbit_user_popup] .= " ' . fetch_template('postbit_onetouchban') . '";');
The php concatenation operator ".=" is used there. This means, append the contents, rather than replace them. This seems to work correctly on other systems, but I've no idea why it isn't working on yours. Basically what is happening is that something else should resetting that hook on each iteration, but that isn't happening, so this hook keeps growing and growing as you proceed down the page. Are you running an older version of vbulletin (bug maybe?) or perhaps another hack is causing this behaviour?
You can work around it by changing the ".=" to just "=" but this will kill any other mods that might be using this template hook (though you probably don't have any).
I'm running 3.6.7 PL1 right now. I just haven't gotten around to upgrading to 3.6.8. Maybe I'll do that today and see if the problem still exists.
The only other plugins I have that are using postbit_display_start are v3 Arcade and Yet Another Award System 3.6.
I'll do that upgrade and then report back if the problem still exists.
mfyvie
08-30-2007, 12:38 PM
Apophis - I also run 3.6.7 PL1, so unlikely an issue there. Try disabling those products just for a few minutes (and any others that use other hooks in postbit, not just display_start) and see if that resolves it. From there it should be easy to pinpoint.
Apophis
08-30-2007, 12:58 PM
Apophis - I also run 3.6.7 PL1, so unlikely an issue there. Try disabling those products just for a few minutes (and any others that use other hooks in postbit, not just display_start) and see if that resolves it. From there it should be easy to pinpoint.
Disabling YAAS didn't help nor did disabling v3 Arcade.
Moving on to products that hook into other areas of postbit:
AnyMedia BBCode 3.0.3: No Change
vBSEO: No Change
nCode Image Resizer: No Change
vBGoogleMap Member Edition: No Change
That's all I could find for products/plugins that tie into any postbit_ hook.
mfyvie
08-30-2007, 01:06 PM
Ok, in that case I'm out of ideas :-) When I get a chance I'll have to take a look at alternative ways of implementing that, in the meantime you could try my suggestion of changing ".=" to "=" to fix it. Let's see if anyone else reports the same issue.
Apophis
08-30-2007, 01:09 PM
Ok, in that case I'm out of ideas :-) When I get a chance I'll have to take a look at alternative ways of implementing that, in the meantime you could try my suggestion of changing ".=" to "=" to fix it. Let's see if anyone else reports the same issue.
As having the functionality in the postbit isn't of great importance to me, I simply disabled that plugin and can do it from the users profile instead. I'll give the ".=" to "=" fix a whirl a little later today and see if that does the trick for me.
Small issues such as the postbit one aside, this is a great product and will save me, and my moderators, a lot of time when it comes to dealing with spammers! Thanks for the contribution!
hypertextfever
08-30-2007, 04:36 PM
What a wonderful mod. Thanks so much!!!
ishare
08-30-2007, 06:02 PM
INSTALLED!
Very usefull mod. Thanks a lot for this share...
pirotess
08-31-2007, 01:56 PM
Just installed this mod. Thanks for the great work. I am however having the exact same issue that Apophis is having. Im running 3.6.7 PL1 on PHP 5.2.1.
I changed the .= to an = and everything is working fine at the moment since I dont have any other mods that use that hook.
RedGTiVR6
09-02-2007, 12:36 PM
Quick question: on our forum, we utilize the points system for infractions. At x points a user is automatically banned. For spammers we have a special category that's used and will automatically ban them. This is a feature that's built into vBulletin. However, we then manually have to go back and 'find all threads started by user' then delete the threads.
This mod essentailly gets rid of that step, which is great, however, I want to make sure it will work considering the way we have our forum set-up.
Any info would be appreciated!
mfyvie
09-02-2007, 01:36 PM
Quick question: on our forum, we utilize the points system for infractions. At x points a user is automatically banned. For spammers we have a special category that's used and will automatically ban them. This is a feature that's built into vBulletin. However, we then manually have to go back and 'find all threads started by user' then delete the threads.
This mod essentailly gets rid of that step, which is great, however, I want to make sure it will work considering the way we have our forum set-up.
Any info would be appreciated!
I can't see any major issues here. You can do it one of two ways:
1. Use the infraction system to ban them, then use this mod to clean up. The mod will detect that they are already banned, and will simply perform all the other actions instead and leave out the banning.
2. Just use this mod for the spammers and forget about the infraction system.
I would suggest option 2 - much simpler ;)
SBlueman
09-02-2007, 01:57 PM
This mod rocks, thanks mfyvie!
Dark_Sirius
09-02-2007, 03:55 PM
Nice addon. A suggestion though: Instead of soft deleting, an option to move posts/threads into another forum would be handy.
Example: On our forum, we never hard delete threads/posts. If something needs to be removed, it's moved to a sub-forum in the Moderator forum called the 'trash bin'.
Stifler
09-06-2007, 12:40 PM
my only problem with the mod is that it shows the user making the ban as "Unregistered" so it's hard to log which mod is doing it.. Would it be possible to get that added?
soletrader
09-16-2007, 01:42 AM
Ok, in that case I'm out of ideas :-) When I get a chance I'll have to take a look at alternative ways of implementing that, in the meantime you could try my suggestion of changing ".=" to "=" to fix it. Let's see if anyone else reports the same issue.
I am having the same issue. Can you please guide me on where I need to change ".=" to "="? Thanks
momo2
09-16-2007, 01:52 AM
So i can delete all threads or post by any person with this ?? if so this is the best mod of the year, i got some old posters not spammers but they are over 2500 of them so i can just click and bye bye ????
giovannicosta
09-16-2007, 09:36 AM
Fantastic, been needing this for a long time.
Bomb-Chelle
09-18-2007, 11:40 PM
Great hack. Makes things MUCH easier.
Tested and working great on 3.6.7 - Thanks a lot. Fantastic Mod :)
Ok, bit of a problem! *see attached*
The further you go down a thread (for every post made) another instance of One-touch Ban & Clean is added to the list.
mishb68
09-19-2007, 03:56 AM
Installed! Thanks :)
Scooterpig
09-19-2007, 06:56 AM
Great hack thank you and have it installed and working fine but I also had the same problem of the option missing from the Postbit template so I had to add it manually.
It installed itself in the postbit_legacy but not the postbit template, dunno why but all good now thanks..:)
firefox100
09-19-2007, 08:01 AM
Installed, 3.6.8, no problem. Great hack. ;)
TrIn@dOr
09-20-2007, 02:54 PM
Great!!
Can u add a "single post mode deletion", working like a soft delete with "spam reason"??
69lakalle
09-20-2007, 03:44 PM
deeeeeeeeam i sooo need this for my forum
realsumon
09-20-2007, 06:10 PM
mfyvie u save my life. Thanks for the module.
pitzerwm
09-21-2007, 04:20 AM
I installed this and really hadn't had a chance to use it. But today, as un registered/logged in, I clicked on an avatar and I could see the option to ban, I clicked on it and appeared that it would have let anyone to ban anyone.
I'm sure that this isn't the way it is suppose to be.
Followup: I was reading everything again, and checked the users groups, that was right 5,6,7 but I didn't have the users ID: entered, when I added my user id, it is working as expected.
TheBaker
09-21-2007, 09:01 AM
Am I right in saying you've forgotten to update the version number of 1.1?
mfyvie
09-21-2007, 09:07 AM
I am having the same issue. Can you please guide me on where I need to change ".=" to "="? Thanks
See post #30, though this should be fixed with 1.1.
So i can delete all threads or post by any person with this ?? if so this is the best mod of the year, i got some old posters not spammers but they are over 2500 of them so i can just click and bye bye ????
Theoretically this could work, if you disabled the setting to protect users more than a certain number of days old (default 30). However, I did not design this tool with your purpose in mind...
Ok, bit of a problem! *see attached*
The further you go down a thread (for every post made) another instance of One-touch Ban & Clean is added to the list.
Please read through the previous posts on this thread - this issue has been addressed several times.
Great!!
Can u add a "single post mode deletion", working like a soft delete with "spam reason"??
I don't understand what you mean. Can you please elaborate?
I installed this and really hadn't had a chance to use it. But today, as un registered/logged in, I clicked on an avatar and I could see the option to ban, I clicked on it and appeared that it would have let anyone to ban anyone.
I'm sure that this isn't the way it is suppose to be.
Followup: I was reading everything again, and checked the users groups, that was right 5,6,7 but I didn't have the users ID: entered, when I added my user id, it is working as expected.
This was a bug - I have addressed it and released version 1.1.
All users who are running 1.0 should immediately update to 1.1.
So far there are only 3 changes made to 1.1:
Fixed bug where guests could ban/delete
Added extra logic to stop the ban option appearing multiple times (this only happened on some systems)
Specified the minimum mysql version as 4.1
mfyvie
09-21-2007, 09:12 AM
Am I right in saying you've forgotten to update the version number of 1.1?Correct - I've just fixed it. It was only the version number.
Thanks for the heads up on the update to 1.1 :up:
bazzup
09-21-2007, 09:24 AM
cheers updated
mishb68
09-21-2007, 09:48 AM
Updated. Thanks for letting us know.
hobbystoresearc
09-21-2007, 11:53 AM
Mine was working - I upgraded to 1.1 and now when you click on the link in the drop down menu it goes to his page
misc.php?do=spamcleanconfirm&=2
but that comes up as my smilie page (the one that shows users different smilies - any idea what would be going on?
TrIn@dOr
09-21-2007, 12:05 PM
<a href="https://vborg.vbsupport.ru/member.php?u=190317" target="_blank">mfyvie</a>, sometimes u need to delete only 1 post quickaly.
Perhaps u can add a "mode", -> quick soft (Reason SPAM) delete post
alessai
09-21-2007, 12:58 PM
Parse error: syntax error, unexpected '{' in /home/oman4eve/public_html/vb/misc.php(96) : eval()'d code on line 277
???!!!!!!!
Alibass
09-21-2007, 01:26 PM
I am getting
Parse error: syntax error, unexpected '{' in /home/XXXXX/public_html/forums/misc.php(96) : eval()'d code on line 138 with 1.1 and also getting my smilie page.
PCkaosboss
09-21-2007, 02:39 PM
I get the same as above but the error is on line 25
I also have 1.1 and get the smilley page with the error on top
pitzerwm
09-21-2007, 03:27 PM
Thanks, I hadn't noticed the update. Really appreciate your smarts and contributions.
I too get the smiley face page. Just a minor error:)
alessai
09-21-2007, 08:36 PM
while u find a fix for our problem i was thinking about a new name for the product hmm like :
One Click and the Dirt is gone
loool <<< he is in the mood today :D
cjshirlaw
09-21-2007, 09:38 PM
Just updated to 1.1 and getting this error as well
Parse error: syntax error, unexpected '{' in /home/****/public_html/forum/misc.php(96) : eval()'d code on line 25
the same as the other users. Roll on 1.2 ;)
user_not_found
09-21-2007, 10:24 PM
Very good work Marked as installed
mishb68
09-22-2007, 12:25 AM
I'm getting:
Parse error: parse error, unexpected '{' in /home/xxxxxx/public_html/misc.php(96) : eval()'d code on line 300 and my smilie page.
Version 1.0 was working fine and I did have single ids assigned to clean up for me.
Should I just go back to it?
EDIT:
Thanks for fixing it. You rock!
mfyvie
09-22-2007, 05:07 AM
My sincere apologies to those who updated to 1.1 and got the parse error and the smilie page. This was caused by a typo on my part, and a rush to get the security issue in 1.0 fixed and released as 1.1. I had just returned from 3 weeks' of travel and had another commitment a couple of hours after that. My bad.
I've replaced the .xml file (I'm not incrementing the version number), so if you've downloaded 1.1 before the datestamp on this post, please redownload it and reinstall it. That should resolve the issue. My apologies again.
devilrulez
09-22-2007, 05:51 AM
Excellent one...
i was searching for something like this since long :)
pitzerwm
09-22-2007, 06:28 AM
MFYVIE, don't worry about it. Nothing blew up and you did a great job. Lucky you a had real vacation, hope you had a great time and got regenerated. Keep coming up with these great add ons.
PCkaosboss
09-22-2007, 08:48 AM
Dont think about it....hope you had a nice vacation :)
cjshirlaw
09-22-2007, 09:35 AM
Wow, thanks for the quick fix, re-installing now. Hope you had a good vacation.
Subah
09-22-2007, 09:51 AM
Its a great mod
Sweet mfyvie! I like it... installed
you should add + Email ban..
i saw your answer on this request but i hope if you can add this option for ban spacific email for the user , i mean if the user regist with (123 @ domain . com) the ban option effact on this email only not on all emails from (domain . com) !!
i hope i was clear in my bad english :)
hobbystoresearc
09-22-2007, 01:12 PM
problem solved - thank you.
Soliloquy
09-22-2007, 01:58 PM
Thanks for fixing the security problems quickly:)
alessai
09-22-2007, 07:24 PM
A list of the users who the mods and admins used on them the One-touch Spam Ban and Cleanup (https://vborg.vbsupport.ru/showthread.php?t=156444).
A list of the mods who used the One-touch Spam Ban and Cleanup (https://vborg.vbsupport.ru/showthread.php?t=156444) .
Undo button (the soft deleted threads and posts comes back normal).and it will be the best addon ever been made :D
BigDog56
09-22-2007, 10:02 PM
Thank You! Installed, now waiting for a spammer....:D
projectpilot
09-23-2007, 07:07 PM
Never mind I found where to add postbit_onetouchban code in postbit to make it work.
Thanks again, great mod. :)
where did you put the code in postbit, I dont have drop downs enabled.
Worky fine - thanks for this. :)
MotoMihalich
09-24-2007, 06:12 AM
Can you make the following hack: indicate registration time in the notification email when true users register at forum? This will help to realize minimum period real people need. I think it is much more than 15-20 seconds.
ablaye
09-24-2007, 06:15 PM
Thank You! Installed, now waiting for a spammer....:D
You won't have to wait too long.
I have already used it multiple times.
mfyvie
09-25-2007, 11:10 AM
Can you make the following hack: indicate registration time in the notification email when true users register at forum? This will help to realize minimum period real people need. I think it is much more than 15-20 seconds.
Your suggestion seems to have nothing to do with modification (unless I have missed something). If you'd like to make a suggestion about writing a different hack, please use the appropriate forum at vbulletin.org for this purpose.
where did you put the code in postbit, I dont have drop downs enabled.
This subject was covered earlier in the thread, please review the earlier posts.
mfyvie (https://vborg.vbsupport.ru/member.php?u=190317), sometimes u need to delete only 1 post quickaly.
Perhaps u can add a "mode", -> quick soft (Reason SPAM) delete post
I'm sorry, I still don't see the point in this. If all you needed to do was quickly delete a post, it is quite easy to delete a single post with just a few more clicks in vbulletin already. I don't really want to make this mod more complex, or give it too many choices when existing functions provide almost the same thing.
Its a great mod
i saw your answer on this request but i hope if you can add this option for ban spacific email for the user , i mean if the user regist with (123 @ domain . com) the ban option effact on this email only not on all emails from (domain . com) !!
i hope i was clear in my bad english :)
If what you are saying is that you'd like the entire email domain banned at the same thing, then I think this is a really bad idea. What about when a spammer users @yahoo.com, or @gmail.com? You'd be banning perfectly legitimate users.
A list of the users who the mods and admins used on them the One-touch Spam Ban and Cleanup (https://vborg.vbsupport.ru/showthread.php?t=156444).
A list of the mods who used the One-touch Spam Ban and Cleanup (https://vborg.vbsupport.ru/showthread.php?t=156444) .
Undo button (the soft deleted threads and posts comes back normal).and it will be the best addon ever been made :D
1 & 2 - I may consider adding events to the vbulletin logs, but I don't really want to maintain separate lists (and write an interface to view them) for this information. If posts are soft deleted then the moderator name is already recorded with "Deleted by" and the person who banned a given spammer is also recorded when you look at the list of banned users.
3 - It is currently possible to undelete soft undeleted posts and unban banned users through existing vbulletin functions. I don't plan to do any additional undelete function - hence the warning message that the action can't be undone.
Danisty
09-26-2007, 04:52 AM
Can we add the feature of removing spam from vBulletin blogs too?
mfyvie
09-26-2007, 06:32 AM
Can we add the feature of removing spam from vBulletin blogs too?
Yes I have already planned to do this in the next version (along with removing spam from project tools as well). I have a lot of other stuff to get done first, so I can't give any indications when the next version will be done.
bplinson
09-26-2007, 06:45 AM
Been looking for something like this for while a while now. Thanks!!!
perfphysio
09-27-2007, 09:11 AM
I to have the option in the user's profile but not in the postbit drop menu. Can you advise?
mfyvie
09-27-2007, 02:57 PM
I to have the option in the user's profile but not in the postbit drop menu. Can you advise?Please read back through earlier posts in this thread.
Stifler
09-28-2007, 04:12 PM
can u please add the ability to see who used the button in logs.. or at least on the deleted posts.
imranbaig
09-28-2007, 04:34 PM
cool, very nice and useful - clicks Install
blue6995
09-29-2007, 07:15 AM
I have just tried to install the security fix 1.1 (I had already installed version 1.0, which installed without any problems) and I am now getting the following error:
This product is not compatible with version 4.0.27-standard-log of MySQL. (Compatible starting with 4.1)
mfyvie
09-29-2007, 07:39 AM
I have just tried to install the security fix 1.1 (I had already installed version 1.0, which installed without any problems) and I am now getting the following error:
This product is not compatible with version 4.0.27-standard-log of MySQL. (Compatible starting with 4.1)
Actually neither version will work correctly with Mysql 4.0 (this mysql version doesn't support sub-queries), however I only added the dependency in version 1.1 to avoid any problems popping up.
Sorry - but you should either upgrade to at least 4.1.x or uninstall this mod. Please under no circumstances should you continue to use version 1.0 of this mod.
can u please add the ability to see who used the button in logs.. or at least on the deleted posts.
I've already said in an earlier post (maybe the previous page) that I would add logging. However, soft deleted posts should always show the person who deleted them, so as far as I am aware this feature that you are requesting was there from the beginning.
Makc666
09-29-2007, 12:02 PM
At this post we see that we have to type reason our self.
https://vborg.vbsupport.ru/attachment.php?attachmentid=69189&d=1188314748
But is there any way to make so that we were able to select vBulletin's Infraction from its list. Like when we select "Give Infraction" in user's profile.
+
When we "Give Infraction" and we set it up vBulletin startes a thread in "User Infraction Discussion Forum" (which is set in "User Infractions & Post Reporting Options" in ACP).
This will be very-very-nice.
perfphysio
09-29-2007, 04:46 PM
Please read back through earlier posts in this thread.I did this in the beginning but to know avail. Perhaps letting us know the message # would be good when referring to the potential solution.
I found the folllowing:
Check through your template (postbit) look for $template_hook[postbit_user_popup] - it should be right at the end, just before the final </table> tag. If it's not there, add it - but better would be ask yourself WHY it isn't there. These hooks should be in the templates of all recent versions of vbulletin. Other hacks may use them as well.I did not find it and so tried to add it but this resulted in an error so I backed out of it again. Might there be more to this? I am using 3.6.8
mfyvie
09-29-2007, 08:47 PM
I did this in the beginning but to know avail. Perhaps letting us know the message # would be good when referring to the potential solution.
I found the folllowing:
I did not find it and so tried to add it but this resulted in an error so I backed out of it again. Might there be more to this? I am using 3.6.8
This template hook should appear in the version of vbulletin you are using, in the template called postbit. If not - chances are you are still running a postbit template from an older version of vbulletin, and you have not reverted this template during previous upgrades. If you are running other templates which have not been reverted to the latest versions, then you may run into other problems. Normally a warning appears in the admincp that there are templates that need to be reverted. You may want to double check if you have such messages, or refer to the vbulletin documentation concerning upgrades.
MotoMihalich
09-29-2007, 09:27 PM
Your suggestion seems to have nothing to do with modification (unless I have missed something). If you'd like to make a suggestion about writing a different hack, please use the appropriate forum at vbulletin.org for this purpose.
I am not familiar on writing mods, but I have manually edited the following in the register.php file:
foreach ($newemails AS $toemail)
{
if (trim($toemail))
{
vbmail($toemail, $subject, $message);
}
}
and changed to:
global $isbot_time1;
$isbot_timediff = intval(TIMENOW - $isbot_time1);
foreach ($newemails AS $toemail)
{
if (trim($toemail))
{
vbmail($toemail, $subject, $message."\nRegistration preiod: $isbot_timediff sec.");
}
}
Now each time I get New User Notification it shows me how much time has a real user passed during registration. Maybe you can arrange this manual change as plugin/mod?
BobbyBig
09-30-2007, 10:03 AM
There still is a problem with showing it in the popup menu on a 1.6.4.
$template_hook[postbit_user_popup] can not be found in postbit template, also not in standard instalation templates. Where to add it in the tempalte ?
thanks
regards
alexi
10-01-2007, 01:47 AM
I've installed this hack and it would be wonderful to get it working.
When I use it, it deletes posts and threads properly but does not ban the user or the IP address, it just grinds away untill eventually I get a time out error.
tekguru
10-08-2007, 08:32 PM
Check through your template (postbit) look for $template_hook[postbit_user_popup] - it should be right at the end, just before the final </table> tag. If it's not there, add it - but better would be ask yourself WHY it isn't there. These hooks should be in the templates of all recent versions of vbulletin. Other hacks may use them as well.
Interestingly enough I use the Aria+ Skins and the postbit template was as follows:
$template_hook[postbit_start]
<if condition="$post[postcount] == 1"><div class="spacer"></div><else /></if><table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td height="31" width="80%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div class="category_title">$post[title]</div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>
<td align="right" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)"><a style="float:$stylevar[right]; padding-top: 9px;" href="#top" onclick="return toggle_collapse('postbit_$post[postid]')"><img id="collapseimg_postbit_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$GLOBALS['vbcollapse']['collapseimg_postbit_' . $post[postid]]}.gif" alt="" border="0" /></a>
</td>
<td width="14" height="31" align="right" valign="top"><img border="0" src="$stylevar[imgdir_misc]/top_right.gif" width="14" height="31" alt="" /></td>
</tr>
</table>
<table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody id="collapseobj_postbit_$post[postid]" style="{$GLOBALS['vbcollapse']['collapseobj_postbit_' . $post[postid]]};">
<tr>
<td class="thead" $post[scrolltothis]>
<!-- status icon and date -->
<div class="normal">
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a><if condition="$show['inlinemod']"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" /></if>
</div>
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal">
<div class="normal" style="float:$stylevar[right]">
<if condition="$show['postcount']">(#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]">$post[postcount]</a>)</if>
</div>
</td>
</tr>
<tr valign="top">
<td class="userinfo_bg" width="175">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
<if condition="$show['reputation']"><div style="padding:2px 0px 2px 0px;"></div><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<div class="smallfont">
<br />
<div class="vb_postbit_info"><span class="smallfont">$vbphrase[potbit_online_status]</span> $post[onlinestatus]</div>
<div class="vb_postbit_info">$vbphrase[posts]: $post[posts]</div>
<if condition="$post['joindate']"><div class="vb_postbit_info">$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div class="vb_postbit_info">$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['field3']"><div class="vb_postbit_info">PDA(s): $post[field3]</div></if>
<if condition="$post['field5']"><div class="vb_postbit_info">Operator: $post[field5]</div></if>
<if condition="$post['age']"><div class="vb_postbit_info">$vbphrase[age]: $post[age]</div></if>
<if condition="$show['infraction']"><div class="vb_postbit_info">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><if condition="$show['reppower']"><div class="vb_postbit_info"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</div></strong></if></if>
<div class="vb_postbit_info">$template_hook[postbit_userinfo_right_after_posts]</div>
</div>
$template_hook[postbit_userinfo_right]
<div style="padding:5px 0px 5px 0px;"></div>
</td>
<td height="100%" valign="top" class="alt2" id="td_post_$post[postid]">
<div style="float:right;">
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" width="20" height="20" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" width="20" height="20" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" width="20" height="20" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> </if>
$post[iplogged]<if condition="is_browser('ie')"><div style="padding: 2px 0px 0px 0px;"></div></if></div><div class="smallfont">
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title] - </strong></if>
<!-- status icon and date -->
</if>
<!-- status icon and date -->
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
<div class="spacer"></div>
<div class="hr" style="width: 100%;">
<hr />
</div>
<div class="spacer"></div>
$template_hook[postbit_messagearea_start]
<!-- message -->
<div id="post_message_$post[postid]" class="vb_postbit">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div> <br />
<div class="hr" style="width: 100px;">
<hr />
</div><div class="spacer"></div>
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <div class="spacer"></div>
<div class="hr">
<hr />
</div><div class="spacer"></div>
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="postbit_bl">
<div> $post[icqicon] $post[yahooicon] $post[aimicon] $post[msnicon] $post[skypeicon] </div>
</td>
<td class="postbit_br" align="$stylevar[right]">
<!-- controls -->
<div style="float:left">
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
</div>
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
<td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
</tr>
</table>
$template_hook[postbit_end]
$postbit_advertisement
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup] <<< MISSING
</table>
</div>
<!-- / post $post[postid] popup menu -->
The indicated hook was indeed missing and now I've added it the Mod works perfectly!
blind-eddie
10-10-2007, 08:10 PM
I added this to my site...it is enabled, but I dont think my templates were update....I dont see it on any members profile....And yes only 5,6,7 are usergroups to see it......Can anyone help me with this?
Just wondering how this is different from the Spam Deciminator ?
Spam Decimator is a 2-click system. This is a ... 3-click system with more features.
(How can you call it a 'One-touch' system when it requires 3 clicks?)
blind-eddie
10-10-2007, 10:53 PM
Would you please add readme for all templates edited for this to work, because none of mine were edited?
Shaheen
10-11-2007, 12:37 AM
Cool hack man nice
IPAULR
10-11-2007, 02:49 AM
Thanksworks great:D:D
blind-eddie
10-11-2007, 11:05 AM
I added this to my site...it is enabled, but I dont think my templates were update....I dont see it on any members profile....And yes only 5,6,7 are usergroups to see it......Can anyone help me with this?
Anyone?
DiverTree
10-11-2007, 05:25 PM
Any chance of having a move threads feature rather than deleting them? We have a 'Litter Tray' forum to move threads to instead of deleting.
My feeling on this is that it makes little sense to move spam to such an area. I have a trash / dupes forum as well, but that's where I put stupid questions from my users. The aim of a spammer is to get his message through, and since this is a spam tool the best thing to do is delete it, rather than move it somewhere else. I'm happy to be convinced otherwise, but I still can't see the logic in this...
i would also be alot more interested in this hack if it would move threads and posts instead of deleting them. the problem i have isnt so much that of a spammer, as it is of trolls. we currently move all our spam and abuse messages to a private forum so that we can record all the infromation from them and make reports to send to isp's and other interested parties. moving them to thier own forum makes this task alot easier to do. that way instead of searching for each individual post, its all collected in one area. the task can still be manually done and this hack is still useful, as it allows for a quick responce and keeps the members from seeing it. in the end, that is whats important. thanks for the hack ... i plan on installing it soon, but i do wish you would consider the option to move the post/thread to its own forum. the protocol for doing that may be more common than you think.
thanks again. :)
dismas
10-13-2007, 05:43 PM
i would also be alot more interested in this hack if it would move threads and posts instead of deleting them. the problem i have isnt so much that of a spammer, as it is of trolls. we currently move all our spam and abuse messages to a private forum so that we can record all the infromation from them and make reports to send to isp's and other interested parties. moving them to thier own forum makes this task alot easier to do. that way instead of searching for each individual post, its all collected in one area. the task can still be manually done and this hack is still useful, as it allows for a quick responce and keeps the members from seeing it. in the end, that is whats important. thanks for the hack ... i plan on installing it soon, but i do wish you would consider the option to move the post/thread to its own forum. the protocol for doing that may be more common than you think.
thanks again. :)
Any chance of having a move threads feature rather than deleting them? We have a 'Litter Tray' forum to move threads to instead of deleting.
I agree with the above. There is also the advantage of seeing what your mods are doing. Look at it this way, someone joins and a mod takes an immediate dislike to the person (maybe they know them from another board or IRL, not uncommon in smaller communities). The mod who you thought was working in your best interest bans this person and cleans away everything they've posted, which may not be much, but still it may have been non-offensive and good for the community. You, as the admin, have no idea this happened unless you notice that the banned usergroup went up by one or if they send an email to webmaster@ about the mod banning them for no good reason. With things being moved to a recycle bin/litter box/etc. then the admin can review what was posted and either agree with the ban or take it up with the mod.
And yes, I'm going to download and install this now but I would like to see this as a feature in the next release.
JadedSouls
10-13-2007, 06:53 PM
Fantastic - I love it!
No problems for me so far that I can see!
heynurse
10-16-2007, 04:12 PM
I agree with the above. There is also the advantage of seeing what your mods are doing. Look at it this way, someone joins and a mod takes an immediate dislike to the person (maybe they know them from another board or IRL, not uncommon in smaller communities). The mod who you thought was working in your best interest bans this person and cleans away everything they've posted, which may not be much, but still it may have been non-offensive and good for the community. You, as the admin, have no idea this happened unless you notice that the banned usergroup went up by one or if they send an email to webmaster@ about the mod banning them for no good reason. With things being moved to a recycle bin/litter box/etc. then the admin can review what was posted and either agree with the ban or take it up with the mod.
And yes, I'm going to download and install this now but I would like to see this as a feature in the next release.
Yes, sounds like a great hack, but I also agree with the above comments.
sylar
10-16-2007, 07:31 PM
Installed as I will need this in the future as we grow. My one ban does not work in postbit dropdown though. I have the quick ban in post bit. Is this why. I would like to have both if possible as the quick ban is good for just a simple ban withouth having to go into the Admin cp.
bp323
10-19-2007, 11:06 AM
installed!
kevcj
10-19-2007, 12:48 PM
Wonderful add on, installed with no problems. One of my moderators has been asking for something just like this to be installed on my site.
Thank You!!!!
z0diac
10-20-2007, 01:43 PM
EXCELLENT. I already added an infraction level for "hard spam" that would give them enough infraction points to automatically ban them, but that's all it did. This mod is great because it removes any damage they may have done as well. (and I love mods that require just a product xml import) :) Thanks!!
blind-eddie
10-30-2007, 11:05 PM
Is there any way to undo a delete of a member done in error, He had over 15,000 Threads & Post, vast amounts of info. One of our Admins did unknowingly. Please help me out, Thanks, Tim
^ I doubt this plugin did that. By default, after 30 days I think it is, accounts become protected against its use.
Nope - someone used the regular delete function... cue horror music! :eek:
You might want to speak to whoever hosts your board. Maybe, you can retreive it from the database. I doubt it though.
blind-eddie
10-30-2007, 11:23 PM
Yep, I will install a backup of my site from this morning then, no problem...Thanks for your help though.
I backup my site 2 times a day, plus my host backs it up every day....
skippybosco
11-01-2007, 02:12 AM
Our site has tried to take a stance to remove barriers of entry by not currently implementing captcha and email authentication. So far (knock on wood) we've been very fortunate to have a low rate of spam among our 2,000+ active users but a tool like this certainly helps when one does creep in.
I've been using http://www.stopforumspam.com as a means to validate and report spam on my site and while manual today, has been quite useful. It basically is a central database of known username, email and IPs that have been connected to SPAM behavior. They do have an API, however, for PUTs and GETs which could automate the process.
What do you guys think about implementing a hook into One-Touch (or potentially a new mod altogether perhaps?).. I'm imagining it could work one of many ways:
1) Regular cron that updates the Ban or restrict IP , usernmae or email with known Spammers
2) On registration a check is made against IP, email and/or username and based on configuration can block or add to a different user group.
3) On post a check is made against IP, email and/or username and based on configuration can block or require moderation of the post.
4) When a SPAM user or Post does make it through and you need to Ban via One Touch, the details of the user information are sent to the central database so that other forum members can benefit by the early detection.
JtChurch925
11-03-2007, 05:17 PM
This mod definitely looks like quality stuff, I only wish I could use it.
I have MySQL 4.0.27, a fact which I now regret, but as I am a little hesitant to go upgrading the database of my live site for fear of having the whole thing crash, I had to find an alternative to One-touch.
I found the Spam Decimator (https://vborg.vbsupport.ru/showthread.php?t=93762) mentioned earlier in this thread, and it actually works with earlier versions of MySQL. It also says that it is a vB 3.5 plug, but it seems to work ok with my 3.6.8 forum.
So just an FYI to those that find they are unable to use this fine plug, there is another that will work. :)
skippybosco
11-04-2007, 05:21 AM
FYI, I went from 4.0.27 to 5.x as part of a Host move recently with no ill effects. Set up a test server and do a dry run of the import before you do your live site and you just may be ok.
Sarthek
11-04-2007, 07:20 AM
Hi, looks like promising. Will give it a try soon.
One question though. Is it possible to give an option to input preset password to confirm deletetion. I dont want to see delete member with 15.000 posts by accident, or if someone gets into forum with admin account to make unrevertable damage.
thompson
11-05-2007, 08:26 PM
sounds good.
needaltuna
11-07-2007, 02:53 AM
Thanks for the top mod.
wragge11
11-08-2007, 10:21 AM
Installed - Thanks!
Invalid ID
11-09-2007, 04:57 AM
It's working great in user's profile, but I don't see the link in postbit.
Plz help. Thanks
afullcup
11-18-2007, 12:46 AM
Help please. I had to use this hack this morning on a PM spammer. They got 1500 PMs out before I caught it. So, they are all deleted now, but my users are still seeing a message that they have 1 New message, but when they go to their PM box there's nothing there. How can I remove the message for them?
Pebbled
11-18-2007, 02:32 AM
This looks absolutely perfect for dealing with unwanted spammers, the satisfaction of removing all their handiwork in less time than it took them to create all the spam in the first place is incredible.
I note that in the settings you can specify your 'Banned' usergroup ID, could a different usergroup be applied here -- as in 'Miserable', rather than 'Banned', in order to make their lives totally miserable from this point on?
benFF
11-18-2007, 04:36 AM
It would be great if a report of the deleted user could be posted to a specified forum :)
akonze
11-18-2007, 02:41 PM
Hi all,
sounds like a great mod, but I can not install it. My server is hosted by 1&1, europes biggest webhoster and they do have MySQL 4.0.25 at the moment. Is there any chance you could update this mod for earlier MySQL versions?
afullcup
11-19-2007, 01:31 PM
Help please. I had to use this hack this morning on a PM spammer. They got 1500 PMs out before I caught it. So, they are all deleted now, but my users are still seeing a message that they have 1 New message, but when they go to their PM box there's nothing there. How can I remove the message for them?
anyone?
ozmazdaclub
11-21-2007, 11:37 PM
Installed it at 6pm last night (AEST) and first spammer detected and spam banned and cleaned at 6:15pm (AEST). Worked like a dream. All my moderators love it. Excellent work!
jmurrayhead
11-23-2007, 06:28 PM
What makes this not compatible with the 4.0.24-nt-max version of MySQL? I can't use it because of that :(
Seiyaboy
11-24-2007, 04:25 PM
This looks very nice indeed, but I have a question about this before I install it. Do this modification require admins and mods to be logged into their admin/mod cps in order for the banning and thread/post deleting to take place? Or as long as the usergroup permission matches, no extra login is needed? Thanks in advance.
Fungsten
11-24-2007, 08:10 PM
It's working great in user's profile, but I don't see the link in postbit.
Plz help. Thanks
Same here. 3.6.8 PL2
ParsianSat_Net
11-26-2007, 08:27 AM
Dear
hello
I'm banned user
automatic banned IP?
cyberws
11-26-2007, 07:37 PM
This should make cleanup after a spammer easier. Thanks. :)
weeno
12-13-2007, 11:29 PM
An issue that we've seen.
If you try to "one touch ban" from a user's name in the postbit, it tries to ban the 1st poster in the thread, not the user whose name you've clicked on.
Obviously, it's the wrong variable is being used.
arn
DssCrazy
12-13-2007, 11:33 PM
something needs to be added!
Look at the pic! i pointed it out!
Todecay
12-20-2007, 08:29 PM
seriouly a great mod...thanks a lot m8!!
tekguru
12-24-2007, 06:54 PM
Any ideas why we are getting this message when trying to run?
Database error in vBulletin 3.6.8:
Invalid SQL:
DELETE FROM vb_pm WHERE pmtextid IN (SELECT pmtextid FROM vb_pmtext WHERE fromuserid = 21443);
MySQL Error : Got error 134 from storage engine
Error Number : 1030
Date : Monday, December 24th 2007 @ 08:37:24 PM
Script : http://www.4winmobile.com/forums/misc.php
Referrer : http://www.4winmobile.com/forums/misc.php?do=spamcleanconfirm&u=21443
It's been running flawlessly for ages...
RS25com
12-25-2007, 09:11 PM
Edit - admin error - one of the admins gave public access to the tool and Google/Yahoo was hitting the link and deleting everyone. :o
RS25com
12-25-2007, 09:42 PM
The issue you described was fixed in 1.0. Can you confirm that you are seeing that issue in version 1.1?
There is a protocol for reporting security issues with mods. It usually involves contacting the author first and/or the vbulletin.org team. I don't think it's helpful for you to announce to everyone to disable the product. I do think however it would be useful for you to liase with me if you feel this product is in any way responsible that I can also confirm that.
Please see my edit above - it turns out someone (admin?) changed one of the templates and allowed anonymous access to the tool.
I've removed it just in case, which is unfortunate as it's a great product.
tekguru
12-25-2007, 09:56 PM
Just goes to show tools like this are powerful and need to be given to Mods only!
leeman
12-26-2007, 07:08 AM
Installed and works like a charm.
Thnx!
Fungsten
12-26-2007, 07:38 PM
Same here. 3.6.8 PL2
I see it now! It's set for users that have registered in less than 30 days.
mark|3
12-27-2007, 03:39 AM
Hi, i tried to install the following product but i get this error message.
The following dependencies were not met:
1. This product is not compatible with version 4.0.16-standard-log of MySQL. (Compatible starting with 4.1)
Thanks
COBRAws
12-28-2007, 03:25 PM
How come i never ran across this mod? Thanks for your quality works Mark!
Pcwolfx?
12-29-2007, 09:35 AM
very beatiful add-on. thanks.
Arbit3r
12-29-2007, 02:01 PM
GREAT! thanks best tool out there
Saviour
12-29-2007, 02:38 PM
This is an excellent idea...downloaded and installed.
I haven't had the need to use it, as of yet, but just wanted you to know that installation went perfectly with no errors. I'm currently running vB 3.6.8 PL2.
I'm sure my Moderators will love this...making their job so much easier.
I also nominated this for MOTM.
Very nice job!
stanleys
12-30-2007, 05:24 AM
Terrific mod, thanks for making it.
Unfortunately the link only shows up on the member's profile, and not in the the drop-down on the postbit as shown in the screenshot. Any reasons on why this might be happening?
Can you please fix the addon so it will work with MySQL > 4.0.16 the same as VBulletin requirements?
adam75south
01-04-2008, 08:32 PM
installed and works like a charm!!! i just converted from phpBB so i won't know what to do after i get rid of all my spammers. i might be sad.
nbaphenom
01-07-2008, 01:11 AM
Can you please fix the addon so it will work with MySQL > 4.0.16 the same as VBulletin requirements?
Hey man i 2nd this i have the same issue and cannot install.
mfyvie
01-07-2008, 07:04 AM
Catching up on some old posts here...
This looks very nice indeed, but I have a question about this before I install it. Do this modification require admins and mods to be logged into their admin/mod cps in order for the banning and thread/post deleting to take place? Or as long as the usergroup permission matches, no extra login is needed? Thanks in advance.
No, they do not have to be logged into the admincp/modcp first. It's a single-file .xml install, it would have actually been faster to try for yourself than type your question :)
An issue that we've seen.
If you try to "one touch ban" from a user's name in the postbit, it tries to ban the 1st poster in the thread, not the user whose name you've clicked on.
Obviously, it's the wrong variable is being used.
arn
I haven't seen that before, nor had anyone else report this. Is this issue still current, if so please PM me with the details of your setup to see if I can figure out why that might happen.
something needs to be added!
Look at the pic! i pointed it out!
Well I looked at the pic you posted and could see nothing other than the fact you drew a box around the forum name used in the example. I'm afraid you'll have to be more specific about what you are trying to say, because I've no idea.
Any ideas why we are getting this message when trying to run?
Database error in vBulletin 3.6.8:
Invalid SQL:
DELETE FROM vb_pm WHERE pmtextid IN (SELECT pmtextid FROM vb_pmtext WHERE fromuserid = 21443);
MySQL Error : Got error 134 from storage engine
Error Number : 1030
Date : Monday, December 24th 2007 @ 08:37:24 PM
Script : http://www.4winmobile.com/forums/misc.php
Referrer : http://www.4winmobile.com/forums/misc.php?do=spamcleanconfirm&u=21443It's been running flawlessly for ages...
When I took that error message and put it into google I found people suggesting that this indicates possible problems with your tables, and suggesting running repair / optimise on them. This message has nothing to do with this mod.
Can you please fix the addon so it will work with MySQL > 4.0.16 the same as VBulletin requirements?
There is no requirement that mods must be compatible with the same versions of older software that the current version of vbulletin allows. That's why a system of minimum version numbers was built into the plugin system. In fact, starting from vbulletin 4.0 I'd be very surprised if they allow MySQL 4.0 to be used. See this post (http://www.vbulletin.com/forum/showpost.php?p=1473397&postcount=22).
This mod uses sub queries. Sub queries are not possible in 4.0. There are a whole host of things which are possible in 4.1 and not in 4.0, as well as performance issues. In fact, many times when I try to do something useful with mysql I find that it is not possible with 4.0. Very small numbers of people still use 4.0 (since the arguments to upgrade, at least from my perspective, are good ones), so I don't really see the sense in committing the additional time required to rewrite what is essentially a simple query into a larger chunk of code to avoid using sub queries.
If someone else wants to undertake the work to rewrite that code to work in mysql 4.0 then I will include it into a new version, but I have limited resources at the moment, so I didn't ever plan to undertake such work.
Since this question seems to come up over and over I'll add it to a FAQ at the start of this thread.
DjLuv
01-10-2008, 05:09 PM
awesome, hack installed and banned 2 members as they requested it
WiseOne38221
01-10-2008, 10:47 PM
AWESOME! Installing now and thank GOD (and mfyvie (https://vborg.vbsupport.ru/member.php?u=190317)) for this hack, LOL.
:)
AndyPandy
01-15-2008, 11:46 PM
hey thanks for the great hack. One problem which has been mentioned: the postbit drop down part is not showing. How do I add my custom template to the hook?
Added: $template_hook[postbit_user_popup]
but still nothing ^
Sorry I am totally new to this*
cmeinck
01-16-2008, 10:46 PM
This completely rocks. It saves me so much time and effort each day. Thank you, thank you, thank you!
nyqnzguju
01-18-2008, 08:20 PM
Hi. thanks for sharing wonderful hack.
I have installed it but i cant see anything when i click on the user. Please let me out. I followed whatever u said but still didnt see anything.
http://i168.photobucket.com/albums/u162/highranger/nothing.jpg
Please PM or Reply. I want this hack badly. ;) lol thanks in adv.
mfyvie
01-19-2008, 10:02 AM
I have installed it but i cant see anything when i click on the user. Please let me out. I followed whatever u said but still didnt see anything.
Like the others, there is probably something non-standard in your template that is causing this (if you have followed the instructions elsewhere in this thread).
I suggest that if the postbit drop down menu doesn't work for you, then simply click through to the members profile page, then click on the one-touch spam ban and clean option that appears on the profile page to do the same thing.
I'm not convinced that is the issue here. I've tried installing this on a fresh board and I still don't see the link in postbit legacy. Does this work with both postbit and postbit legacy?
Amenadiel
01-19-2008, 02:31 PM
I second the motion to add IP banning as an option in the mod configuration.
Thanks for a great hack anyway.
joshbond
01-21-2008, 01:52 AM
I really love this mod. Thank you very much.
It makes it so quick and easy to get rid of "unwanted" users.
nyqnzguju
01-21-2008, 04:34 PM
Still it doesnt work.:(
mfyvie
01-21-2008, 04:48 PM
Still it doesnt work.:(
Right, so you are telling me that the link doesn't appear in the member profile page (see 3rd screenshot) - as per my suggestion as well.
If what you are saying is that you don't see the link in *either* place (though hard to tell since "still doesn't work" doesn't actually tell me whether you followed my suggestion or not), then you would be the first person ever to have that issue.
In other words - are you sure? Did you follow my suggestion (all of it)?
nyqnzguju
01-21-2008, 05:13 PM
The links doesn't apprear in the member profile also. I did. I followed your all suggestions.
I told you before that i did whatever u said in the suggestion.
SBlueman
01-26-2008, 07:08 AM
Would it be possible to add an option of omitting certain things from being deleted? I know this might sound odd but say someone is banned....but started a legit thread before being banned. Now it's deleted and the discussion thread seems out of context.
mfyvie
01-26-2008, 07:15 AM
Would it be possible to add an option of omitting certain things from being deleted? I know this might sound odd but say someone is banned....but started a legit thread before being banned. Now it's deleted and the discussion thread seems out of context.
This tool is only intended to clean up after hard-core spammers. These people will never start a legitimate thread. If you really do have a case like you described, then clean it up the old way, without using this tool.
Dingo14
02-03-2008, 10:03 PM
I get this error anyway know how to fix thanks
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT forumid, allowpostdecrease
FROM forum
WHERE forumid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
kartik786
02-03-2008, 11:34 PM
did not get integrated in the templates properly..to be specific.. did not have the one click link in postbit.. please explain the template edits :)
Dingo14
02-04-2008, 12:21 AM
did not get integrated in the templates properly..to be specific.. did not have the one click link in postbit.. please explain the template edits :)
sorry bit new to this not sure what you mean
please explain the template edits
mfyvie
02-04-2008, 05:15 AM
I get this error anyway know how to fix thanks
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT forumid, allowpostdecrease
FROM forum
WHERE forumid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
This database query does not come from this mod. I would guess that it is being generated by a different mod.
Dingo14
02-04-2008, 05:33 AM
i get links that take me to smilies page on site plus back to the page that ask if you want to proceed these are being generated by email from vbulletin about the error as well, i have disabled quiet a few mods and still get the same thing
mfyvie
02-04-2008, 05:47 AM
i get links that take me to smilies page on site plus back to the page that ask if you want to proceed these are being generated by email from vbulletin about the error as well, i have disabled quiet a few mods and still get the same thing
Nonetheless - that error message is not being generated by this mod. It's impossible because it doesn't have the code listed in the error message. You will have to continue to disable mods one by one until you find the mod that is using the code that is generating that error message. I can't help you further than that.
kartik786
02-05-2008, 11:24 AM
sorry bit new to this not sure what you mean
please explain the template edits
The one click ban link doesnt show up in the popup once you click the member name.
I'm assuming you need to tweak the postbit_legacy template?
Dr.NoTime
02-05-2008, 05:06 PM
Really useful hack. Thank You.
tanujdude91
02-08-2008, 11:18 AM
One of the best mods seen . Nominated for MOTM .
Thanks bro....
SoftDux
02-10-2008, 03:53 PM
where do I change the default wording when I want to ban someone?
rwoscott
02-12-2008, 01:24 AM
Installed thanks.
sparky5693
02-18-2008, 02:35 AM
Anyone tried this on 3.7?
adwade
02-20-2008, 07:17 AM
Just installed and utilized this fine MOD, it saved me an hour's worth of frustration in removing 100+ msgs left by a wayward user. Many Thanxx! PayPal Donation sent.:up:
atcspaul
02-23-2008, 10:55 AM
best mod i have ever seen. nice job vbulletin.org
midlandi
02-24-2008, 06:46 PM
Bloody Brilliant!!!!!!
A real time saver.:D
dreads
02-25-2008, 01:08 AM
Installed -
Thanks!
RedGTiVR6
02-27-2008, 05:35 PM
Anyone tried this on 3.7?
I'd like to know the results here too!
bigcurt
02-29-2008, 07:55 PM
An issue that we've seen.
If you try to "one touch ban" from a user's name in the postbit, it tries to ban the 1st poster in the thread, not the user whose name you've clicked on.
Obviously, it's the wrong variable is being used.
arn
I have the EXACT same problem for some odd reason.
atcspaul
02-29-2008, 11:11 PM
i also nominated this for motm. great job everyone. what a time saver!
this kicks some serious ass - thanks! much easier than having to go all over the place within the admin cp to delete/take care of posts by hand etc.. great mod, thanks!
-kenc
AcidX
03-04-2008, 05:06 PM
Installed. Thanks.
Raptor
03-04-2008, 05:41 PM
any way to get this working with mysql 4.027 ?
csalbuchi
03-05-2008, 02:32 AM
I´m using vbulletin 3.6.8 and my template is basically "oumar", but cannot see the dropdown menu option for this wonderfull addon. I´m going to use it from the profile view.
Anyway, my fellows will be very happy when they see it installed at my forum. Thanx! Great job!!! I´ve clicked "installed"
Powerofdreams
03-20-2008, 01:29 PM
Its working very good :) Installed! Thank you
jmurrayhead
03-20-2008, 08:49 PM
Very nice, would be nice to have a 'Cancel' button on the confirm page to bring users back to the previous page.
pcoskat
03-22-2008, 12:30 PM
Will this be upgraded for 3.7?
Jeff66
03-24-2008, 12:32 AM
Will this be upgraded for 3.7?
3.7 has a similar function as standard.
The delete posts as spam function will give you the option to delete all posts by the user and ban the spammer.
It's not as comprehensive as this mod, but it does make it much easier to clean up spam.
furnival
03-25-2008, 08:49 AM
Thanks, great mod. Would be good to have options to ban user for a limited amount of time only, just like in the admin cp.
diola
03-30-2008, 03:56 AM
Works fine at my 3.7 board. I have just a question:
How can i put an ban time selection on the ban reason form?
Mikecp421
03-31-2008, 01:28 AM
I have the banlist hack in too and it doesn't post the user and reason to that, is there a reason?
v12kid
04-07-2008, 03:00 AM
installed and working like a charm, thanks
mindfrost82
04-07-2008, 01:13 PM
I have this setup so super moderators can use it. They have the ability to delete posts and threads in any forum, but when they use this tool it doesn't appear to ban the IP address. Are admins the only ones that can ban the IP address?
toucan42
04-07-2008, 08:13 PM
doesnt nuke blog posts (didnt notice till now) but also might just be for vb3.7 this isnt handled.
transparent
04-16-2008, 04:00 AM
Installed on 3.6.8 and it works perfect. I just taught my mods how to use it!
I love this mod!!!!! Thx alot ; )
ams3521
04-18-2008, 10:31 PM
Doesnt worrk in my dropdown menu either , I see theres a couple of posts on here with the same problem but no solution, great hack non the less.
d3v1L
04-21-2008, 01:35 AM
hi, I installed this mod... It works great some times but some times it says "This user is protected. You may not use this tool on this user." even on users who have just registered. I tried disabling the 30 day user limit. I just cant ban some members because of it says user is protected. any ideas? m using vb 3.6.7 pl 1
thestaton
04-21-2008, 01:59 AM
thank you so much for an excellent mod.
TheFrienzNet
04-23-2008, 06:49 PM
Installed, thank you very much :)
Hi,
I when confirm clean user.
Show below message.
Your submission could not be processed because a security token was missing or mismatched.
If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
what i do?
i'm admin.
Mark.B
04-24-2008, 09:00 PM
I don't use this mod, so I have *no idea* if this will work, but try this:
In template "onetouchban" find:
<input type="hidden" name="userid" value="$banuserid" />
Add after:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
to 1230 and Mark B and others
with the advent of the new security token I had to alter this
I was going to wait and will upgrade when it comes but if anyone else has the issue I took the plugin and found the form that was not passing the new token and added
<form action="misc.php" method="post" name="spamconfirm" id="spamconfirm">
$message
<input type="hidden" name="do" value="dospamclean" />
<input type="hidden" name="userid" value="$banuserid" />
<!-- ADD here -->
<center><input type="submit" class="button" value="$vbphrase[onetouchspamban_confirm_button]" /></center>
</form>
and added into the form
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
then re upload the product allowing overwrite
sorry if I seem eager but I need this to work before the others come in in the am
ta
klaush
04-24-2008, 11:18 PM
Does not work on .10
Another idea?
Thanks!
Mark.B
04-25-2008, 04:49 AM
to 1230 and Mark B and others
with the advent of the new security token I had to alter this
I was going to wait and will upgrade when it comes but if anyone else has the issue I took the plugin and found the form that was not passing the new token and added
and added into the form
then re upload the product allowing overwrite
sorry if I seem eager but I need this to work before the others come in in the am
ta
Yes, that's basically the same as what I've suggested, except it's easier on an existing installation to do it my way as you simply amend the template.
Mark.B
04-25-2008, 04:50 AM
Does not work on .10
Another idea?
Thanks!
Hmm, it has worked for someone over on vbulletin.com, which is where I originally posted it. Both the methods above are essentially the same thing.
Now I read yours I know they are the same thing
I by passed your post after it said you do not use the mod - mistake I know looking at the number of posts you have
It is working on 10 for me doing the fresh install................................
tekguru
04-26-2008, 05:47 AM
To fix the security issue edit the template to add :
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
after:
<form action="misc.php" method="post" name="spamconfirm" id="spamconfirm">
BigDog56
04-30-2008, 02:35 AM
Works now, thanks!
bplinson
04-30-2008, 07:40 AM
Fix works great.
adblaze
05-02-2008, 01:06 AM
Is this working with 3.7. I have no menu options in posts for the one click options after upgrading.
Black Tiger
05-02-2008, 11:09 PM
I have it installed on 3.7, did not test it yet, but I did implement the template modification as suggested by Mark.B.
Great mod and Mark, thanks for the explanation!
weitalia
05-04-2008, 08:01 AM
this version works on 3.7
i only add the line for securitycode on form template
BigDog56
05-04-2008, 08:29 PM
When i updated to 3.7, it stopped working. I un-installed it, re-installed it, works fine now. thank you! (I don't have a link in the profile of the member anymore, but just in the drop-down menu.)
gabrielt
05-05-2008, 10:08 PM
In order for this mod to show up on the member's profile page on vBulletin 3.7 you need to edit the following template and add the code in red:
Member Info Templates, MEMBERINFO
<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
<li class="thead"><a href="misc.php?$session[sessionurl]do=spamcleanconfirm&u=$userinfo[userid]">$vbphrase[spammer_ban_member]</a></li>
</if>
I hope this helps other people on the same situation.
Cheers,
Gabriel Torres
BigDog56
05-05-2008, 11:08 PM
In order for this mod to show up on the member's profile page on vBulletin 3.7 you need to edit the following template and add the code in red:
Member Info Templates, MEMBERINFO
<if condition="can_moderate()">
<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
<li class="thead"><a href="misc.php?$session[sessionurl]do=spamcleanconfirm&u=$userinfo[userid]">$vbphrase[spammer_ban_member]</a></li>
</if>
I hope this helps other people on the same situation.
Cheers,
Gabriel Torres
Got it, works, thank you!
nova4708
05-08-2008, 09:25 AM
I tried using this on a spammer, and it said it was going to use the action against MY ADMIN ACCOUNT! It was trying to delete the ADMIN, not the SPAMMER!
I'm using 3.7
I would not recommend this product!
AdrianH
05-08-2008, 10:52 AM
I tried using this on a spammer, and it said it was going to use the action against MY ADMIN ACCOUNT! It was trying to delete the ADMIN, not the SPAMMER!
I'm using 3.7
I would not recommend this product!
Don't see how that is possible as it will only point to the user id that you have chosen.
I tested this today by creating new 5 users and adding some posts by each of them,it worked perfectly every time.
Providing you add the template edits for v3.7 listed in this thread there should be no problem.
cash7c3
05-10-2008, 05:52 AM
So after a recent upgrade to 3.6.10 this tool no longer works. I have tried uninstall, reinstall, checked for security token, etc etc and I always get this message.
This user is protected. You may not use this tool on this user.
any ideas or suggestions?
Gersfan
05-11-2008, 12:39 PM
It's not working on my profiles or dropdown box either,
Any Help?
I'm using 3.7
Thanks,
AdrianH
05-11-2008, 01:23 PM
It's not working on my profiles or dropdown box either,
Any Help?
I'm using 3.7
Thanks,
The answer is already given in this thread at least 3 times, you need to add the security token and edit a template.
AdrianH
05-11-2008, 01:24 PM
So after a recent upgrade to 3.6.10 this tool no longer works. I have tried uninstall, reinstall, checked for security token, etc etc and I always get this message.
any ideas or suggestions?
Read back through this thread ,the answer is given by a few members already.
tekguru
05-11-2008, 03:49 PM
Working fine for me in 3.7.0 so far.
cash7c3
05-12-2008, 05:28 AM
Read back through this thread ,the answer is given by a few members already.
didn't i say that i'd added the security token?
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
thanks for the suggestion though, I read back through 16 pages and haven't found the source of my problem ;)
I dont want to claim I am right but if the user is protected it is pehaps because they are part of a group that is or that they have made enough posts to be beyond the number of posts it is relevant for - or is that another tool I use?
just thoughts no time to check now but can in a few hours if you still have an issue
Gersfan
05-13-2008, 08:33 AM
What's the sercurity token fix?
I've made the template edit alright,
cash7c3
05-14-2008, 03:26 AM
I dont want to claim I am right but if the user is protected it is pehaps because they are part of a group that is or that they have made enough posts to be beyond the number of posts it is relevant for - or is that another tool I use?
just thoughts no time to check now but can in a few hours if you still have an issue
usergroup trying to ban isn't protected, disabled the maximum time. no luck, completely stumped on this one, no idea why it stopped working. even gone as far as manually installing instead of installing from xml, same thing . . . thanks for the suggestions :)
edit fixed
somehow after upgrade ended up with two onetouchban templates -- one in the normal location after new posting templates and the other in custom templates section. Got rid of the double now working fine in case anyone runs into the same prob
Marco van Herwaarden
05-15-2008, 10:19 AM
*** Staff note: The author of this modification has passed away in a diving accident (http://www.englishforum.ch/announcements/20529-mourning-loss-friend-leader-innovator-genuinely-nice-guy.html). We wish his family all strength in dealing with this traggic issue. ***
Gersfan
05-15-2008, 01:23 PM
Rest In Peace: Mark Fyvie!¬
Gersfan
05-15-2008, 04:18 PM
For anyone who is giving help on this mod, What's this error about, I'm getting in the header of the page when I clean-ban sombody, the process does work but this comes up.
Parse error: syntax error, unexpected T_STRING in /
/.../..(MY ROOT).../...//includes/class_dm_user.php(2147) : eval()'d code on line 22
Thanks,
galenwollenberg
05-15-2008, 04:25 PM
damn shame..... hope he was doing what he loved..
anyone know how to get this to work on 3.7 without the security error?
kevcj
05-16-2008, 01:51 AM
Well crude - Mark was 4 years younger then I am, and my own brother is named Mark.
Dear Mark,
My unknown friend, I just wanted to thank you for this mod - it was one of the best ever made for Vbulletin. I had used this add-on to ban many a spammer. I came here to ask for some help with an issue, but instead, I find sorrow.
Wherever the after life takes you, may you find peace and happiness.
TroyTrojansFan
05-16-2008, 07:24 PM
Well crude - Mark was 4 years younger then I am, and my own brother is named Mark.
Dear Mark,
My unknown friend, I just wanted to thank you for this mod - it was one of the best ever made for Vbulletin. I had used this add-on to ban many a spammer. I came here to ask for some help with an issue, but instead, I find sorrow.
Where every the after life takes you, may you find peace and happiness.
I agree completely kevcj. I'd love to have a chance to thank Mark for this wonderful mod. It was among my favorites, too. I am going to pray for Mark's family as they deal with this loss and that God provide them with comfort during this difficult time. God bless Mark and his family.
As Mark's brother (and fellow vbulletin tinkerer), I realise the usefulness of mods like this one and I want to see his work continue to be useful. The vb.org admins are asking other coders who may want to take over and I will approve them to do so in order to make sure that Mark's contributions do not go stale.
If anyone has any quick fixes for this in the mean time, please contact me directly and I'll make sure it gets updated, fixed and posted quickly.
TroyTrojansFan
05-18-2008, 02:02 AM
As Mark's brother (and fellow vbulletin tinkerer), I realise the usefulness of mods like this one and I want to see his work continue to be useful. The vb.org admins are asking other coders who may want to take over and I will approve them to do so in order to make sure that Mark's contributions do not go stale.
If anyone has any quick fixes for this in the mean time, please contact me directly and I'll make sure it gets updated, fixed and posted quickly.
:up: I'm glad to hear this. :)
You and your family will be in our thoughts and prayers. :)
tekguru
05-18-2008, 05:45 AM
Very best of luck with the future development and even more heartfelt our condolences to everyone at this time.
Code Monkey
05-18-2008, 07:56 AM
This is one of the most used and useful mods I have ever had on my vBulletin forums. It has worked so well for me that I have never found need to mess with the code or report a bug. He did good work and his work made many an admins life so much easier. It's a sad day and a great loss.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.