↓ Skip to main content

WordPress

XML Google Maps to OSM Plugin Migration

·3 mins
The recent spat between Garmin and Strava reminded me that there was a time when I used to post GPX files on this blog for orienteering events and my more interesting runs. I then used the XML Google Maps plugin to render those GPX files. That plugin failed to survive a PHP upgrade many years ago, and the maps were gone. I sensed another opportunity for Copilot…

Update time

·1 min
WordPress has been nagging me for some time that I needed to update the version of PHP this blog is running on and, in particular, Jetpack had finally given up on me. The sticking point has been that the Digital Ocean droplet it’s running on has been stuck back on Trusty Tahr and a previous attempt to upgrade it had gone awry.

Wordpress upgrade

·1 min
I’ve finally had a chance to upgrade to Wordpress 2.7. It’s relatively painless since I’ve switched to updating via Subversion. The only problem I hit was with text widgets. I was seeing an error along the lines of “Warning: array_keys() [function.array-keys]: The first argument should be an array in wp-includes/widgets.php on line 1044” which, if you Google it, currently appears at the top of a whole host of other people’s blogs. Deleting all (three) of my text widgets and recreating them seemed to fix the problem. It’s good to see that threaded comments have finally made it in to the base product. I’ve previously experimented with a couple of plugins but never turned them live for users as I’ve never been entirely happy with the way they’ve been implemented. (As a consequence though you’ll see that some historical posts already have threaded responses from me.) I have to say that, right now I’m not a big fan of the revamped admin pages but that may be just lack of familiarity…

OpenID support

·2 mins
The observant visitor to this site may already have noticed the addition of OpenID support for logon and commenting on this site. This is easy to achieve with the WP-OpenID plugin. For now I have enabled the option to auto-approve comments submitted with an OpenID. I know having an OpenID doesn’t necessarily make you a good person but, at least for now, its more effort than your average spammer is prepared to go to.

Upgrade weekend

·1 min
Finally had a chance to put in place a whole upgrades on this site. First up was WordPress 2.3.2. I then needed to upgrade Gallery2 for the latest version of the WPG2 so that’s now at 2.2.3. The WPG2 plugin now acts a lot more like I’d expect a plugin should. Two minor niggles. Firstly, it adds its own page which appears with all the others on the right. You can rename it but I’d rather like to get rid of it completely! Secondly, it doesn’t work with Gallery URL rewrites. Need to investigate that further but it is mitigated to a certain extent by enabling Lightbox support so you won’t usually get to the image page from a blog post anyway.

Changing servers

·2 mins
So, it’s been a little bit quiet on this blog for the past few days. The main reason is that it’s been on the move from the hosting provided by our ISP (PlusNet) to my SliceHost slice. Things would have been much quicker had I not decided to switch Apache for the increasingly popular (due to its low memory usage) nginx.

WordPress 2.2

·1 min
Having missed the previous security update I decided to upgrade to WordPress 2.2. I’m glad to say everything seems to have gone smoothly (although PlusNet managed to take the site down again at one point which had me a little worried). Nothing really different for you, the reader, to see. Widget support is now there out of the box but then I had the plugin installed previously anyway.

Welcome back blogroll

·1 min
Apologies to those whose sites have recently been absent from the links in my sidebar. The modifications in Wordpress 2.1 to use the same categories for posts and links managed to break my pages. Having just moved up to Wordpress 2.1.2 this is now fixed so the blogroll returns.

Another Wordpress upgrade complete

·1 min
I’ve now moved this blog and Christine’s up to Wordpress 2.1. I’m still waiting for the WPG2 patch which resolves an issue with g2image and TinyMCE but as I rarely post via the web then this isn’t too much of a problem. More problematic was that Wordpress now appears to add an extra paragraph tag in around the images which broke the style applied to the Gallery one-image class. Having moved that to the ImageFrame_none class everything appears to be functioning again.

Wordpress upgrade and widget fix

·1 min
I’m glad I didn’t get round to moving up to Wordpress 2.0.6 as, 10 days later, 2.0.7 is out. The upgrade itself went pretty smoothly. I’ve also fixed the categories widget in my sidebar. By default it doesn’t show categories without any postings but, in a hierarchical view, it doesn’t take in to account that sub-categories may have postings. Having selected Sidebar Widgets in the plugin editor, I located the widget_categories function in question. In the call to wp_list_cats I added &hide_empty=0 to the end of the parameter. You should now be able to see my People category (empty) but also its Family and Friends sub-categories (with postings).

Upgrade to WordPress 2.0.5

·1 min
Finally found the time to upgrade to WordPress 2.0.5. The process of copying across all the modified files, plugins, themes etc. is always far more manual than I’d like so if you spot anything that looks broken please let me know!

Upgrade time

·1 min
Though it was about time I upgraded the various technologies running this blog. After a few heartstopping moments where nothing worked, I’m now successfully running Gallery 2.1 and Wordpress 2.0.4 with WPG2 2.0 tying the two together along with the newest Wordpress Gallery theme. There’s probably not much to see for the viewer but WPG2 was certainly easier to setup this time and the TinyMCE plugin now lets you add wpg2id tags which is bonus.

Widgets, links and spam

·1 min
If there is anyone that actually visits this site then they have noticed that the right-hand column has changed a bit recently. This is as I’ve added WordPress Widgets to my template. The presence of a del.icio.us widget has encouraged me to sign up for an account there to store my links. I should probably also mention another Automattic project - Akismet - without which this site would have rapidly disappeared under the weight of spam comments. This saved me from the dilemma of whether or not to add captcha support to the blog with the associated accessibility issues.