Archive for posts tagged ‘programming’

Using timestamps to reduce WordPress comment spam

The method described in this post uses PHP to generate the timestamps. If your site is using a caching plugin, the timestamps will be stale, and this method will not work. I’m working on a new method using JavaScript for sites that use page caching. In this post, I’ll explain how to reduce the amount [...]

Read more...

A collection of PHP code snippets

This is a collection of php code snippets that seem to come in handy rather often. They are assembled here more for my own organization than anything else.

Read more...

Defeating WordPress comment spam

How to reduce WordPress comment spam by implementing a challenge-response system that uses JavaScript to hide the path to the form processing script.

Read more...

Fixing warnings in the WordPress Sociable plugin

This plugin is once again actively supported. Please download the latest version from http://wordpress.org/extend/plugins/sociable/. I’ve fixed some errors that I was experiencing with version 2.0 (dated 2007-02-02) of the Sociable WordPress plugin by Peter Harkins. Specifically, when running WordPress 2.2+, I would get the following warnings when saving changes: Warning: implode() [function.implode]: Bad arguments. in [...]

Read more...

Defeating contact form spam by hiding the webmail script

How to defeat contact form spam bots through the use of a challenge-response system.

Read more...

A plugin for adding the post date to wp_get_archives

A plugin replacement for wp_get_archives that displays each post’s date.

Read more...

Halo 3 Service Record WordPress Plugin

This plugin allows you to add information from your Halo 3 Service Record to your WordPress blog.

Read more...

Xbox 360 Gamercard WordPress Plugin

A WordPress plugin that will display a customizable XHTML and CSS Xbox 360 gamer card.

Read more...

Showing a WordPress post’s ‘last modified’ date

Add a timestamp showing when a WordPress post was last edited.

Read more...

A WordPress Plugin for Title Case Capitalization

A WordPress plugin for changing the post title to use title case or headline capitalization. This is not just ucwords or CSS capitalize.

Read more...