Web Programming, Linux System Administation, and Entrepreneurship in Athens Georgia

bcSpamBlock 1.2 for WordPress released

I had a few users who have been using my bcSpamBlock WordPress plugin for blocking spam tell me that it also completely blocks trackbacks. Thanks to their input and specifically wlx who sent me a patch to have it skip validation on trackbacks and pingbacks.

I modified the WordPress component of the code so that it doesn’t check for the cryptographic signature for trackbacks, but instead makes sure that the remote host is the webserver for the site that it says it is. If that check passes, it also retrieves the page and verifies that it contains a link to your own blog.

I’ve updated the plugin and it is available for download on the bcSpamBlock wordpress page

5 Comments

  1. Brandon

    Doh, I had a problem with the strstr() call where PHP reverses the needle/haystack arguments for some reason. I just committed a new version that should fix this with version number 1.2.1

  2. Paul Butler

    Cool, mind if I incorporate it into JSSpamBlock when I get a chance?

  3. Brandon

    Feel free. That’s what I love about open source software 🙂 I haven’t had a lot of time to test the trackback/pingback stuff yet, but so far it has worked well.

  4. wlx

    Hi Brandon,
    Nice work, and I download that latest code, find that the trackback/pingback are included also, so what’s you option about let trackback filtered by simple trackback validation plugin? Because that plugin has more customise to deal with trackback.

  5. Brandon

    wlx,

    I included that option because the original purpose of my wordpress plugin was for comment validation for the general-purpose bcSpamBlock functions I wrote. I’m not sure what all the other options for Trackback/Pingback validation are. I saw that the ‘simple-trackback-validation’ plugin had more options, so users might prefer to use it instead of my plugin . It makes sense to at least include a configuration file options for those users.

Leave a Reply

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

© 2025 Brandon Checketts

Theme by Anders NorenUp ↑