Comment Spams On WordPress

Recently start receiving comment spams at LcF Weblog. Those are non topic related comments with full of external links. Since the condition is not so serious, only few comment spams per week, I choose to delete them normally.

There are few ways to deal with comment spam for WordPress(WP) user:

Comment Moderation
WP has an option for you to moderate every comment for your post. Only approved comments will be displayed. It is disabled by default. To switch on comment moderation, login WP -> Options -> General Blog Settings, then set comment_moderation to manual.

Pro : you have full control.
Con : trobulesome…

Auto Shut Off Comments
Turn the comment option off for stale post. Example: all post older than 30 days will not allowed to post new comment. There are two (here and here) auto shut off comment hacks available in WPHacks.

Pro : set-and-forget-it solution.
Con : new visitor cannot comment on old posts.

WP Blacklist Comment SPAM Filteration
This is WP version of Movabletype’s MT-BlackList plugin. It filters the comment spam that match the blacklist. Download here.

Pro : more complete solution to deal with comment spam
Con : beginners may have difficulty to install.

Note: In just released WordPress 1.2, it included new comment moderation and spam comments filters to deal with comment spam!

Guide To Ping PPS From WordPress

As an active pinger of Project Petaling Street(PPS) and WordPress(WP) user, here I write a brief guide to ping PPS, both manual and auto ways. :)

Requirements:

  • A weblog powered by WordPress(here I use version 1.0.2)
  • PPS membership (free register)
  • Basic HTML editing and file upload/download skill(for auto ping)

Preparation
You need to have PPS Ping URLs. Goto member page(public pinger) of PPS, there is intruction to get PPS Ping URLs under “Using Personal-Server-Installed Blogging Tools: Begin Instructions” part.

Note: PPS Ping URLs are only for PPS members, therefore, I cannot reveal them here.

Manual Ping PPS
Here is simple and brainless way to ping PPS manually…

  1. When you write a post in WP, there is a “Trackback an URL” text field under the post area.

    trackback an url

  2. To ping PPS, just copy and paste the PPS Ping URL of the category you want to ping into the text field.

    So, it look looks something like this:

    Ping PPS from WP

  3. After that just publish the post as usual by clicking the “Publish” button, and WP will ping PPS. Done! :)

Auto Ping PPS
Here is tip to save the trouble of copy and paste the ping URL everytime you make a post.

  1. Download “edit-form.php” from your WP installation directory. The file is inside /wp-admin/ directory.
  2. Open and edit “edit-form.php“.
  3. Search for “trackback_url” and you will see a line like the following:
    <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" value="" />
  4. Replace it with:
    <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" value="PUT_PPS_PING_URL_HERE" />
  5. Save the file after editing. Upload the edited “edit-form.php” back to your WP installation’s /wp-admin/ directory, and replace the old file.
  6. Done! Next time when you start a new post, the PPS URL will sit in the trackback field automatically. Like this:

    Ping PPS from WP

    If you do not wish to ping PPS for particular post, just delete the URL from the text field. :)

Thought:
Hope this guide helps PPS members who are using WordPress. :)

For MovableType user, here is brief guide to ping PPS by YowKee.