Howto: Twitter sms notification for Meteor and Vodafone

A few weeks ago Twitter annoyed a lot of European users when they stopped sending sms notifications to their users. I never really used that facility so I didn’t miss it but many Tweeters did. Outrage and blue murder were spoken of in the same sentence. People marched in the streets, there were riots.

OK, maybe not, but it annoyed a few prolific Tweeters and I wondered aloud if I could make Tweet Tweet send me sms notifications when I got replies or direct messages. After quite a bit of testing and playing around with Meteor’s website I’m glad to say I cracked it. I added hooks to my plugin for other plugins to latch on to, and wrote a small bit of code that logs in to Meteor.ie and uses their free web text to notify me of replies or direct messages.

Following on from that success, Jason Roe added code so Irish Vodafone customers could get sms notifications too!

So, if you really miss the sms notifications from Twitter, and you’re an Irish Meteor or Vodafone customer, download Tweet Tweet, install it in your WordPress blog and enjoy getting those sms notifications from Twitter again!

Developers – if your phone company isn’t covered just yet, please take a look at the existing Meteor and Vodafone plugins. The framework is there. Using curl to login and send texts can be a little daunting but it’s not impossible. Get in touch by leaving a comment here, or using the contact form on the about page.

PS. Almost forgot to mention Tweetrush went live yesterday with some very nice Twitter stats. Check out what my friend AJ has to say about the launch!
PPS. I’ll be demoing Tweet Tweet at Techludd Cork on Thursday night. If you’re there, please say hi!

WP Super Cache 0.6.7

WP Super Cache is a plugin for WordPress that creates cached copies of your blog posts and pages, making your site much faster to serve. It’s also ideal for coping with sudden surges of traffic.

I released a new version of the plugin this morning. This is a bugfix release:

  • Mike Beggs contributed a number of changes:
    1. Better support for Win32 NTFS
    2. Better use of the “Vary” header so proxy servers won’t cache the wrong page. If you see leakage of comment details on posts this will fix that problem.
    3. WP-Cron handles cleanup of expired cache files in the background now.
    4. Disable mod_deflate if it’s running as it sometimes tries to compress gzipped files. Remove wp-content/cache/.htaccess for that file to be updated.
  • Lazy and Otto both recommended using get_comment() instead of the depreciated get_commentdata()
  • A basic “uninstall” function has been added to remove some of the files the plugin creates. It’s called when you deactivate the plugin.
  • PHP running as a CGI doesn’t support apache_request_headers() so that’s been added too.
  • And I almost forgot, the admin page received a slight makeover.

Get the plugin from the download page!

When a dog loves a woman

The happy and sad story of Goofy, a dog rescued from Greece, who took over Belinda Harley’s life.

If you enjoyed story of Goofy’s rescue, look for the book, “Marley and Me”. It’s a lovely story, and you’d need to have a hard heart not to shed a tear by the end of it.

The only time that Mark Birley, that quintessentially reserved Englishman and ruler of the nightclub Annabel’s, sent me a love letter, it began: “Darling Belinda, I know I only saw you last night, and will see you again in a few days, but there is something I wanted to put in writing. I want to tell you how much I love and admire you” (here, I caught my breath) “for rescuing that divine dog.”

The rest of the letter was not about me at all. It was all about Goofy, the mixture of spaniel and scamp with the wonderful, intelligent eyes that I had brought home, after nightmarish battles with official-dom, from the Greek island of Paxos.

Tweet Tweet 0.1 for WordPress

I’m a big fan of Twitter. It serves as a useful tool connecting people who might never meet, and also as a vital means of communication for those who work at home or in solitary conditions.

The one huge and uncomfortable problem I see with Twitter is, “What happens to the conversation if Twitter fails?” What will you do if Twitter goes out of business tomorrow? Where will all your conversations, all the links you posted, and received from your friends be? That’s why I wrote Tweet Tweet.

Tweet Tweet is a plugin for WordPress that will archive your tweets, and the tweets of everyone you follow, plus replies you receive from strangers, and direct messages too. All these tweets will be stored safely in your database.

There is a simple “review pane” where you can see the latest tweets and go back in history but it’s very basic. The primary aim of this plugin is to ensure that your conversations are safe.

Tweet Tweet

The plugin has been tested by a number of users, but it uses jQuery and AJAX techniques for the review pane so I’d love to hear if it works for you.

Please, do not hack the plugin to poll Twitter more than once every 90 seconds. Unless you follow thousands of others, 90 seconds will be fine. I have mine set to 180 seconds and it picks up every single tweet.

Update! I just tagged version 0.2 which adds a better hover for the review pane (and makes it IE6 compatible), and also adds a search form to make it easier to navigate your Tweet archive.

How to watch DVDs on your Wii

Speculation on fan blogs about an upgrade to play DVDs on the Wii Console has been persistent for as long as I’ve been reading them, but it seems doubtful Nintendo will ever add this ability.

What are we to do? If you can’t get official support for something that the hardware can probably do, why not code it yourself? The Wii is a closed platform, but that hasn’t stopped enterprising developers taking a peek under the covers. That’s exactly what Erant did with his libdl and DVDX installer!

He created a dvd access library for the Wii Console, added the Mplayer media player and hey presto! DVD playback on the Wii. Mplayer also plays practically any video format under the sun so it’s even better than a DVD player.

Our DVD player is stuck in a cupboard under the television where the baby can’t get it (and requires untying of handles for an adult to get to) while the Wii is on a shelf in easy reach. I think this may be the project that gets me to try out Wii Homebrew using the new Twilight hack.

