PDA

View Full Version : Mini Mods - Prevent Spam Posts


Pages : [1] 2

Adrian Schneider
11-13-2006, 10:00 PM
Description
This will allow you to automatically scan new posts from new members for common spam keywords. If any are found, the post/thread will be sent to the moderation queue to prevent their spam from having any affect. If your filter is very strict, and a regular user happens to trigger it, no harm is done because your moderators can just approve the post.

Options
Maximum Posts - this will only scan posts posted by users who have this many (or less) posts. Usually spammers only post 1-5 times!
Keywords - a list of keywords (or any strings) to be searched. Remember it doesn't match a whole word, so a keyword of "[url" will block the user from posting any links. This is NOT case sensitive!3.5 Users:
A 3.5x version XML file is also included.

JD45
11-14-2006, 07:15 PM
oh sweet goodness....:D

Lionel
11-14-2006, 07:33 PM
there is a similar one here (https://vborg.vbsupport.ru/showthread.php?t=129390&highlight=spammer)

what is the difference with yours?

Adrian Schneider
11-14-2006, 07:38 PM
Just looked at it - not a whole lot. Similar results with different code.

Lionel
11-14-2006, 07:40 PM
ok, thanks. Was just looking for the better one :-)

projectego
11-14-2006, 08:45 PM
Awesome! Thank you for sharing. ;)

SaN-DeeP
11-15-2006, 12:00 AM
this is a good modification.

Floris
11-15-2006, 07:25 AM
Nice job, thank you for posting it on vborg. Keep up the good work!

Hornstar
11-15-2006, 08:41 AM
Yeah this is handy, however spammers can work out how to bypass this, and try and spam the site still, however I like it when they waste there time, because I just come along and prune all there posts in a second flat lol.

JD45
11-15-2006, 05:03 PM
Just blocked a few spammers today. Works flawless so far. Nice job!

Adrian Schneider
11-15-2006, 09:10 PM
Yeah this is handy, however spammers can work out how to bypass this, and try and spam the site still, however I like it when they waste there time, because I just come along and prune all there posts in a second flat lol.
You can keep adding to your keywords filter as they start spamming new things, but the "[url" filter should still cover 95%+ of it.

Snake
11-16-2006, 09:30 PM
Thanks for this! :)

Darat
11-17-2006, 09:45 AM
Would this block a post made with the enhanced editor and the user has added a smilie via the smilie selection box?

Adrian Schneider
11-17-2006, 05:17 PM
No, it shouldn't.

JJRose
11-17-2006, 10:43 PM
Hello,

I've just installed this interesting looking modification. I see there are already a few words in there to help start off.
I'm wondering if there are few more keywords/phrases that others have found that would be good to add on?

Perhaps these words could be pm'd me, as I doubt these words would be good to be viewable on this board.

Adrian Schneider
11-17-2006, 11:01 PM
I wrote up the default list without too much thought. I've never had a problem with spam so I just used examples that I often saw here or on other popular boards.

I would suggest adding "nokia" to your list, though it catches URLs which is about 99% of all spam.

s25
11-18-2006, 10:27 AM
I just added all www. and http:// and all that as new members with under 5 posts dont have much reason to post links.....
Or generaly in my experience they don't unless there spamming.

Adrian Schneider
11-18-2006, 07:22 PM
Yep that's right. FYI if you just block "[url" they can't post links (even if they don't enter [url] vB will add it automatically before it's checked).

Pirate45
11-19-2006, 06:58 PM
Giving this one a spin Adrian. :)

The first word I will add is "phone" as our recent spammers are advertising cell phones.

JimmyN
11-22-2006, 11:02 PM
Awsome, installed and working great :)

thanks

steven s
11-24-2006, 01:16 AM
I removed the [url from the banned words. It was blocking too many noobies.
But I've added playstation.

ngaiox
11-24-2006, 04:05 AM
Are there any screen shots?

Adrian Schneider
11-24-2006, 07:27 AM
I removed the [url from the banned words. It was blocking too many noobies.
But I've added playstation.Happens. ;)

Are there any screen shots?Before:
https://vborg.vbsupport.ru/external/2007/01/18.gif

After:

:rambo:

WreckRman2
11-24-2006, 04:49 PM
installed...

puregraf
11-24-2006, 05:22 PM
thanks you for a great hack!!! really needed this

JimmyN
11-25-2006, 12:33 AM
SirAdrian, would you be able to create this add onto your hack?
If a spammer registers, then posts a thread with these keywords in your list, can there be a PM ban on that user or allow the user to goto into a different usergroup.

As if they post spam i dont really want them to go spamming via PM system.
But if it turns out that its not spam, a mod will see the thread in the list and allow.

What do you think anyway?
thanks

Adrian Schneider
11-25-2006, 12:35 AM
Possibly... It may be better to scan new private messages as well (though you can't moderate those).

I'm pretty stacked right now, but I'll think about it when I get some free time in December.

JimmyN
11-25-2006, 01:11 AM
Yeah im not in a big rush for it, it would just top of the hack

so yeah whenever you get a spare bit of time

Thanks :)

bobs409
11-26-2006, 11:05 AM
Where (how) do we add to the list of banned words? I didn't see anywhere to do that. :confused:

Thanks,

Bob

bbcentral
11-26-2006, 12:41 PM
Go to your vBulletin Options and scroll through the list until you see Prevent Spam. Click on that :)

voteforbird
11-26-2006, 10:35 PM
This doesn't prevent mailto: links, does it? I just had a spammer post links to his email address while using this hack.

Adrian Schneider
11-26-2006, 11:18 PM
Add "[email" to your list of keywords.

bobs409
11-27-2006, 09:43 AM
Thank you, it's right where you said to look. :)

And I had a pleasant surprise when I went to my forum. I caught one of those spammers in this new trap! LOL :laugh:

Excellent MOD. I'm nominating it for MOTM. :cool:


Bob

Adrian Schneider
11-28-2006, 06:41 AM
I'm going to update this soon to prevent people from editing posts (using these same conditions).

contactsonia
11-28-2006, 07:46 AM
Great Job SirAdrian :)

Here are a few more words which may prevent spamming to some extent:

Bullet-Proof
Cialis
Ciallis
Credit/Debit_card_update
OEM_Software
Pharmacy
Popular_soft_-_very_low_price
Rolex
Softtabs
SouthTrust
Valid_Marketing
Viaagra
Viagra
Viccodin
Xannax
antidotes
l8OO_0rder_N0W
pharmaceutical_
vaigra

jwocky
11-28-2006, 11:39 AM
Absolutly amazing hack, just installed will see results instantly i'm sure. Is there a way to add a seting to simply delete the emails rather then sending them to a moderation queue ? Or even go as far as deleting the user?

crazymeezer
12-02-2006, 06:43 PM
This hack is so simple, yet so useful.. Thank you :)

I wondered if it scans thread Titles, or if that was possible. I have idiots trying to exploit my Top 5 stats that was patched months ago with a meta refresh as the title. They don't work, but it would be great to have these ditched too.

Great Work.

Julie
12-04-2006, 10:06 PM
Anyway to add the option to simply auto-delete those posts/threads and perhaps the option to ban the user as well?

It works like a charm here :) Caught one idiot trying to post the same post several times... Ahhh, succcckkkerrr! :D

Adrian Schneider
12-05-2006, 06:37 AM
Scanning the title is possible, so I'll add that to the next version. Banning or auto-deleting the post isn't really what this is about, and will be problematic when you get false positives (though that depends on your keywords).

tobybird
12-05-2006, 08:17 AM
Beautiful! And much needed as we seem to be under attack. Thanks for the brilliant hack! Installed :)

RockMTP
12-05-2006, 02:53 PM
Thanks for this - Installed!

lindmar
12-05-2006, 04:36 PM
I dont really understand how to set this?
I've imported it into the products and thats all good?
Now what?

Adrian Schneider
12-05-2006, 04:41 PM
Beautiful! And much needed as we seem to be under attack. Why in the world these guys think hitting a site full of women is a good thing is just beyond me. https://vborg.vbsupport.ru/external/2006/12/13.gif

Thanks for the brilliant hack! Installed :)Glad you like it. :)Thanks for this - Installed!No problem - but evidently not. ;)I dont really understand how to set this?
I've imported it into the products and thats all good?
Now what?Import Product XML, then go to your AdminCP > vBulletin Options > Prevent Spam (near bottom), then configure it to your heart's desire. It should work out of the box though (just not as well as it could with more keywords defined).

JamesUK
12-05-2006, 09:32 PM
just installed it and it all seems very straightforward :)

If this works like it looks like it will, you are my hero

david_deng
12-06-2006, 03:34 AM
Sorry for the stupid question.

I just upgraded to vbulletin 3.6.4. I simply couldn't find where to setup keywords for spam filter after spending 1 hour going through all vBulletin Options.

I do believe the VBulletin's interface needs to be improved!

Thanks in advance!

Adrian Schneider
12-06-2006, 03:59 AM
It has its own setting group, and it should be near the bottom.

