Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-11 09:10:34

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Block ip address from form spammers from with Textpattern

I know it is possible to block IP addresses of via .htaccess file but can one achieve this somehow from within txp it’s self. (I am not refering to comment blockers but form spammers).


I think, therefore I AM, … … er … I think :-?

Offline

#2 2011-03-11 10:14:06

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Block ip address from form spammers from with Textpattern

It’s better to do blocking on higher level than with PHP, because of the overheat. Tho, you could possibly manage banning with PHP — adding the IPs to server configs if permissions let.

But if you want to do blocking within TXP, sure you can. You could add the blocked IPs to the discuss_ipban table and use that definition list in your forms. Would need some plugin writing, tho.

As far as I’m aware neither of those exists as a plugin at the moment.

Offline

#3 2011-03-12 09:06:58

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: Block ip address from form spammers from with Textpattern

ok thx for the info.

what is the over heat. How would it be different to the already implimented comment related ip ban.


I think, therefore I AM, … … er … I think :-?

Offline

Board footer

Powered by FluxBB