Once you’ve done that, you can enjoy the splendor of mplayer. That what started out as a simple proof of concept has rapidly turned into a full-featured media player, under the nourishing hands of dhewg. The main aim of the mplayer project was to get DVDVideo going, but it also supports reading video files off the SD card. (Experimental).

Nintendo Wii fanboy has a simple guide to getting everything running, from installing the Homebrew channel to running Mplayer. Nice.

Mplayer playing DVD on Wii Console

WordPress at No. 10

You may have heard that the official site of the British Prime Minister’s Office at number10.gov.uk launched earlier today. The great news is that it’s running WordPress, but what really excited me is the fact that the site is also using WP Super Cache.

The site was initially very slow, but once the cached static files were in place, it just zipped along! Three cheers for caching and everyone who has contributed to WP Cache and WP Super Cache! 🙂

I wonder if Gordon Brown will be looking at his Dashboard? *Wave*

WordPress MU Domain Mapping 0.1

A long sought after feature in WordPress MU is domain mapping. That’s where a blog on a WordPress MU site can be “mapped” to a new domain. WordPress.com has an advanced domain mapping feature that has proved to be very popular with users even though it’s a paid-for upgrade.

This domain mapping plugin isn’t quite as powerful and still requires plenty of testing. So, while domains and “sub domains” or hostnames can be mapped to individual blogs, there are a number of caveats:

  1. Remote login does not work. It’s possible to be logged in on the main site, logged in on the domain mapped blog as a different user or not logged in at all there!
  2. It only works if your WordPress MU site is using sub domains.
  3. It’s the 0.1 0.2 release. It’s basic.

Here’s the plugin page, and the download page. I’d like to hear how well it works for you.

I’m submitting this plugin to the WordPress MU plugin competition. There are only 2 other entries so the odds on my winning are pretty good!

I should have a Sitewide Tags update later this week, with thanks to Thomas Schneider who came on board last week to help and has done some super work!

Ron and Andrea found a bug in pre release testing that I forgot to fix in 0.1, so grab 0.2 if you were (un)lucky enough to grab the first release! Thanks Trent for testing too. Follow me on Twitter to get the inside scoop on my WordPress plugins, including a sort of super secret Twitter plugin..

WordPress MU is the multi blog version of WordPress that runs on WordPress.com and many other sites.

Gravatar enabled WordCamp Badges

Andy has the very exciting news that Gravatar icons will be printed on attendee’s WordCamp San Francisco badges this year!

gravatar badge

On supporting websites, Gravatars have become a de-facto identity for comment threads and discussions so to carry through the identity to the conference floor is just a logical conclusion.

There is one caveat. Gravatars can now be up to 512×512 pixels. The bigger they are, the better they’ll print. If your Gravatar is a measly 32×32 pixels it’s going to look like a dirty smudge next to the shiny badges of the big boys. Andy has created a handy form for checking if your image is the right size. If not, please upload a new Gravatar before August 14th!

I won’t be at WordCamp this year but after seeing the line up of speakers I’m looking forward to seeing the blog coverage afterwards.

PS. Andy has a new post showing how to create those badges with the help of a PDF library.

WordPress MU 2.6

Version 2.6 of WordPress MU is now out! WordPress MU is the multi blog version of the popular blogging software WordPress. It’s the engine behind WordPress.com and many other blogging sites.

This version of WordPress MU is based on WordPress 2.6. There’s a long and interesting WordPress.org post on the new features in 2.6 so get over there to read up on post revisions, “Press This!”, Gears, Theme Previews, and the long list of developers who helped make this release a reality.

Some of the new features in this release of MU:

  1. Version number is 2.6 rather than 1.6 because it just makes sense to synchronise the major version numbers.
  2. Signup page now has a nonce which should help in the fight against spammers, for a short while anyway.
  3. Redirecting to the signup page for 404s and for unknown blogs is not enabled by default. Check out wp-config-sample.php for instructions.
  4. “allowed_themes” filter, much like the plugins filtered added previously.
  5. New functions: get_id_from_blogname(), is_main_blog().
  6. get_blog_details() can now take a blogname as well as a blog_id.
  7. Custom first posts didn’t always work. Now they do.
  8. Blognames in the “Add blog” form in wpmu-blogs.php are now sanitized.
  9. Added “pre_site_option_*” and “site_option_*” filters like the similar option filters.
  10. Meta fields will be passed on signup again.
  11. Added an “admin_header_navigation” filter so the top right navigation in the backend can be customised.
  12. The signup page uses “blogname” instead of “blog_id” to avoid confusion with the global variable of the same name. Plugins will break if not updated!

That last change is quite a major one. If you have any plugins that interact with the signup form they will need to be updated!

This release also addresses some security issues spotted by Alexander Concha and Juan Galiana. Thank you both for alerting us and for your patience while this release was prepared!

When will my broadband be upgraded?

Here in Ireland one company owns (almost?) all the local phone lines, Eircom. Just about every other company who provides a DSL service has to rent from them (anyone remember Smart?). The result of which is very similar pricing from every single broadband provider.

There is a silver lining of sorts. Eircom promised that they would upgrade all exchanges to support higher speeds by the end of July. We’re getting perilously close to that deadline and still no sign of upgrades for many. I received an email from BT yesterday giving this upgrade time page where I typed my phone number in and found out,

Your line will be upgraded on the weekend of the 26th July

Good news for me then. My 2Mb line becomes a 3Mb one. The upload rate remains at 256Kb unfortunately.

I twittered that url yesterday and others found out they’ll have to wait until August 9th. The page above works even if you’re not using BT’s service. When will your broadband be upgraded?