JamesUK
12-06-2006, 07:25 AM
just a quick question on the post count part of the restriction, I see that if someone posts and their post is sat in the moderation pile, their post count is 0. If I set this mod to work with people with 2 posts and less, does that mean they must have a post count of 3 or that they have to have made 3 posts?

ie, do all posts count or just ones moderators have 'approved'

goteamsgo
12-06-2006, 01:51 PM
Sounds great.

Any comments on server impact? Would server impact be less if you added an option to only apply this to certain usergroups (like a group for members with < X posts)?

Does the poster get any message when we auto moderate their post or do they just go back to another screen and they have no idea what happened? I don't mind spammers not getting any message but a legitamate new user that gets a false postitive should get something like "Your post has triggered our automatic review process. A moderator will review you post and approve it if it meets our forum rules."

Adrian Schneider
12-06-2006, 05:53 PM
just a quick question on the post count part of the restriction, I see that if someone posts and their post is sat in the moderation pile, their post count is 0. If I set this mod to work with people with 2 posts and less, does that mean they must have a post count of 3 or that they have to have made 3 posts?

ie, do all posts count or just ones moderators have 'approved'It uses the posts counter, which is only updated by approved posts (AFAIK).Sounds great.

Any comments on server impact? Would server impact be less if you added an option to only apply this to certain usergroups (like a group for members with < X posts)?

Does the poster get any message when we auto moderate their post or do they just go back to another screen and they have no idea what happened? I don't mind spammers not getting any message but a legitamate new user that gets a false postitive should get something like "Your post has triggered our automatic review process. A moderator will review you post and approve it if it meets our forum rules."There should be nearly 0 server impact. It will search the entry (while in memory) for all of your keywords very quickly, and if any are found the post will be marked as requiring moderation, which triggers the standard 'your post will not be visible' message.

brandon515
12-06-2006, 06:27 PM
Installed, works great for moderating posts with [URL] & [IMG]

Is there any way to automaticly notify mods that there are posts/threads awaiting moderation?

Thanks,
Brandon

goteamsgo
12-07-2006, 06:52 PM
It uses the posts counter, which is only updated by approved posts (AFAIK).There should be nearly 0 server impact. It will search the entry (while in memory) for all of your keywords very quickly, and if any are found the post will be marked as requiring moderation, which triggers the standard 'your post will not be visible' message.
Thanks, can anyone tell me where to adjust the redirect delay on the message they'll get:
Thank you for posting! Your post will not be visible until a moderator has approved it for posting. You will now be taken back to the forum. If you opted to post a poll, you will now be allowed to do so.

Mine redirected after only a second and a poster would not have had time to read it.

Adrian Schneider
12-07-2006, 07:13 PM
Is there any way to automaticly notify mods that there are posts/threads awaiting moderation?

Thanks,
BrandonThat's a job for another hack.Thanks, can anyone tell me where to adjust the redirect delay on the message they'll get:
<snip>
Mine redirected after only a second and a poster would not have had time to read it.Again, that's a standard vBulletin thing and you should take it up with them.

AntonyF
12-11-2006, 09:26 AM
Hi there. Excellent hack, just what we wanted. However I installed it and ran into a problem. Everyone on the board couldn't post attachments; it said they were over quota even though we don't set quota. Very odd. I turned this mod off, then they could attach again. Any ideas? We're on 3.6.4, I know this mod is for 3.6.3 and perhaps that's the problem? Thanks.

encryption
12-12-2006, 05:22 PM
I installed this and ran into the following error

Warning: strpos(): Empty delimiter. in /global.php(356) : eval()'d code on line 9

any ideas ?

btw I am running vb vBulletin 3.6.4 and used the product-siradrianpreventspam.xml

s25
12-13-2006, 02:30 PM
I had that try re-uploading global.php I dont know how I fixed mine! But it worked after I uploaded files again so i am guessing it was that :)

Mayers
12-14-2006, 04:53 AM
Hack installed :).

I thought i'd share the list of keywords that hit my forums a lot.


ipod buy [url free sex pharmaceutical ringtones wii [email nintendo playstation Bullet-Proof Cialis Ciallis Credit/Debit_card_update
OEM_Software
Pharmacy
Popular_soft_-_very_low_price
Rolex Softtabs SouthTrust Valid_Marketing
Viaagra Viagra Viccodin Xannax antidotes
l8OO_0rder_N0W pharmaceutical_ vaigra free download dvd video myspace games cash software xbox xbox360 360 PS2 x_box PSone PS3 play station Apple ipod USD $

s25
12-14-2006, 07:55 PM
Personaly i just bann http:// and the url commands, I dont see any reason why someone with less that ten posts should be posting links and if he has a legit reason I will allow em through :cool:

briansol
12-15-2006, 02:44 AM
great mod, thanks. been getting hit like crazy lately...

ScubaAddict
12-15-2006, 02:40 PM
Great mod! I just switched from a different mod to this one, and I got a couple of questions/enhancements?:

1. a quick edit to a post will allow the restricted post. For example, I make a post, come back and edit it and put in the link (spam part) using the quick reply - it is allowed.
2. quick reply doesn't show the user the 'moderation' message - so it just looks like their post doesn't show up.

Is there any way to get the 'this post has been flagged...' message to stick around for a long time, like 10 seconds? But still leave the regular redirect at the same time (2 or 3 seconds)?

basskiller
12-16-2006, 11:26 AM
this is a really sweet hack Thanks

Talisman
12-16-2006, 04:10 PM
Thanks, SirAdrian. I didn't know they could bypass the security provisions we already have by default in vB. Installed this right away.. before we have similar problems.

Hope this hack gets added in as a baseline feature on later versions of vB.

Thanks, again.

:bunny:

Adrian Schneider
12-16-2006, 04:39 PM
No problem.

I will try to expand this to work on edited posts as well (hopefully for tomorrow).

nanaimobar
12-16-2006, 11:51 PM
Thanks SirAdrian. Installed.

Spikeman
12-17-2006, 01:39 AM
Thanks Aj

/me installs on 3.6.4

VK3MTR
12-17-2006, 02:08 AM
Hi Sir Adrian
Please advise if this hack will work with 3.6.4?
Thank you
Regards
Steve

Adrian Schneider
12-17-2006, 02:24 AM
Yeah it will.

VK3MTR
12-17-2006, 02:52 AM
Thank you Adrian for you very quick reply. Now I just need to work out how to install the mod:)
Regards
Steve

VK3MTR
12-17-2006, 05:12 AM
Hi Adrian
Well I just installed your program and it loaded beautifully into 3.6.4. Very easy and yeah very very cool!:D
Thank you for your excellent work.
Steve

encryption
12-17-2006, 05:30 PM
I had that try re-uploading global.php I dont know how I fixed mine! But it worked after I uploaded files again so i am guessing it was that :)

from the vb installationg package I presume?

linesider
12-18-2006, 01:50 AM
Thanks - added this hack, now to get rid of those annoying typeinternational.com spammers - 2 thumbs up

tobybird
12-18-2006, 11:59 AM
Just noticed a couple things this morning...

1. For some odd reason a message popped into the moderation queue because it contained a thread smilie/post icon.

2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

eta: Just as an fyi... I did disable all other hacks I have running to be certain the message was being caused by this mod and it seems to be.

AntonyF
12-21-2006, 09:22 AM
Hi there. Excellent hack, just what we wanted. However I installed it and ran into a problem. Everyone on the board couldn't post attachments; it said they were over quota even though we don't set quota. Very odd. I turned this mod off, then they could attach again. Any ideas? We're on 3.6.4, I know this mod is for 3.6.3 and perhaps that's the problem? Thanks.

Don't worry about this now. I went for an alternative, and that works sweet.

Maerten
12-22-2006, 05:58 AM
Hi, I'm not a specialist in vBulletin but with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
Is there an other (standard) solution for this? Is anyone interested in my solution?

Adrian Schneider
12-23-2006, 08:31 AM
Just noticed a couple things this morning...

1. For some odd reason a message popped into the moderation queue because it contained a thread smilie/post icon.

2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.

eta: Just as an fyi... I did disable all other hacks I have running to be certain the message was being caused by this mod and it seems to be.Hi,

1) should depend on your filtering... AFAIK I haven't had any problems with smilies yet.

2) If you want me to help debug that I'll need AdminCP access (w/ plugin permission) to your board. PM if interested.

Hi, I'm not a specialist in vBulletin but with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
Is there an other (standard) solution for this? Is anyone interested in my solution?This is a standard vBulletin feature, so I would suggest any alternatives to them - all my code does is trigger what already exists.


BTW, I took a quick stab at the edit moderation... the feature doesn't even exist in vBulletin so it would be a pain. How many of you actually have spammers get around the initial post/thread creation and are editing posts? Nobody has done it on my board yet so it's not an immediate concern for me.

DementedMindz
12-23-2006, 10:16 AM
1) should depend on your filtering... AFAIK I haven't had any problems with smilies yet.




I had it a few times with smileys but i rather a smiley set it off then see spam on my site.

Adrian Schneider
12-28-2006, 09:05 PM
I did some testing with the empty delimiter problem, and it seems that it is caused when the search string (needle) is empty. So this would happen if your keyword list isn't separated properly.

ex: using 2 spaces instead of 1

Anyway, if you are having this problem check your keyword listing, and if you can't find anything obvious post it here for me to look at.

sportsoutlaw
12-29-2006, 02:41 AM
2. All members with 10 or fewer posts as determined with this hack are seeing a Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(360) : eval()'d code on line 166 message as they are redirected.


I ran into this on a new forum a little while ago. In addition to this, you will get a note saying "an error has occured" on quick replies using ajax.

After reading this thread, I verified that it was in fact due to having two spaces between one of the words in my filter. Removed the extra space and the problem was gone.

I don't know if this can be done or not, but is there a way to make it where a word is added "per line" instead of the "one space" between them? Really easy to get two spaces in between these words, and unless you are testing with a user account that has less than the number of posts required, you may never know it. I wasn't seeing this issue from my admin account.

Adrian Schneider
12-29-2006, 08:38 PM
Edit the plugin that uses the explode function, and change the first parameter to "\n" instead of ' '.

RobinPriestley
01-04-2007, 01:49 PM
Thanks for this, I installed it and it works great.

The only problem is, I registered a test user to try it with, and it caught my spam. However now if I try and post with that user I get this message:

Unable to add cookies, header already sent.
File: /homepages/25/d169220611/htdocs/forum/includes/class_core.php
Line: 3023

any clues what it means.

Cheers,

Robin

hennanra
01-06-2007, 06:30 PM
Scanning the title is possible, so I'll add that to the next version. Banning or auto-deleting the post isn't really what this is about, and will be problematic when you get false positives (though that depends on your keywords).

I would really really appreciate this mod for the title too. My main concern is it is only a matter of time until spammers realise that they can put URL or spam words in title, they only want somewhere to stick this and any box where they can enter information serves this purpose. Arguably even the user name e.g.:

User: www.visitmysite.com
Title: Legitimate text
Post: Legitimate Text

Effectively, for this mod to be spam proof, I feel all 3 components would need to be protected. One other thing that would be amazing (sry - I am really not requesting, just suggesting of something that will improve) is if you can moderate users based on names as an extension of this.

I have many users setting up accounts with swear words and the like as usernames and this appears in the "most recent joiners" list at the bottom and looks very bad - I am sure you can use your imagination to think of the types of names that appear there :-).

The biggest part of this is perception, this is the best hack out there by far and I have installed, I feel a few more mods will prevent even a whiff of spam getting through and hopefully consign spammers to getting a real job!.

NB, I also experienced the delimiter and unable to add cookies errors when we did a clean install of vBulletin. We had to install this several times, can't remember how my developer got working in the end.

Kind Regards (and thanks for the best mod on this forum),
Raheel

ngaiox
01-07-2007, 05:41 PM
Happens. ;)

Before:
https://vborg.vbsupport.ru/external/2007/01/18.gif

After:

:rambo:

OMGWTF?

Adrian Schneider
01-07-2007, 10:10 PM
Thanks for this, I installed it and it works great.

The only problem is, I registered a test user to try it with, and it caught my spam. However now if I try and post with that user I get this message:

Unable to add cookies, header already sent.
File: /homepages/25/d169220611/htdocs/forum/includes/class_core.php
Line: 3023

any clues what it means.

Cheers,

RobinI doubt it is related... paste that line of class_core.php though if you want me to look at it.

I would really really appreciate this mod for the title too. My main concern is it is only a matter of time until spammers realise that they can put URL or spam words in title, they only want somewhere to stick this and any box where they can enter information serves this purpose. Arguably even the user name e.g.:

User: www.visitmysite.com (http://www.visitmysite.com)
Title: Legitimate text
Post: Legitimate Text

Effectively, for this mod to be spam proof, I feel all 3 components would need to be protected. One other thing that would be amazing (sry - I am really not requesting, just suggesting of something that will improve) is if you can moderate users based on names as an extension of this.

I have many users setting up accounts with swear words and the like as usernames and this appears in the "most recent joiners" list at the bottom and looks very bad - I am sure you can use your imagination to think of the types of names that appear there :-).

The biggest part of this is perception, this is the best hack out there by far and I have installed, I feel a few more mods will prevent even a whiff of spam getting through and hopefully consign spammers to getting a real job!.

NB, I also experienced the delimiter and unable to add cookies errors when we did a clean install of vBulletin. We had to install this several times, can't remember how my developer got working in the end.

Kind Regards (and thanks for the best mod on this forum),
RaheelYeah both the title and username's are something I could extend this to quite easily. But, unfortunately, I am extremely stacked with work at the moment... when i get around to releasing an update I will be sure to include those.

RobinPriestley
01-09-2007, 09:39 AM
Hello, the class core bit is here, line 3023 is in bold:

Any help you can give would be ace.

Cheers,

Robin

function vb_error_handler($errno, $errstr, $errfile, $errline)
{
switch ($errno)
{
case E_WARNING:
case E_USER_WARNING:
/* Don't log warnings due to to the false bug reports about valid warnings that we suppress, but still appear in the log
require_once(DIR . '/includes/functions_log_error.php');
$message = "Warning: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');
*/

if (!error_reporting() OR !ini_get('display_errors'))
{
return;
}
$errfile = str_replace(DIR, '', $errfile);
echo "<br /><strong>Warning</strong>: $errstr in <strong>$errfile</strong> on line <strong>$errline</strong><br />";
break;

case E_USER_ERROR:
require_once(DIR . '/includes/functions_log_error.php');
$message = "Fatal error: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');

if (error_reporting() OR ini_get('display_errors'))
{
$errfile = str_replace(DIR, '', $errfile);
echo "<br /><strong>Fatal error:</strong> $errstr in <strong>$errfile</strong> on line <strong>$errline</strong><br />";
}
exit;
break;
}
}

Adrian Schneider
01-11-2007, 08:26 PM
That doesn't help at all. :(

Are you sure this hack is the culprit? Because I highly doubt it is. Try disabling it and if you are still having problems PM me.

What is the error message you are seeing?

King Justice
01-13-2007, 10:21 PM
Thank you! A+ on this! This hack is superb!! Thank you so much!!

briansol
01-18-2007, 05:32 PM
anyone else having member counts coming up weird?

ie, this thread was sent to the mod queue.
I approved his posts. post count was 0.
he replied, and now his post count is 1, yet there's clearly 2 posts here.

is this a bug of this plugin, or the vB mod queue system?

Chadi
01-22-2007, 06:46 PM
Any possibility to have this set for private messages as well? This is very critical and I'm sure many will benefit. I know I will.

For example: if the same pm is sent (duplicate) more than once, custom filter will assume it spam and immediately put that member in moderation (for posts, pm's, etc) and send mods/admins a notification.

Adrian Schneider
01-22-2007, 06:47 PM
brian: unmoderated posts don't increase the post count.

chadi: there is another hack here that does this, I forget the name though.

Chadi
01-22-2007, 06:49 PM
Please try your best to remember :)

I've been looking for a while and could not find anyway.

mccollin
01-23-2007, 04:54 PM
I'm getting these cookie errors as well on 3.5

Chadi
01-24-2007, 03:38 AM
How would I set it up so that ALL posts from "member" usergroup is moderated for users with less than 10 posts?

Fungsten
01-26-2007, 07:03 PM
product-siradrianpreventspam.xml or product-siradrianpreventspam_35.xml? I have VB v3.6.4. When I try to install product-siradrianpreventspam_35.xml the error message says that it's already installed when I only have product-siradrianpreventspam.xml installed. Thanks!

Adrian Schneider
01-26-2007, 07:28 PM
3.6: product-siradrianpreventspam.xml
3.5: product-siradrianpreventspam_35.xm

Fungsten
01-26-2007, 07:42 PM
:up: :D :p

3.6: product-siradrianpreventspam.xml
3.5: product-siradrianpreventspam_35.xm

Gazer
01-27-2007, 09:36 PM
thanks for this SirAdrian

iv just uploaded product-siradrianpreventspam.xml to my 3.6.4 ftp xml files
what do i need to do next ?

as i cant find it anywere in my cp any help on this would be good please ?

Regards Gazer.

Fungsten
01-27-2007, 09:49 PM
Manage Products - Add/Import Product.

I uploaded mine from my computer, so I chose "From My Computer". Then it should appear in V-Bulletin Options near the bottom of the list.

thanks for this SirAdrian

iv just uploaded product-siradrianpreventspam.xml to my 3.6.4 ftp xml files
what do i need to do next ?

as i cant find it anywere in my cp any help on this would be good please ?

Regards Gazer.

lighter
01-28-2007, 09:01 AM
Installed!!!

Gazer
01-28-2007, 10:25 AM
Manage Products - Add/Import Product.

I uploaded mine from my computer, so I chose "From My Computer". Then it should appear in V-Bulletin Options near the bottom of the list.


Sorted thanks for that Fungsten.....i was half asleep last night when trying this.
And thanks again to SirAdrian for this.

Regards Gazer

JPnyc
01-28-2007, 02:41 PM
Can anyone tell me how I can exclude members with >10 posts from the filter? I've tried altering the if statement to include:

AND ($post['posts']<10)

But it doesn't test for it. The filter still works however, which leads me to believe that the variable is holding a null value.

JPnyc
01-28-2007, 03:31 PM
Never mind, that questions pertained to another spam filter on this site. I got them mixed up. I'm now using this one, which has that functionality included already

Fungsten
01-28-2007, 04:59 PM
Click on V-Bulletin Options - Prevent Spam. Then in the Max posts enter the appropriate number.

Can anyone tell me how I can exclude members with >10 posts from the filter? I've tried altering the if statement to include:

AND ($post['posts']<10)

But it doesn't test for it. The filter still works however, which leads me to believe that the variable is holding a null value.

oldford
02-01-2007, 12:47 PM
First off, thanks for a great hack!

Is there a way to be notified of new posts that are now moderated? I don't go into admincp very often and as far as I can see that's the only way to get a list of moderated posts.

ReQueM
02-01-2007, 01:13 PM
thank u
*installed*

h2ojunkie
02-06-2007, 03:32 PM
I've found that most (if not all spam) I encounter is the first post in a thread.

Anyone know how to modify this hack to only apply to new threads, and ignore replies?

Fungsten
02-06-2007, 06:50 PM
Towards the bottom click the Prevent Spam feature and you can configure it from there.

I've found that most (if not all spam) I encounter is the first post in a thread.

Anyone know how to modify this hack to only apply to new threads, and ignore replies?

Adrian Schneider
02-06-2007, 07:00 PM
h2ojunkie,

I get about 60% in new threads, and the other 40% as replies. Either way, I rarely get false positives so it's not a problem.

h2ojunkie
02-06-2007, 11:33 PM
h2ojunkie,

I get about 60% in new threads, and the other 40% as replies. Either way, I rarely get false positives so it's not a problem.


Wow, I've been getting about 80% false positive on [url (it's the nature of my web site).

But so far, every actual positive has been on new thread only, and not on reply.

Adrian Schneider
02-07-2007, 03:11 AM
Get rid of the "[url" filter and add more specific ones.

reindeer1
02-08-2007, 01:00 AM
:up: Great Mod SirAdrian- up and running and catching them all.

briansol
02-09-2007, 07:29 PM
I'm sure there's a way to change this to dis-clude a certain membergroup... but i'm not sure what the variable is. I don't want my vendors (often who are new to the site) to have their ads sent to the mod queue.

Anyone have the right string?


if ($vbulletin->userinfo['posts'] <= $vbulletin->options['preventspam_posts']
&& MEMEBERGROUPID != 10)


?

Adrian Schneider
02-09-2007, 08:10 PM
if ($vbulletin->userinfo['posts'] <= $vbulletin->options['preventspam_posts'] and !is_member_of($vbulletin->userinfo, 10))

famousthomas
02-23-2007, 06:55 PM
Pardon my noobishness but where do I find this list of keywords to edit?:confused:

Jamie1
02-24-2007, 07:57 AM
My forum is having issues with spam bots and this is what i needed. Many Thanks
*installs

Parker Clack
03-01-2007, 10:10 PM
Great hack. I know you are very busy but it would be nice that your next version included a notification to the moderator of a particular forum that I post is in the moderation que.

Thanks again,
Parker

HDT
03-01-2007, 10:56 PM
Wow,all moderators at my forums say thank you for this mod.Very helpful to do their job :)

cashpath
03-06-2007, 06:34 PM
I installed the other SPAM stopping mod but it catches RSS feeds and has no support (so I want to change) does this one catch RSS feeds?

briansol
03-08-2007, 06:06 PM
I created a little plugin that displays a notification pop up box to moderators that there are posts/threads in the queue to check, which is useful when running this mod (lets you know that a post has been sent to the queue via this mod)


throw this at the bottom of the footer template:


<if condition="can_moderate()">
$checkmodqueue
</if>


and install the attached plugin.







This can probably be done 231431243243432 times better, but it works for me.

Parker Clack
03-09-2007, 09:21 PM
briansol:

Great job. Do you think that instead of a post up that you could write that private message is sent?

Thanks,
Parker

007
03-10-2007, 11:20 PM
Here's an idea to make this hack even better.

What about if there were certain keywords that would trigger instant deletion and ban? I mean for example, most new members would hardly ever start a viagra thread that was worth reading...

Why even moderate? I would love to be able to never even see this crap anymore. Would be awesome if these fools could be banned on the spot and their threads deleted. Moderated threads still take time and we still have to manually ban the idiots.

There are certain keywords that most forum admins never want on their forums from new members, such as all these prescription drug spam posts.

projectego
03-11-2007, 01:41 PM
Just installed this on my Fable Forum (http://forums.projectego.net/) and I can confirm that it is working flawlessly. Thanks again, SirAdrian! ;)

Parker Clack
03-12-2007, 06:09 PM
What code would you put in to close the alert box only. I know how to close the alert box but the self.close() will close out the tab or browser. I want to be able to close out the alert box and have the page that it pops up on remain.

Parker

briansol
03-12-2007, 06:19 PM
briansol:

Great job. Do you think that instead of a post up that you could write that private message is sent?

Thanks,
Parker
that would require some actual coding :D Again, this is just a simple mod, and no where near that advanced.

What code would you put in to close the alert box only. I know how to close the alert box but the self.close() will close out the tab or browser. I want to be able to close out the alert box and have the page that it pops up on remain.

Parker

its not a window... its just an absolute positioned div that is css styled to either show or hide depending on the condition.

to close it, you'd have to call a js function that sets the style back to hidden, and cookie the user, and figure out a good time to expire said cookie...
problematic at best.

Parker Clack
03-13-2007, 09:32 PM
briansol:

Thanks. I figured out a different way.

Parker

bestmilan
03-20-2007, 03:18 AM
Great mod! I just switched from a different mod to this one, and I got a couple of questions/enhancements?:

1. a quick edit to a post will allow the restricted post. For example, I make a post, come back and edit it and put in the link (spam part) using the quick reply - it is allowed.
2. quick reply doesn't show the user the 'moderation' message - so it just looks like their post doesn't show up.

Is there any way to get the 'this post has been flagged...' message to stick around for a long time, like 10 seconds? But still leave the regular redirect at the same time (2 or 3 seconds)?

See the link below...

http://www.vbulletin.com/forum/showthread.php?t=199233



------------------------------------------

Free legal advice 24 hours! (http://www.worldlawdirect.com/forum)

Ophelia
03-22-2007, 07:33 PM
Here is a list of words.. (I added some I found in this thread already)

ipod buy [url free sex pharmaceutical ringtones cne adipex adult advertisement advertising advicer allergies ambien asthma baccarrat bachelor bllogspot booker botox carisoprodol casino casinos chatroom cialis cwas cyclen cyclobenzaprine dating day-trading escorts fioricet heartburn homeworkers housewife housewives incest insurance investment investor ionamin levitra macinstruct matchmaker matchmaking medications meds meridia morgage mortgage paxil pharmacy phendimetrazine phentamine phentermine pheramones pherimones platinum-celebs poker-chip poze prescription psychic scratch-off signup soma taboo tarot teen teenage teens tenuate tramadol trim-spa triple-x tripple x tripplex ultram viagara viagra vioxx worry-free xanax xenical x-rated xxx zolus Bullet-Proof Cialis Ciallis Credit/Debit_card_update OEM_Software Pharmacy Popular_soft_-_very_low_price Rolex Softtabs SouthTrust Valid_Marketing Viaagra Viagra Viccodin Xannax antidotes l8OO_0rder_N0W pharmaceutical_ vaigra

djbaxter
03-23-2007, 12:32 AM
Here is a list of words.. (I added some I found in this thread already)

ipod buy [url free sex pharmaceutical ringtones cne adipex adult advertisement advertising advicer allergies ambien asthma baccarrat bachelor bllogspot booker botox carisoprodol casino casinos chatroom cialis cwas cyclen cyclobenzaprine dating day-trading escorts fioricet heartburn homeworkers housewife housewives incest insurance investment investor ionamin levitra macinstruct matchmaker matchmaking medications meds meridia morgage mortgage paxil pharmacy phendimetrazine phentamine phentermine pheramones pherimones platinum-celebs poker-chip poze prescription psychic scratch-off signup soma taboo tarot teen teenage teens tenuate tramadol trim-spa triple-x tripple x tripplex ultram viagara viagra vioxx worry-free xanax xenical x-rated xxx zolus Bullet-Proof Cialis Ciallis Credit/Debit_card_update OEM_Software Pharmacy Popular_soft_-_very_low_price Rolex Softtabs SouthTrust Valid_Marketing Viaagra Viagra Viccodin Xannax antidotes l8OO_0rder_N0W pharmaceutical_ vaigra

My email notification for your reply tripped my spam filter... :)

Maybe in future it would be better to add it as a text file attachment.

Ophelia
03-23-2007, 07:31 PM
My email notification for your reply tripped my spam filter... :)

Maybe in future it would be better to add it as a text file attachment.

Well see, it's a good list then!

adwade
03-26-2007, 02:31 AM
Check out my hack here,
https://vborg.vbsupport.ru/showthread.php?t=131568

It does essentially the same thing, but uses a different hook so it will only catch new threads/posts that are done through the new post/thread editor rather than RSS feeds too. Also, if the post is set as awaiting moderation, they will get the expected redirection message instead of the error.

Thanxx for the HeadsUp about your MOD here. One problem I'm having is, the expected redirection message is too brief. Many users don't see/recognize it.

So I read a bit of this (#199233) (http://www.vbulletin.com/forum/showthread.php?t=199233) thead, but still didn't see anything to insure a user sees or reads the notice. If the delay is long enough they might, or if they HAD to 'click' (w/no auto-redirect) something I figure it would. But hate to mess around with the (global) redirect timing for all of vBulletin to accompolish this, just for the (lighting quick) Your Msg will be moderated notice.

I, Brian
04-25-2007, 04:58 PM
This is a nice plugin and I've been using it on my forums - the only problem is that I now spend have my time approving/disapproving threads/posts.

What would be better is that if a new user tries to make a post contianing links or filter keywords, to be given a warning post that their post cannot be made because they need x posts, while still allowing them time to edit their message (so innocent users don't lose it).

I've seen something like this running on a forum, and could certainly cut down my admin time if I'm not having to slog through a moderation queue.

ValorduX
05-02-2007, 02:04 AM
Very nice mod indeed. :) Works great, but I just have a question that's halfway related to this..Some people in my forums pointed out a little glitch. Apparently, if you change the font, it seems to bypass the search. Here's an example:

Say the filtered word was "smile".
A person typing in something like smi{size="2"}le[/size] would be able to avoid moderation. Would it be possible in anyway to look through font changes? For some reason, it seems like this sort of thing isn't possible.

Adrian Schneider
05-02-2007, 02:06 AM
Well it could be scanned a second time after removing bbcode...

Tom1234
05-02-2007, 04:27 PM
Edit the plugin that uses the explode function, and change the first parameter to "\n" instead of ' '.

This doesn't seem to work for me. It seems something like this is necessary in order to match on phrases, rather than just a single word.

Are you not trimming any leading or trailing spaces before doing the match?

ResaleBroker
05-04-2007, 08:11 PM
This is a fantastic Mod. Thank you for investing the time in this. It is greatly appreciated. :)

[Clicks Installed]

Capper5016
05-21-2007, 08:12 PM
having some problems with this mod on 3.6.7.

Worked flawlessly with 3.6.4, but now its flagging anyone who posts contain the flagged words, regardless of post count. I have mine set to 1, main;y because spammers are going to post their crap in their first post.......but this is even putting users into the mod queue who have thousands of posts

mwrn
05-29-2007, 04:45 AM
Hello,

Has anyone ever encountered any problems with this mod and the ban IP from 'User banning options' in VB options ?

Someone on my forum manages to post by bypassing his banned IP but also his posts don't go to moderated state despite his message containing words from the Prevent spam word list.
I've started a thread on vb.com [http://www.vbulletin.com/forum/showthread.php?p=1362944 here] they believe it could be due to mods (like they always like to say).

When I copy/paste the body of that spammer post as an anonymous, my post goes to moderated...so how can that spammer still post live ? he posts as anonymous so the setting to apply Prevent Spam to users with fewer then X messages is not to blame.

Any ideas ?
Thanks,

dealxa
06-01-2007, 12:12 PM
thanks, this is a good modification.

digitalhome
06-01-2007, 01:11 PM
I have just installed and want to thank SirAdrian for this add-on.

Chirag patel
06-03-2007, 08:09 PM
Really nice hack. This will save me some time moderating my forum.

Thank you very muh.

momo2
06-28-2007, 12:59 AM
this is good if u make it, to more than one url link or more option, that will be the best.
my forum is all about link exchange but this will not work unless there is a option for ho many spams links.... lately new spammers leave like 50 live url links,

blackvborg
07-07-2007, 06:38 AM
could you please add a feature to match only the exact word?

eg putting keywords inside "" uses exact match, without is normal/broad match

if in my keyword list now I've ABC DEF a post containing the word 12ABC34 will be put in moderation queue; for some spam keywords I don't want it (I use this mod to prevent adult keywords in my posts too)
So I'de like to specify my keywords in this manner: "ABC" DEF "drh" gerg ergerg

Thank you!

rlpartida
08-10-2007, 04:07 PM
Hello Everyone,

Thank you Adrian for this hack! I think it is absolutely a good tool for moderators. However, Im having a bug...

When a user posts a moderated word it goes directly to the moderation queue, I have no problems here..

But when the user post no moderated word, they get this message at the top:


Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(365) : eval()'d code on line 60

Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(365) : eval()'d code on line 60

Warning: strpos() [function.strpos]: Empty delimiter. in /global.php(365) : eval()'d code on line 60

Anyone has experienced this?

Cheers,

Adrian Schneider
08-10-2007, 04:10 PM
Make sure you have no double spaces between your keywords.

rlpartida
08-10-2007, 04:37 PM
Thank you very much SirAdrian,

You were right, in fact I had three double spaces, so each one of those line correspond to each double space...

Thanks again for this great hack!

Regards,

Tulsa
08-10-2007, 04:59 PM
A member of my site owns a tattoo parlor and I had a link to it on the forumhome page. Little did I know this was a target for spammers. It's one of their key words to search I guess? I was getting bombarded with them logging in and trying to post their crap. It took a while before I realized what was drawing them to my site and once I deleted that link, they went away.

This little jewel of a mod didn't miss blocking one of them. :up: My members never saw or had an inkling we were being targeted like we were.

Mecho
08-10-2007, 08:24 PM
thank u , i will install it asap .

clicked install already

Nickbe
08-11-2007, 02:45 AM
Thanks really great hack

BellyBelly
09-02-2007, 11:15 PM
Thanks for this, looking forward to seeing it in action being a busy board who is sick of spammers getting around lots of anti-spam measures!!!

rrr
09-06-2007, 07:47 PM
I have to say that this is one of the top 3 mods installed on my forum as far as usefulness goes.

It has cut down on "spam cleanup" time by about 100%.

Instead of deleting spam threads in our forum, we move them to a "graveyard" type area that only mods/admins can see. This is great for research purposes. You can go back and see common spam themes/keywords that are used by drive by spammers to the forum.

By looking at those old posts and grabbing the common spam keywords that spammers have used in our 2 year existence, we've basically blocked all drive by spam posts. It's nice, because the spammer still gets to post and think that they've flooded the board with lots of posts, but in reality, none of them show up on the forum and you don't have to worry about spam sitting on your forum when you're away from the board.

Thanks SirAdrian, this is definitely a must have mod.

hypertextfever
09-25-2007, 09:08 PM
Pff, can't have a vbulletin forum without this mod. They should make it part of standard installation. EXCELLENT!!!!

phovanxua
09-26-2007, 11:30 PM
Installed ...

Thanks .

Reolien01
10-18-2007, 05:29 PM
This is the first mod I will implement when creating a new vbulletin forum. This is probably the best mod I have ever used, period.

tpearl5
10-25-2007, 02:53 AM
Installed this. All spam we get goes to a designated spam forum since the spam is usually specific to electronics:

http://cellphoneforums.net/scams/

maxicep
10-25-2007, 12:44 PM
thx really it is pretty cool but i want delete these posts at once

i dont want move to moderation queuehow can i to that? Which plugin need edit ?

Remi
10-27-2007, 07:59 AM
Hi

Can I get this hack to send an email alert containing the spam word instead of sending the post for moderation.

Thanks

Fungsten
10-29-2007, 09:58 PM
Hi

Can I get this hack to send an email alert containing the spam word instead of sending the post for moderation.

Thanks

Or if anything is in the Moderation Queue.

Fungsten
10-29-2007, 09:59 PM
thx really it is pretty cool but i want delete these posts at once

i dont want move to moderation queuehow can i to that? Which plugin need edit ?

I thought about that too but, it might delete some legitimate posts with links.

dilbert
11-01-2007, 04:58 PM
I suspect this will only work for post / threads.

Let's say I had a thread with 5 posts on Monday.
On Tuesday I installed this modification. I add a keyword of snowman.
Then on Wednesday, someone adds a post to the original thread with the word snowman.
Should that post have been put in moderation? It wasn't.
When I tested it with a new thread, it seemed to work.

Thanks, Cliff

djbaxter
11-01-2007, 07:40 PM
I suspect this will only work for post / threads.

Let's say I had a thread with 5 posts on Monday.
On Tuesday I installed this modification. I add a keyword of snowman.
Then on Wednesday, someone adds a post to the original thread with the word snowman.
Should that post have been put in moderation? It wasn't.
When I tested it with a new thread, it seemed to work.

Thanks, Cliff

No. It works according to the post count of the person posting.

If you set it to 10, any post by a member with 10 or fewer posts that includes the word "snowman" will be sent to moderation. However, members with 11 or more posts can post with that word included and it will not be moderated.

dilbert
11-02-2007, 12:13 AM
Ahh, now I see why the test worked. I had it set to 0 hoping that disabled it. I created a test user with 0 posts, and viola, it worked.

I have some sensitive security data that I want to make sure is not posted, I don't care how many posts you have. Can I set it to something like 1000000 to make sure it moderates everyone?

No. It works according to the post count of the person posting.

If you set it to 10, any post by a member with 10 or fewer posts that includes the word "snowman" will be sent to moderation. However, members with 11 or more posts can post with that word included and it will not be moderated.

djbaxter
11-02-2007, 12:26 AM
I have some sensitive security data that I want to make sure is not posted, I don't care how many posts you have. Can I set it to something like 1000000 to make sure it moderates everyone?

I suppose. Wouldn't it be simpler to use this for anti-spam and just use vBulletin's built in replacement text feature across the board for the "sensitive security" phrases?

Admin CP | Styles & Templates | Replacement Variable Manager I think...

Joey805
11-20-2007, 09:13 PM
I recently have been getting some spammers posting stuff with links that this hack is not catching. Anyone else getting this too?

steven s
11-23-2007, 12:47 PM
I recently have been getting some spammers posting stuff with links that this hack is not catching. Anyone else getting this too?
Nope. It's been working perfectly. Compare your word list to what is being posted.
This should be standard with vB!

Oh wait. I just saw the coming attractions in vB v3.7.

Pebbled
11-24-2007, 04:59 AM
Does anyone know whether this hack works with 3.6.8

djbaxter
11-24-2007, 11:12 AM
Does anyone know whether this hack works with 3.6.8

Yes it does.

Pebbled
11-24-2007, 11:37 AM
Thats fantastic news to hear :)

UPDATE: Installed in under 1 minute and working like a dream :)

Note: SirAdrian, just a quick note to perhaps mention on the opening page that there are two xml files and to point out which is to be used which would save a bit of head scratching i.e.

product-siradrianpreventspam.xml for use with 3.6x
product-siradrianpreventspam_35.xm for use with 3.5x

pnd
12-06-2007, 03:14 AM
Siradrian,

I installed this hack with 3.6x but as i tried to break in with a newly registered account, i found a way to bypass this hack. while the user post count is still less than the set minimum required post counts, the user can edit his post and put the spam words in without getting filtered. Are there any ways to fix that?

Adrian Schneider
12-06-2007, 06:50 AM
Yeah it's a known workaround, but it hasn't happened yet to me so I don't stress about it. Unfortunately I'm too busy to add that feature, but I might in the future.

As of 3.7 vB has added more spam protection so this will probably become obsolete anyway.

Sorry for the bad news!

pnd
12-06-2007, 03:31 PM
thanks for your feedback siradrian.

Pebbled
12-10-2007, 07:27 PM
pnd you can reduce or stop this workaround from happening by limiting the time posts can be edited by users via the admin CP panel options. I think that limiting the time posts can be edited is very important in the case of abusive posts.

SirAdrian, am not sure whether the posts counted include the posts made by users that are showing on the forum, or the number of posts sitting in the moderation queue, obviously the former would be more useful.

Have to say it's a great idea, working tirelessly 24/7, even when the mods are sleeping :D

Freesteyelz
12-25-2007, 01:45 AM
As of 3.7 vB has added more spam protection so this will probably become obsolete anyway.



The Inline Spam Management takes the issue after fact, unlike your mod which prevents troubled posts. I think vB and your system will compliment each other very nicely. If possible, I'd like you to continue with this mod. :)

BTW...It does seem to function properly in Beta 3. :up:

dilbert
01-02-2008, 04:17 PM
The Inline Spam Management takes the issue after fact, unlike your mod which prevents troubled posts. I think vB and your system will compliment each other very nicely. If possible, I'd like you to continue with this mod. :)

BTW...It does seem to function properly in Beta 3. :up:
I agree that this is a great mod and offers ability that vB doesn't. I need to be able to prevent sensitive info from being posted, not catch it after the fact.

Hopefully you'll continue to update it.

Venturing
02-02-2008, 11:24 PM
First, SirAndrew, thanks for the great mod!

... with this plugin members cannot see there own post that's being moderated and they will try to post the message again. This is a time consuming work for the moderators. I'm not sure if there's an other solution for this but I changed the plugin so that showthread displays a member own posts even if there posts are being moderated. Other members down't see there posts.
...
Is anyone interested in my solution?Maerten, yes, I'm interested in your solution. What exactly did you have to change to accomplish this?

dilbert
02-10-2008, 02:33 PM
Just tested in Beta 4 and it works. Still hoping you'll reconsider this Adrian for the final 3.7.
Thanks, Cliff

Skywoolf
02-12-2008, 12:28 AM
I installed this a couple of days ago and tested it with a new account. It worked perfectly but the spam kept on coming. Huge posts with long lists of URLs, etc are still appearing in the forums.

I thought maybe they are posting a simple, harmless message then editing to add the spam so I added all the letters of the alphabet, numbers, the most common words like in on at, etc expecting to stop every first post but still the spam keeps coming and not being caught.

If I can just set it so that every post by a user with less than the minimum post count is moderated it would be good enough for me but I can't seem to do it.

Anyone got any suggestions?

P.S. I suspect many were being posted by users who registered a long time ago so I deleted all old users with zero posts but I don't see how that will make a difference.

rwoscott
02-12-2008, 01:24 AM
Saw this a while ago and didn't think I'd need it. After this morning, I need it.

Thanks

*installed.

Skywoolf
02-12-2008, 03:12 AM
Sorry guys,

I just realized that I am seeing all the spam posts because I am admin. They are in the moderation list. Its working fine.

Skywoolf
02-12-2008, 10:25 PM
I just realized I never did say thank you to the author. The spam has been driving me crazy and this stopped it dead. It was only my own senility that made me think it wasn't working right from the start.

Thank You. This is probably the best and most useful script I have ever used with vBulletin.

Ohiosweetheart
02-17-2008, 11:37 AM
Is this working on 3.7, anyone?

uyuni
03-02-2008, 05:22 PM
I changed this plugin:
1) also searching in title

2) send email to moderator when message with spam detected

3) For this change to work emails to moderators need to be set ON. But with this change only emails for spam messages are sent.


* 1)
changed XML-file see attachment:
I added a global parameter for the emailsending. I know this is quick and dirty, but it works.

* 2)
add in file includes/functions_newpost.php below line 1015:

$emails = array_unique($emails);

#### NEW
if($GLOBALS['EMILE_spammessage'] != 1) {
$emails = array();
}
#### END NEW
return $emails;

co0kz
03-27-2008, 07:37 PM
Is there a way to get the post to show to the person that posted even tho its sent to the mod queue? Although this is a great system and its catching everything, i'm actually not using this as it was originally intended. My board is an auction site, and as such im actually using this to catch ppl using the kind of terms as "buy now" and things like that. However because the post doesn't show, we are getting members come back to us saying they can't post even tho they have. What i would like to do is maybe alter the code slighly so that the person that posts, gets to see their own post and it still get sent to moderation queue of which i have the pop alert installed so that my staff know that an auction has just been won.

The main problem is when someone uses the quick reply as most of my members do, you don't the message telling them the post has been sent to moderation. The only way i see round this is to allow the member posting it to see it so they are none the wiser or maybe a pop up alert informing them that there post has been sent and will not show until a moderator is available.

Hope someone can help with this soon as it is confusing some of my members.

Thanks in advance.

periphrastic
03-28-2008, 02:54 PM
thanks for this mod (3.6.8 pl2)

installed

came in handy for the first time this morning

gopherhockey
05-03-2008, 09:01 PM
The Inline Spam Management takes the issue after fact, unlike your mod which prevents troubled posts. I think vB and your system will compliment each other very nicely. If possible, I'd like you to continue with this mod. :)

BTW...It does seem to function properly in Beta 3. :up:

I agree. From what I can tell the built-in spam system is not going to fully take the place of this. I'm not interested in a pay system anyway - yours works perfect.. please keep it up for 3.7

transparent
05-14-2008, 02:52 AM
Tested and working perfect on 3.7.0. Gold.

This should be released as a standard with VB. Without this addon you really have no proactive defense. This fills a big gap...thx!

I would love for it to continue to be supported & updated as needed.

steven s
05-26-2008, 02:02 PM
This should be released as a standard with VB. Without this addon you really have no proactive defense. This fills a big gap...thx!

I would love for it to continue to be supported & updated as needed.

I've been using this for so long now, I felt it only right to contribute some money to show my appreciation. Sorry it took so long. :up:

Marvin Hlavac
05-29-2008, 11:06 AM
Is there a way to get the post to show to the person that posted even tho its sent to the mod queue? Although this is a great system and its catching everything, i'm actually not using this as it was originally intended. My board is an auction site, and as such im actually using this to catch ppl using the kind of terms as "buy now" and things like that. However because the post doesn't show, we are getting members come back to us saying they can't post even tho they have. What i would like to do is maybe alter the code slighly so that the person that posts, gets to see their own post and it still get sent to moderation queue of which i have the pop alert installed so that my staff know that an auction has just been won.

