vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Prevent Spam Posts (https://vborg.vbsupport.ru/showthread.php?t=131568)

Adrian Schneider 11-13-2006 10:00 PM

Prevent Spam Posts
 
1 Attachment(s)
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

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

Quote:

Originally Posted by hornstar1337 (Post 1117806)
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

Quote:

Originally Posted by 1996 328ti (Post 1124027)
I removed the [url from the banned words. It was blocking too many noobies.
But I've added playstation.

Happens. ;)

Quote:

Originally Posted by ngaiox (Post 1124068)
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 :)


All times are GMT. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03170 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete