[01/12/06] Spam Words

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
52
76%
Very Good
9
13%
Good
4
6%
Fair
0
No votes
Poor
3
4%
 
Total votes: 68

Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati » Wed Jan 25, 2006 11:01 am

Millennyum wrote: I have just created a test account, but I am able to register with a website address and signature that contains a spamword. When I later try to change the signature, which then still includes the spamword, it still lets me do this. When I try to post a spamword in a topic with this account, I do get an error message.
This MOD does not check for Spam Words in the profile->web address. Since a signature is only visible when someone posts it would seem sufficient to check the signature once someone tries to submit a post.

Incidentally, the upgrade for this MOD which includes some bug fixes got lost in translation when the phpBB MOD server was down some weeks ago. I will re-submit the upgrade tonight, and the upgrade will aslo include the feature that highlights Spam Words in the log.
Image

Millennyum
Registered User
Posts: 88
Joined: Sun Apr 10, 2005 11:19 am
Location: Netherlands
Contact:

Post by Millennyum » Wed Jan 25, 2006 11:41 am

Well, I think it would be even better if spammers wouldn't be able to register at all, so it would be great if the mod could prevent this by also checking these fields during registration!

Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati » Wed Jan 25, 2006 11:46 am

Millennyum wrote: Well, I think it would be even better if spammers wouldn't be able to register at all, so it would be great if the mod could prevent this by also checking these fields during registration!
I understand that, but the purpose of the MOD is to prevent people from posting spam. Not from registering...
Image

Millennyum
Registered User
Posts: 88
Joined: Sun Apr 10, 2005 11:19 am
Location: Netherlands
Contact:

Post by Millennyum » Wed Jan 25, 2006 12:09 pm

Allright, I understand. But if you have the time... I expect a lot of people would love a mod like that! :)

I thought that during my first test, I received a warning the moment I tried to confirm the changes in my signature with a spam word. Now I noticed that I only receive the warning when posting with that account. Is this a result of my bad memory or should it indeed work like the last example?

Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati » Wed Jan 25, 2006 12:27 pm

It should work like your last example. The other thing is not hard to code, and I will look at it for you, if I get some free time.
Image

Millennyum
Registered User
Posts: 88
Joined: Sun Apr 10, 2005 11:19 am
Location: Netherlands
Contact:

Post by Millennyum » Wed Jan 25, 2006 1:58 pm

Brilliant! :D

philperry9
Registered User
Posts: 9
Joined: Sun Jan 30, 2005 12:50 am

Post by philperry9 » Fri Feb 03, 2006 5:47 pm

Great Mod....

One tip I'd suggest:

In your documentation, I'd provide a reference sample of how the admin_forums.php lines should look when your done. It was really challenging to sort through those lines and figure out exactly where to insert the in-line mods.

I'd also suggest that for the in-line mods assoicated with functions_post.php.

Nothing real complicated. Just a little more detail on exactly where they go in-line.

I have two forums on my site and they have two seperate tablespaces for each forum. It would be nice to have tables named:

master_spam_words
master_spam_words_config
master_spam_words_log

That way both of the forums can pull from the same table spaces - and I wouldn't have to update the spam_words tables for both forums.

I do this with my user accounts, etc.. All the user information is shared between the two boards using master_users tables, etc..... Make any sense?

Is there a file where I could hardcode to a specific table that is shared amongst all the forums??


Awesome Mod!
Phil

User avatar
webmacster87
Former Team Member
Posts: 3758
Joined: Fri Jun 11, 2004 2:30 am
Location: San Mateo, CA
Name: Douglas Bell
Contact:

Post by webmacster87 » Sun Feb 12, 2006 4:33 pm

MOD Updated to version 1.0.2
See first post for Download Link

yunta1
Registered User
Posts: 14
Joined: Sat Nov 05, 2005 12:59 am

Thanks Joe for submitting the changes.

Post by yunta1 » Thu Feb 16, 2006 3:05 am

Appreciate the update. Thanks.

All working very nicely.

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Post by noth » Fri Feb 17, 2006 10:54 pm

Millennyum wrote: Wow, this looks like a great mod!
The user panel is extremely extensive and it even provides different messages for PM's, warnings when posting spam words, and warnings when entering signatures with spam words!
Thanks to the log function I can also see if it is working, or if the spammers just didn't happen to pass by during the past time!

Thank you for helping to make our forums a spam-free place. Especially those forums that do not want to require people to register will benefit from this.


Millennyum said it all, WELL DONE Joe, I am sure you have done some other MODS your name is familiar and I have just downloaded this and installed it on 4 forums (all at 2.0.19)