The main problem is when someone uses the quick reply as most of my members do, you don't the message telling them the post has been sent to moderation. The only way i see round this is to allow the member posting it to see it so they are none the wiser or maybe a pop up alert informing them that there post has been sent and will not show until a moderator is available.

Hope someone can help with this soon as it is confusing some of my members.

Thanks in advance.

I very much agree. I just installed this add-on last night, it works, and I worry that many new members will not know why they cannot see their postings. There is a very brief message telling them their posting will appear after it has been approved, but the message is so short - only about a second or two - and I think most users will not be able to read it, even if they notice the message at all.

Is there a way to extend the length of time for the message (10 seconds would be nice)?

Chadi
05-29-2008, 11:30 PM
I agree, an extended display would be nice

sheefeh
05-31-2008, 09:51 PM
In my case all the posts to my forum and/or replies are already under moderation for all members. But lately, I am really facing a lot of spammers and even though it is under moderation, it is still very annoying to move these posts to a particular section i.e. Deleted Posts. Is it possible to redirect such posts to the deleted Posts forum immediatly after its been posted with a change in the subject clarifying that its been "auto moved a suspicious spam"?

Thanks

droid101
06-09-2008, 03:20 PM
This needs to be updated to do the same for Visitor messages for 3.7. Bots seems to register then do some visitor messages for themselves or others.

:) Just a thought.

RichTJ99
06-13-2008, 05:34 PM
In my case all the posts to my forum and/or replies are already under moderation for all members. But lately, I am really facing a lot of spammers and even though it is under moderation, it is still very annoying to move these posts to a particular section i.e. Deleted Posts. Is it possible to redirect such posts to the deleted Posts forum immediatly after its been posted with a change in the subject clarifying that its been "auto moved a suspicious spam"?

Thanks

This would be a huge help to us as well. Our Mods are getting tired of spending so much time moving all the moderated spammage

bongwater
07-05-2008, 03:29 PM
very good mod. Finally an answer to the spammers who keep signing up and posting

"Apple Iphone 8Gb,16Gb..3G Iphone also available"
"Brand new nokia n95 for sale.........300usd"

Arrogant-One
07-06-2008, 11:15 PM
Unfortunately this mod isn't working.

I installed the xml into the plug-ins, no worries there. I then went to VBulletin Options and found Prevent Spam, no worries there. I then added my spam detection words.

Unfortunately, the spam bots kept coming :( I then tested it out myself by creating a hydra, and deliberately used the spam detection words in a post made by that hydra. The post did not come up as unapproved and everyone could see it right away.

I use VBulletin 3.6.7, so perhaps that is the problem.

In the Plug in Manager, it has 2 areas with these headings:

Add New Product Dependency

and

Add New Install/Uninstall Code

They are currently blank, do I maybe need to add something there to get this mod to work?

RichTJ99
07-08-2008, 06:34 PM
Unfortunately this mod isn't working.

I installed the xml into the plug-ins, no worries there. I then went to VBulletin Options and found Prevent Spam, no worries there. I then added my spam detection words.

Unfortunately, the spam bots kept coming :( I then tested it out myself by creating a hydra, and deliberately used the spam detection words in a post made by that hydra. The post did not come up as unapproved and everyone could see it right away.

I use VBulletin 3.6.7, so perhaps that is the problem.

In the Plug in Manager, it has 2 areas with these headings:

Add New Product Dependency

and

Add New Install/Uninstall Code

They are currently blank, do I maybe need to add something there to get this mod to work?

ours works and our
Add New Product Dependency
and
Add New Install/Uninstall Code
are blank. we are also back in 3.6.x so I'm not sure what the problem is

Arrogant-One
07-08-2008, 11:19 PM
ours works and our
Add New Product Dependency
and
Add New Install/Uninstall Code
are blank. we are also back in 3.6.x so I'm not sure what the problem is

Maybe I will uninstall and then re-install to see if that works.

SloppyGoat
07-13-2008, 08:04 PM
The problem I've been having is sig spam. They make some useless comment in their post, which can't even be considered spam, but then they add a link in their sig later. I guess what I need is something to keep new users from using url's in their sigs.

iamboard
07-16-2008, 08:11 PM
The problem I've been having is sig spam. They make some useless comment in their post, which can't even be considered spam, but then they add a link in their sig later. I guess what I need is something to keep new users from using url's in their sigs.

Would this do aways with url's in the signature..
Admin CP -> Usergroups -> Usergroup Manager -> Edit Usergroup -> Signature Permissions -> Allow HTML -> No

OR

Try censuring words like http: or www.

Arrogant-One
09-03-2008, 02:42 AM
I changed this plugin:
1) also searching in title

2) send email to moderator when message with spam detected

3) For this change to work emails to moderators need to be set ON. But with this change only emails for spam messages are sent.

I installed your changed product but don't know how to make it work so that moderators or administrators can get the email letting them know there is a spam keyword detected post waiting in the moderation queue.

Arrogant-One
09-06-2008, 02:28 AM
<font face="Georgia">Help!

This mod is targeting posts that DO NOT have key spam words in them! Most of these posts are perfectly legitimate. Is there a way to make it ONLY target posts with the key spam words?

Best Regards,

AO</font>

steven s
09-06-2008, 04:21 PM
I installed your changed product but don't know how to make it work so that moderators or administrators can get the email letting them know there is a spam keyword detected post waiting in the moderation queue.
I don't believe that is a function built into vBulletin.

Help!

This mod is targeting posts that DO NOT have key spam words in them! Most of these posts are perfectly legitimate. Is there a way to make it ONLY target posts with the key spam words?

Best Regards,

AOYou need to look at your keywords again.
I have two usergroups. After x posts members are moved into another usergroup so the mod only looks at people with fewer than 5 posts.

steven s
09-06-2008, 04:41 PM
I don't think this mod currently checks subject headings, but maybe it can be added as well?
I'm finding keywords in the subject that are not used in the body so the post bypasses the mod.

Pathor
09-12-2008, 02:29 PM
Installed! Thanks m8! :)

ludachris
10-22-2008, 07:56 PM
Question - when a post is moved to the moderator queue, does it count towards their post count? So if we set the "max post" setting to 5, and a spammer posts 6 times, with 5 of them going into the moderator queue, will the 6th one show up live?

erdi_arikan
10-25-2008, 08:34 PM
thanks good:)

cafead
10-30-2008, 12:56 AM
This mod has been a great help. Has it ever been updated so that it checks subject headings as well?

Another thing that would be a great jelp would be the ability to set rules to check for keyword avoidance behaviour. Such as if the post has more than 3 asterisks it would go to mod queue. Or if there were more than four letters in a row with spaces between them, it would go to mod queue.

Thanks again for a great mod.

Craig Ross
11-03-2008, 03:33 PM
great mod... just added this to my forum and stopped a porn post from showin up.

great work ;)

asandhanam
11-24-2008, 07:16 PM
Do i get to see the spammy posts that get sent to moderation queue here:
ACP -> Moderation -> Moderate Threads/Moderate Posts? Does the moderator get an email if a post has been blocked and sent to Moderation queue?

rolfw1
11-27-2008, 07:00 AM
Do i get to see the spammy posts that get sent to moderation queue here:
ACP -> Moderation -> Moderate Threads/Moderate Posts? Does the moderator get an email if a post has been blocked and sent to Moderation queue?

Yes to answer your first question, no, there is not an email sent.


A question for the hack producer, had a strange one today. I have archived members who have been on the forum for more than a year and who have zero posts, by putting them in a new user group. It would appear that the spam trap didn't catch one of these this morning, is it because he was not in the usergroup "Registered user" ?

ashraf_gawdat
12-17-2008, 07:11 AM
I don't know if anyone noticed this, but the filter is applied only on new threads, not on posts to existing threads, so this solves only the half of the problem. Though it is a good thread and
is working fine, but will be better if posting to existing threads is taken into cinsideration.

ashraf_gawdat
12-17-2008, 07:16 AM
Also there is a simple way to workaround this filter, that is by posting a thread without any of the filter keywords, then modifyng the post and adding them, they will not be catched and the threads will still there.

Breakpoint
04-12-2009, 01:54 AM
Does this work on 3.8.2 boards?

john h
04-26-2009, 09:11 AM
Confirmed working on 3.8.2

steven s
05-30-2009, 11:33 AM
II hope this will be updated for v4, otherwise I'm sticking to 3.x.
This mod is on my list of must haves.

Thanks for making it available.

rrudeboy
06-01-2009, 12:31 PM
just installed this one.... i added www and http, is that a good idea ?

tks to the developer.

rolfw1
06-01-2009, 03:16 PM
Yes, I've also included the @ symbol, Email, sale and quite a few other spam related words.

Fungsten
06-08-2009, 06:24 PM
just installed this one.... i added www and http, is that a good idea ?

