[BETA] Antispam for all fields (updated: 10-01-2009:V1.3.1)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Code: Select all

* integration with approve post if a word is found ( instead if instant denial )
is getting a speed up injection...
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
lmcboy
Registered User
Posts: 2
Joined: Fri Jun 16, 2006 4:17 pm
Location: Tucson, AZ, USA
Contact:

Re: [BETA] Antispam for all fields (updated: 03-06-2006)

Post by lmcboy »

Ramon Fincken wrote: * If a word is found an error message is shown and the information will NOT be processed


Wouldn't it be more useful to just silently reject the registration request, rather than telling the spammer that they're being rejected (thus giving them a chance to try again)? Or am I missing something?

In any case, thanks for the mod, I've installed it and will try it out.
Jason Harris
[email protected]
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Re: [BETA] Antispam for all fields (updated: 03-06-2006)

Post by Ramon Fincken »

lmcboy wrote:
Ramon Fincken wrote: * If a word is found an error message is shown and the information will NOT be processed


Wouldn't it be more useful to just silently reject the registration request, rather than telling the spammer that they're being rejected (thus giving them a chance to try again)? Or am I missing something?

In any case, thanks for the mod, I've installed it and will try it out.



From the logs I have at my site, spammers sometimes try a second time with a complete different username, so far all attempts are 'caught' because they use spamwords ..

+

The standard build in feature prevents lots of registration requests..

Ramon
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
lmcboy
Registered User
Posts: 2
Joined: Fri Jun 16, 2006 4:17 pm
Location: Tucson, AZ, USA
Contact:

Re: [BETA] Antispam for all fields (updated: 03-06-2006)

Post by lmcboy »

Okay, I'll give it a shot as-is. I wonder if there's an easy way to ban the IP when a spam registration is detected.

BTW, the wordlist at http://www.phpbbinstallers.com/bad_words.php may be too restrictive! I tried to post to my board right after installing those words, and my post got rejected. I couldn't figure out what word it was complaining about. I disabled the parts of your mod that deal with posts as a workaround.

If you're interested, here is the rejected post, posted after I disabled the word filters.
Jason Harris
[email protected]
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Hello lmcboy,

you can easily delete the words you don't like from the admin control panel >> general admin >> Word Censors

another option is to create your own list from scratch based on the spambots urls and post you have had in the past ... and analyse of the new registered ones ..

Rfn
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
squid808
Registered User
Posts: 3
Joined: Fri Jun 16, 2006 7:48 pm
Contact:

Post by squid808 »

Hey looks great, but I'm confused a bit... does this only block those words for registration, or on the board completely? AKA, if 'poker' is blocked, and I write a post about a game of poker, will that work? Or did I just drink too much last night such that I'm over complicating things? :D
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Current fields that are checked:

username, email, website
ICQ, AIM, YAHOO, occupation, interests, signature

subject of a post/reply
contents of a post/reply

If you want to remove a check delete a line like:

Code: Select all

	validate_spam($icq);	
Ramon
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

:idea:
** upgrade 1.1.2 -> 1.1.3 23032006
* Better word recognition algoritm
* Possibility to sent mail to site admin with ALL the post vars, incl link to profile and IP + proxy forwarded IP
* Possibility to create a usergroup. The 'bypass group'-members have the check option set to OFF so they can post without restrictions.


Image
Last edited by Ramon Fincken on Fri Jun 23, 2006 9:22 pm, edited 3 times in total.
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Thanks to Lurttinen, MarkTheDaemon and Dicky for testing this script !
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
Lord Raiden
Registered User
Posts: 391
Joined: Sat Jun 26, 2004 11:24 pm
Contact:

Post by Lord Raiden »

How's this coming? Is it safe for a production environment yet, or we still in the beta stage?
Steve Lake
-Owner/Admin/Author of:
-Raiden's Realm - Bringing Linux to the World
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Hi Lord Raiden,

it is in beta because it has not been submitted to the MOD-database yet.
I want to add the approve post feature before doing so.

This 1.1.3 version has been intensively tested by me, Lurttinen, MarkTheDaemon, Dicky and boards with over 1000 visits a day.
All 'bugs' were solved during the pre-1.1.3 stage.

And installing / uninstalling will not take a long period of time..

If you have any more questions don't hasitate to ask !

Ramon
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
Lord Raiden
Registered User
Posts: 391
Joined: Sat Jun 26, 2004 11:24 pm
Contact:

Post by Lord Raiden »

Ok, cool. Let me know when you feel it's stable enough to use in a production environment as I'd like to start using it as soon as possible, even if it is still beta. :)
Steve Lake
-Owner/Admin/Author of:
-Raiden's Realm - Bringing Linux to the World
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

go ahead !

The current version has been tested for about a month at my board :)


Rfn
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
Stephen W. Thomas
Registered User
Posts: 1
Joined: Wed Jun 28, 2006 12:41 am

group_check function is not defined

Post by Stephen W. Thomas »

I got everything installed using 1.13 and it seems to work great!

Except I had to comment out this line:
if(group_check($userdata['user_id'],$group_id)) return;

I have the group check set to -1 and I was getting a Fatel PHP Error saying my group_check function is not defined?

Did I miss something in the installation?

Thanks.
User avatar
Ramon Fincken
Registered User
Posts: 4835
Joined: Thu Oct 14, 2004 1:04 am
Location: NL, The Netherlands Amsterdam area @GMT +1
Contact:

Post by Ramon Fincken »

Hi Stephen W. Thomas,

I just re-tested the -1 value and appeared to work fine.
If you can re-add it and sent me a screenshot + the 2 files you used I can check the error.

You can also enter 0 or any other positive value of a group that doensn't exist. ( but keep the value below the value of the latest created group ! )

Ramon


ps:

:!: check the next page, a fix is available to add the function you were missing
Last edited by Ramon Fincken on Wed Jun 28, 2006 5:01 am, edited 1 time in total.
Dutch quality fully managed WordPress hosting - ManagedWPHosting.nl

Before changing a file, some code or installing a MOD >> Make a backup first!

Do you like my mods? paypal me $1 :) forumsoftware[AT}creativepulses[DOT}nl [/size]
PhpBBantispam.com || Instant find your mod here
Locked

Return to “[2.0.x] MODs in Development”