I don't know whether spammers are bypassing visual confirmation on my guest sections but they are still posting their wares/ websites ruining the forum experience for genuine members

I see this mod as the only way forward for phpBB2 boards that wish to allow guests to continue posting

:twisted: Joe Belmaati - GREAT WORK!! :mrgreen:

Heeeey we should have a master sheet of spam words to save time what'd ya think?

=================
Joe regarding the log

It initiates with something like 1000 pages (all blank)

I did some testing and saw the log entries go on, very impressive too

Anyway after the testing I pressed DELETE

The log then went from 1000 pages to 0, is this normal? :wink:

Millennyum
Registered User
Posts: 88
Joined: Sun Apr 10, 2005 11:19 am
Location: Netherlands
Contact:

Post by Millennyum » Tue Feb 21, 2006 10:00 am

Indeed noth, and if Joe succeeds in integrating this mod in the registration procedure as well, it wil be another huge step forward for phpBB forums in beating the spammers!
noth wrote: Heeeey we should have a master sheet of spam words to save time what'd ya think?

Let's build one together! My current list:

I'm having some problems with finding solutions for words like 'gay' and 'sex', which could also be used in normal conversations.

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Post by noth » Tue Mar 07, 2006 5:33 pm

flippin heck Millenn 8) stars BOTH SIDES!! wow - one side is pretty cool but BOTH? 8O

anyway, I have to tell you that I have had this mod enstalled since 24FEB and the log that Joe included is a sheer joy to check every now and again

the thing is filling up nicely with bounced spam that never made it to the forums

I have several public forums that ppl like to use

EXAMPLE
used to be Breezy wrote: :) Hi Magic Hippy nice to have contact with someone else on here who has also actually visited Sleepy Hollow. This is my first visit to this web site in quite a long time, and I'm using a public computer so won't bother to attempt to log in with my former user name.

Sleepy Hollow closed down to strong continuing opposition from the locals.
....[sliced]. . . . . . .man eating beasts on the loose.


above member "Breezy" went in to a library or somewhere public like that and because the site has several "public forums," she was able to make a very significant post without worrying about logging in

my public forums were a massive target to scum sucking spammers

they still are :twisted: but the spam is being bounced from Joe's titanium shield and this is REALLY IMPRESSIVE - sincerely ......... noth

Millennyum
Registered User
Posts: 88
Joined: Sun Apr 10, 2005 11:19 am
Location: Netherlands
Contact:

Post by Millennyum » Tue Mar 07, 2006 5:49 pm

noth wrote: flippin heck Millenn 8) stars BOTH SIDES!! wow - one side is pretty cool but BOTH? 8O

Yup... both stars are necessary, because often those spammers only post the spam word in a url. They post something like "http://www.<spamword>.com" or "http://www.sitename.com/cool-<spamword>-for-free" and without the * it won't detect those links.

As spammers seem to love my forum lately, I have expanded my spam word list as follows:
*Butalbital*
*casino*
*cnool.info*
*dmcast.info*
*ettoday.info*
*ExpoAdvantage*
*FIORICET*
*free-ipod.htm*
*hotel wien*
*http://www.local-bed-and-breakfast.info ... kfast.html*
*http://www.local-homes.info/british-col ... homes.html*
*http://www.local-houses.info/spain-houses.html*
*http://www.tgpforum.net*
*i-part.info*
*it158.info*
*kasino*
*LIMITED TIME OFFER*
*phentermine*
*porn movie*
*porn video*
*pornmovie*
*pornvideo*
*privatesight.com*
*Property Search*
*Sex Video*
*sex-video*
*showhappy.info*
*takequick.info*
*valium*
*viagra*
*Vicodin*
*xxx video*
*IcooLoader*

Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati » Tue Mar 07, 2006 6:48 pm

Hi,
I am really happy that the MOD is working out for you :D

Millennyum
I should have the add-on you requested done soon. It will not be a part of the base code for this MOD, but I will post the changes here.
Sincerely,
Joe
Image

Joe Belmaati
Registered User
Posts: 2110
Joined: Sun Sep 28, 2003 7:35 pm
Location: Denmark

Post by Joe Belmaati » Tue Mar 07, 2006 7:16 pm

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
#
if ( isset($HTTP_POST_VARS['submit']) )
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
	include($phpbb_root_path . 'includes/spamwords.'.$phpEx);
#
#-----[ OPEN ]------------------------------------------
#
includes/spamwords.php
#
#-----[ FIND ]------------------------------------------
#
	    // Look out...
		check_spam($message, $subject, $signature);
#
#-----[ AFTER, ADD ]------------------------------------------
#
		check_spam($username, $website, $location);
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Image

Post Reply

Return to “[2.0.x] MOD Database Releases”