tks to the developer.

I think you just need the www.

rolfw1
06-08-2009, 06:53 PM
I put the HTTP as well for addresses which don't use www.

Just have a browse through your spam posts, there are common words in most of them.

djbaxter
06-08-2009, 06:58 PM
just installed this one.... i added www and http, is that a good idea ?

tks to the developer.

Yes, I've also included the @ symbol, Email, sale and quite a few other spam related words.

I think you just need the www.

I put the HTTP as well for addresses which don't use www.

Just have a browse through your spam posts, there are common words in most of them.

There is a much simpler way to handle email links and URLs - prevent the bbcode for them by adding the following to your Prevent Spam rules [img prevents a spammer from getting around the issue by using images of email addresses or URLs):

[url [email [img

This way, you don't have to worry about which form of URL is used...

GearX1
07-02-2009, 11:03 AM
Great Addon Awesome!

snoopy5
07-02-2009, 11:42 AM
Hi

does this also work with visitor messages within user profiles ad/or within Private messages?

Does it work with vb 3.83?

Thanks in advance

mycouponsgreg
07-21-2009, 11:19 AM
I've installed this mod because we have had a rash of people from China posting nonsense on our boards just to put this "smiley face" in the post:

http://www.ipodz.co.cc/imgs/signature_damoo.jpg
and
http://www.esharez.info/imgs/signature_deepthakur.jpg

I put ipodz and esharez into the spam filter list but it isn't stopping these posts. These are new members so they aren't hitting the 30 post threshold to not scan. Any ideas?

rolfw1
07-21-2009, 11:43 AM
A few spammers have twigged that if they post just any old text in a post it will pass the spam filter, then they go back and edit it with the spam links.

I've disabled newly registered members' ability to edit posts which has temporarily solved the problem.

I'm Looking at better ways to do it though, perhaps the hack writer could explore including post edit in the hack?

djbaxter
07-21-2009, 01:43 PM
You can, of course, use this mod in tandem with some others. These days it seems you need a combined strategy for reducing spam and even then the annoying losers manage to sneak some through from time to time.

Try adding these:

https://vborg.vbsupport.ru/showthread.php?t=205044

and https://vborg.vbsupport.ru/showthread.php?t=177704

helmica
10-15-2009, 08:59 AM
hi,
i need to upgrade to vb4 are Prevent Spam is ok by vb4?

thanks in advance for your help

Hemanth
10-21-2009, 09:49 AM
Will this work in 3.8 series? I need this badly. :)

Skywoolf
10-21-2009, 10:03 AM
Yes it works fine in 3.8

rolfw1
10-21-2009, 03:47 PM
Yes agreed, have it installed and working on two forums running 3.8.4, wouldn't want to be without it. :)

lm3a.net
11-08-2009, 09:45 AM
that's good,

but it's better if you upgrade it,

to move this members to another group (pending members) with the (spam word) without moderating their posts.

thank u,

RGVFMod
12-02-2009, 05:49 PM
Just installed. Have had problems with Russian spam and mmediately caught two.

Works pefectly! Thank you!

helmica
12-12-2009, 03:13 PM
hi,

are Prevent Spam Posts ok with vb4?

regards

hel

bestmilan
12-18-2009, 12:45 AM
hi,

are Prevent Spam Posts ok with vb4?

regards

hel


I would like to also know. Thanks

Craig Ross
12-30-2009, 08:23 PM
me 3 this is one of the reasons i aint upgraded yet... couldn't live without this mod :)

kall
01-09-2010, 06:27 PM
me 3 this is one of the reasons i aint upgraded yet... couldn't live without this mod :)
Well, good news for you - this mod works perfectly in vB4.

(It has no templates, which is a really good start when looking for mods to work with 4. ;) )

Joey805
01-11-2010, 03:36 PM
I'm having a problem with spammers signing up and just typing a normal post and then putting URL's to viagra or whatever into their signature. Is there any way to get this mod to check the signatures too?

rolfw1
01-11-2010, 04:16 PM
Had the same problem, but decided to disallow post editing for anyone who has less than 10 posts and hasn't been a member for more than a month, did this by creating a promotion from registered to registered_ which then has full member privileges.

Causes a few problems, but solves more than it causes.:) I've also disallowed PM privileges until the promotion, as we were getting a lot of PM spam.

Have this running on 3.8 and vb4.

tpearl5
01-14-2010, 12:05 PM
This is one of the most useful spam prevention mods I have installed and I'm still using it for 3.8

MGSteve
01-16-2010, 03:26 PM
There does appear to be a way to bypass the filter though, which I'm obviosuly not going to post on an open forum. Is this mod still supported at all, I notice the last update was 3 years ago!

steven s
03-21-2010, 02:26 AM
I've been using this mod for some time all the way through 3.8.4.
I think it stopped working with 3.8.5.
Anyone else notice a problem with 3.8.5?
Could a hook have changed?

Amiga Harrison
06-16-2010, 02:36 PM
Seems to be working fine in vB4.03 PL1 :)

emregan
09-03-2010, 10:35 AM
How do you add keywords to your filter? I am not sure where to look. Thank you!

rolfw1
09-03-2010, 07:29 PM
Settings/options/prevent spam

edie
04-26-2011, 05:03 PM
Adrian,
I am a newbee.
I uploaded your code... now what? Does it start working automatically? I went to the "edit" feature in the "Installed Products" section, but didn't find where I could customize "spammer" keywords like "phamarcy, viagra," etc.

The Text file that came with the download didn't give any instructions.
There were also two files that come with your download - I had no idea which to load, so I loaded the latest one that was created. .?

Sorry if I sound so new. Cuz I am.
Can you help?


wowedie@yahoo.com
- Edith Williams
www.DancerHangout.com

Ramsesx
08-17-2011, 11:08 AM
Installed on 4.1.5 and working fine, great job.

cstreater
10-31-2011, 04:03 PM
I removed the [url from the banned words. It was blocking too many noobies.

Same here.

I had it a few times with smileys but i rather a smiley set it off then see spam on my site.

Be on the lookout for smilies. Cookie stuffing, a technique that uses smilies, links to broken gif images (both gif and php extensions at the end of the URL) are 99% likely to be connected to cookie stuffing. The process being: The browser still tries to resolve the link. The gif, php, or smiley is actually a file that loads the source code of the html on your page with affiliate links (e.g., Amazon). These affiliate links are added to the browsers cookie cache, and from that point on, any product a member buys that's connected to the links in the cookie are credited to the malicious affiliate. This nasty trick has resurfaced it's ugly head -- at least in the forum I run.

could you please add a feature to match only the exact word?

eg putting keywords inside "" uses exact match, without is normal/broad match

if in my keyword list now I've ABC DEF a post containing the word 12ABC34 will be put in moderation queue; for some spam keywords I don't want it (I use this mod to prevent adult keywords in my posts too)
So I'de like to specify my keywords in this manner: "ABC" DEF "drh" gerg ergerg

Thank you!

This mod is my favorite of all, but at the same time we have 1,500 registrations per day in our forums. It is a great tool, but is also a difficult thing to keep up with, due to false positives and the lack of being able to configure partial matches -- like you can in the censorship filter. For example, I can't block .gif, because it then adds words like "gift" to the mod queue.

Based on the last time this was updated, I don't think the feature request will be implemented, but I wanted to post my feedback anyway. Using 3.8.7 BTW.

logismod
02-26-2012, 05:27 PM
Is there a way for it to moderate whole phrases? I'm using this to catch posts that start arguments, and it would be great to moderates posts when someone types, "No offense, but..."

logismod
02-26-2012, 05:57 PM
Also, is there a way to exclude specific forums from the filter?

cstreater
03-23-2012, 07:33 PM
Just a follow-up on my post above. Convert all your smilies from .gif to .png's and then add these to your filter if you want to prevent the onslaught of cookie stuffing going on lately:

steamate xaode .info avatar0 avatar1 avatar2 avatar3 avatar4 avatar5 avatar6 avatar7 avatar8 avatar9 0.gif 1.gif 2.gif 3.gif 4.gif 5.gif 6.gif 7.gif 8.gif 9.gif 1.php 2.php 3.php 4.php 5.php 6.php 7.php 8.php 9.php 0.php happy.gif smile.gif cool.gif sad.gif

FYI - this mod is incompatible with Tapatalk. Meaning they can bypass this filter by posting from Tapatalk.

mykkal
05-20-2012, 03:15 PM
Im still on vbulletin 3.8? Does it work with that version? Also can it look for exact phrases. Please let me know guys.

mykkal
05-20-2012, 03:18 PM
Also, is there a way to exclude specific forums from the filter?

this would be cool to know. Especially because I only import rss feeds into certain forums. and those are the ones I really want to filter.

mykkal
05-20-2012, 03:36 PM
Does anyone know of a plugin like this one that uses exact words?

sonic83
05-09-2013, 09:07 AM
Hi. It's works in vbulletin 4.2.1?

Thank you :)

suj69
07-30-2013, 03:30 AM
Just thought I'd say this appears to work perfectly in 3.8.5.