Considering how regularly new versions of Firefox now come along, that's quite some bug fix list in version 10! http://t.co/K3I2vLpW 1 week ago


18th
Nov 09

More WordPress plugin updates



Two more updates to my WordPress plugins today.

Simple URL Shortener

This is a big change in that it now uses a caching system – once it gets a shortened URL from a particular shortening service, it won’t get it again! This means that other plugins that access this one will no longer need to do their own caching (and, yes, that means changes to Simple Social Bookmarks, for instance!).

Simple Wakoopa List

Not a huge change, but backwards compatibility with pre version 2.0 has been much improved (i.e. code to access earlier versions of the plugin will now work without having to be modified).

More to come in the following days!

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



16th
Nov 09

Improving Twitter Tools


Twitter Tools is a rather excellent WordPress plugin that adds various Twitter functionality to a blog.

The two elements I use are the automatic posting when a post is submitted and the ability to display your latest Twitter entry. It’s clever in that the latter won’t show the former – i.e. it won’t display on your blog any Twitter entry about how you’ve updated your blog.

There’s also an option to prevent the plugin from display replies. Unfortunately, this doesn’t work with the single Tweet display and, not getting anywhere contacting the author about this, I set about fixing it for myself.

My main aim here was to not modify the plugin code itself, as any future updates would then break my changes.

First of all, I found the routine that is used to display single Tweets – aktt_latest_tweet. This is a simple MySQL to pull out a post, but with a modificiation to avoid any self-posted entries about the blog…

WHERE tw_text NOT LIKE '$aktt->tweet_prefix%'

I copied this routine to my themes function.php, giving it a slightly different name. I then added the following line after the previous one…

AND tw_text NOT LIKE '@%'

And that was it – all that had to be done to complete this change was to change the relevant theme files that reference this function (or rather the old one).

If changes to Twitter Tools occurs in future, I need to check the original function and ensure it’s not changed – if it has, I’ll need to reflect any such changes in my modified version. Having said that, changes are not common and making any should be quick and painless.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



16th
Nov 09

Two further WordPress plugin updates


I’ve updated Simple Twitter Link and, only recently launched, Simple Twitter Data.

Simple Twitter Link now uses Simple URL Shortener and there’s also an option to override the default URL.

Simple Twitter Data now has a second function, which will pass the number of references to a URL on Twitter.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly