I use the PSXMail plugin for the contact form on this blog and I recently started to get a whole bunch of spam-like inane comments that did not make a whole lot of sense. The Akismet API is so easy to setup and test that I figured I would add the Akismet comment test to the PSXMail plugin and make everyone’s life easier.
In case others find it useful, you can download the latest version of this plugin below. Please report any bugs. NOTE: You have to have Akismet installed and activated as a plugin already with a valid Akismet Key.
Upgrade: Simply upload the new file and Akismet will take care of everything in the background.
Installation: Download the zip file, unzip, upload to your plugin directory and activate. Then create a new page with the word mailform within curly brackets as the content of the page. Now link to that page from anywhere to get your contact form. Other configuration instructions can be found on the original plugin page.
I uploaded this, clicked ‘activate’ and my whole blog went blank so I had to delete the file.
Any suggestions?
Hmmm…that just means that you have errors turned off in PHP and there was a fatal error. It would really help to know what the error was. Is there any way you can turn on errors or at least display them for a minute and then turn them off?
I could try if you tell me how or give me a link to where I can read how.
Helen, here is some information on the PHP site about error reporting.
http://us3.php.net/error_reporting
Hi Mark,
It will be great to read how this works for you. But with this method http://alpesh.nakars.com/blog/.....ress-blog/
I have had no issues with spammers! Trust me! 🙂
Cheers!
Alpesh
o.O *is totally lost*
Hmmm…I think the best thing would be to see if it works for other people because basically I have no clue what to do with that page about turning errors on in php.
The newest version of WP won’t even let me activate it because…
“Plugin could not be activated because it triggered a fatal error.”
So I’m not the only one who had problems with this plugin.
My problem was that I still had the original Contact Form plugin active. After turning it off, I was able to activate this one.
Hi, I like this plugin, thanks a lot! Everything works fine since I installed it, but I just recognized that it develops a lot of white space below the contact form with Firefox 2.0.0.3; not with the newest IE though. Do you have any idea, why, and what I need to change in the code? Thanks in advance.
Hi I got this plugin to work with one of my sites but the other site is giving me the following error. Can you help me?
Fatal error: Call to undefined function: akismet_http_post() line 165
$response = akismet_http_post($query_string, $akismet_api_host, ‘/1.1/comment-check’, $akismet_api_port);
sfaloha, you have to have akismet installed for this plugin to work. please install and enable akismet through the plugin page inside your wp-admin.
Hi Mark,
thanks for this plugin, I like it!
Regards
Joachim
How do you check for false-positives?
Where does it keep the spam?