<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A Blog by Tim Bishop &#187; mcsp</title>
	<atom:link href="http://www.bishnet.net/tim/blog/tag/mcsp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bishnet.net/tim/blog</link>
	<description>"For a moment, nothing happened. Then, after a second or so, nothing continued to happen." -- HHGTTG</description>
	<lastBuildDate>Mon, 02 Nov 2009 17:58:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Broken pingbacks &#8211; what&#8217;s to blame?</title>
		<link>http://www.bishnet.net/tim/blog/2009/03/24/broken-pingbacks-whats-to-blame/</link>
		<comments>http://www.bishnet.net/tim/blog/2009/03/24/broken-pingbacks-whats-to-blame/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 17:42:46 +0000</pubDate>
		<dc:creator>Tim Bishop</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[comment spam]]></category>
		<category><![CDATA[Math Comment Spam Protection]]></category>
		<category><![CDATA[mcsp]]></category>
		<category><![CDATA[pingback]]></category>
		<category><![CDATA[SecureImage]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.bishnet.net/tim/blog/?p=240</guid>
		<description><![CDATA[For up to three years pingbacks on my blog have been broken. After finally noticing I track down the problem and find a fix.


Related posts:<ol><li><a href='http://www.bishnet.net/tim/blog/2006/04/16/an-end-to-comment-spam/' rel='bookmark' title='Permanent Link: An end to comment spam'>An end to comment spam</a></li><li><a href='http://www.bishnet.net/tim/blog/2009/03/27/wordpress-plugin-recommendations/' rel='bookmark' title='Permanent Link: Wordpress plugin recommendations'>Wordpress plugin recommendations</a></li><li><a href='http://www.bishnet.net/tim/blog/2006/04/01/comment-spam/' rel='bookmark' title='Permanent Link: Comment spam :-('>Comment spam :-(</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>For a while I&#8217;ve been noticing a lack of pingbacks from people linking to me. At first I put it down to people just not linking to me, but then after discussions with a colleague today I realised I didn&#8217;t have that annoying problem of them happening when I link to my own posts. I tested further and realised they weren&#8217;t working at all.</p>
<p>I debugged the issue using the good old &#8220;print debug messages all over the place&#8221; method &#8211; crude but effective. I started in xmlrpc.php and discovered that it was stopping at this line:</p>
<blockquote><p><code>$comment_ID = wp_new_comment($commentdata);</code></p></blockquote>
<p>This meant it was getting as far as trying to post the comment. It was then that I had a lightbulb moment. What would be stopping comments being posted? My <a href="http://www.bishnet.net/tim/blog/2006/04/16/an-end-to-comment-spam/">captcha to stop comment spam</a> (has it really been three years since I set that up?), that&#8217;s what!</p>
<p>My colleague has been using a numerical captcha-style plugin called <a href="http://wordpress.org/extend/plugins/math-comment-spam-protection/">Math Comment Spam Protection</a> (MCSP) instead. I did a quick comparison between it and the SecureImage plugin and fairly quickly found the difference. This is from the MCSP plugin:</p>
<blockquote><p><code>if (  ( !isset($user_ID) ) &amp;&amp; ( $comment_data['comment_type'] == '' ) ) {</code></p>
<p>// Do not check if the user is registered &amp; do not check trackbacks/pingbacks</p></blockquote>
<p>By comparison, the SecureImage plugin only checked if the user is registered:</p>
<blockquote><p><code>// If the user is not logged in check the security code</code></p>
<p>if ( !$user_ID ) {</p></blockquote>
<p>The fix looks simple. But, given the lack of updates for SecureImage I decided it was time to move on. So now I have the MCSP plugin instead, and pingbacks are once again working.</p>
<p>I just have one request to make. Can anyone who&#8217;s linked to me in the last three years please try again? <img src='http://www.bishnet.net/tim/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.bishnet.net%2Ftim%2Fblog%2F2009%2F03%2F24%2Fbroken-pingbacks-whats-to-blame%2F&amp;linkname=Broken%20pingbacks%20%26%238211%3B%20what%26%238217%3Bs%20to%20blame%3F"><img src="http://www.bishnet.net/tim/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:<ol><li><a href='http://www.bishnet.net/tim/blog/2006/04/16/an-end-to-comment-spam/' rel='bookmark' title='Permanent Link: An end to comment spam'>An end to comment spam</a></li><li><a href='http://www.bishnet.net/tim/blog/2009/03/27/wordpress-plugin-recommendations/' rel='bookmark' title='Permanent Link: Wordpress plugin recommendations'>Wordpress plugin recommendations</a></li><li><a href='http://www.bishnet.net/tim/blog/2006/04/01/comment-spam/' rel='bookmark' title='Permanent Link: Comment spam :-('>Comment spam :-(</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bishnet.net/tim/blog/2009/03/24/broken-pingbacks-whats-to-blame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
