SpamBam new version
Friday, 30 March 2007
I’ve launched a new version of SpamBam which fixes a minor problem reported by a user. The plugin is now available on the WordPress plugin page:-
http://wordpress.org/extend/plugins/spambam/
It’s been a huge success and we don’t get any comment spam any more on our blog 🙂
No. 1 — August 31st, 2007 at 8:33 pm
I find this works well, but longer comments or comments that are not submitted quickly often get sent to the spam page. What do I do?
No. 2 — August 31st, 2007 at 9:01 pm
Hi Lance
The code uses PHP sessions to store the key information to protect from spam, if a long time is left before submitting the comment or your server has a short session expiry then you might experience problems.
Also note Cookies and Javascript are both required to submit a comment.
I’d think the most likely issue is your server configuration, so I would check your php.ini file and make sure your php sessions are not set to a low expiry date.
No. 3 — September 1st, 2007 at 9:39 pm
Thanks!
Where would I find the php.ini file? I can’t seem to locate it.
No. 4 — September 2nd, 2007 at 9:04 pm
It can be found in many different locations depending on the OS/Distro, I’d check the following locations:-
/usr/local/php4/lib/
/usr/local/php5/lib/
/etc/httpd/
This is the setting you need to change, I wouldn’t recommend increasing this too much because it can affect the security of your site:
http://uk.php.net/manual/en/ref.session.php#ini.session.cookie-lifetime
Or you could manually change the spambam code to change the session timeout, edit the spambam plugin and add the following setting if you don’t want to change your php.ini file:-
http://uk.php.net/manual/en/function.session-set-cookie-params.php
No. 5 — March 9th, 2008 at 1:30 am
Thanks for this. I used to get so much spam posts on my blog, but now that I’ve had this on my blog I haven’t had any spam posts for months.
No. 6 — January 26th, 2009 at 4:54 pm
Thanks for this