Categories
josephscott

TrackBack And PingBack Problems

When I put my current layout I forgot to display a link for the TrackBack URL. After some more testing it looks like TrackBack and PingBack are both broken on my site. This came up because my boss is setting up a WordPress blog and wanted to try out PingBack and TrackBack and found that both of our blogs were failing. A little bit of trial and error indicates that WP-Gatekeeper seems to be causing the problem. I’m digging through the code to see how hard this is to fix. So if you been having problems with WordPress receiving TrackBack and PingBacks with an error message of “Sorry, posting has been closed for the time being.” then keep an eye of this spot, hopefully I’ll have a fix soon.

UPDATE 5:15pm 13 Jun 2005: I’ve come up with a simple patch to WP-Gatekeeper to fix this problem. I already emailed Eric Meyer (the author) about this so hopefully an update will be released soon. To fix this just add these lines to the gatekeeper_stand_guard() function just below user login check:


if(preg_match("/^(trackback|pingback)$/i", $commentdata['comment_type'])) {
return($commentdata);
}

While trying to figure out what was going on I came across Ping-o-Mation, which has tools for testing TrackBack and PingBacks. Nifty tool to have around.

UPDATE 1:30pm 14 Jun 2005: Eric has released WP-Gatekeeper 1.5-RC3 which includes this fix. In his announcement for this release Eric makes a a great point, WordPress needs to break out trackbacks and pingbacks from comments so that you can specifically set options for each. It would nice to be able to use WP-Gatekeeper to deal with comment spam and perhaps turn on full moderation for trackback/pingbacks.

Leave a Reply

Your email address will not be published. Required fields are marked *