Archive for the Web Development Category

Version 0.6.7 NOT out

Somewhere something has gone wrong on my wordpress svn repository.

Firstly it seems to think that version 0.6.7 is the latest release which is certainly isn’t as it’s still development work in the trunk.

Secondly the tag for 0.6.6 seems to have not created correctly. I’m not sure what’s going on, but don’t upgrade to 0.6.7. I’ll try and recreate the tag. I just need to find an internet cafe here that will let me use my laptop.

Sorry for the screwup, I think it all hinges on the lack of the 0.6.6 tag so the wordpress download site is just serving up the latest code from the trunk.

Update: Seems I made the tag but never commited it. I Have done now. If you did download 0.6.7 then don’t worry too much, it should work fine and contain a number of improvements (it’s the version in use on this site). You can get 0.6.6 from the wordpress website if you want to be sure.

Tag filtering, not all there yet

Just to let you know that the tag filtering doesn’t yet affect the Tag Cloud widget, so you will see all tags when under a subdomain. In my dev I’ve so far got it to show only the relevant tags, now my next task is to get it to order them correctly by post count for that subdomain. That was looking near impossible last night, but on my Bus trip from Lovina to Ubud today I think I figured out a way to do it. We’ll see.

Subdomains 0.6.6 Released

Firstly a big bug fix. Anyone installing the plugin for the first time at version 0.6.5 would have found that it didn’t really work very well. The move to wordpress.org hosting changed the folder name the plugin sits in and kind of broke the install function that’s supposed create the required database table.

Thank you to Eric and Lisa for providing useful feedback that enabled me to track down the problem. No “thank you” to the guy who sent me a rather rude email and still expected me to I spend my free time supporting him.

The new features in this release are the Tag filtering on a subdomain and Main blog on subdomain features mentioned in the previous post. I’ve also been working on reducing the memory usage on large sites, though there is more of this to come.

If you already have the plugin installed you should be able to updated from inside wordpress. Otherwise you can find it here.

Updates soon (Bali Time)

A new version with the previously mentioned new features will be released this weekend.

I’m sorry for those who’ve left comments and contacted me that I’ve not had much chance to reply. I’ve been travelling through Indonesia the last few weeks and it’s hard to get good internet access sometimes. To top it off the battery in my laptop died so I can only use it when I’m near a power outlet.

We got to Bali yesterday night (after a fairly awful bus journey) and plan to stay for a few days, so I’ve decided this weekend I will release the latest changes and try and get back to the people who’ve asked for help.

Hang in there! :)

P.S if anyone knows a place to get a battery for a Thinkpad X61s in Bali please let me know :)

Testers wanted for new features

Right, I’ve got two new tasty features in the development version.

  • Have your main blog on a subdomain (e.g. http://blog.mydomain.com/)
  • Tag filters, go to a tag page on a subdomain and see only those posts that are on that subdomain.

You can download the development version here.

To use the subdomain blog feature you’ll need to enter your blog domain (e.g. mydomain.com) in the WP Subdomains Settings page.

In theory, though not tested, you should even be able to have your main blog on a completely different domain to your subdomain pages. However I’m not sure why you’d want to.

To use the Tag filters you can turn them on (or off) on the WP Subdomains Settings page.

There have also been some code improvements with this version.

If you find any issues with it please post comments on this post, send me a message through the contact page, or add a bug on the launchpad bug tracker.

Subdomain 0.6.5 Released

Just released 0.6.5, the jump in version number is nothing to get excited by, there are very minor code changes. Just some fixes so people using wordpress 2.7 don’t need to comment code out and also some speed increases.

The biggest change is the move to hosting on wordpress.org. This means to upgrade just pop into your wordpress plugin admin section and it should give you the option to upgrade from there.

If you’re new to the plugin or want to see the code before you upgrade then you can find it here.

I hope to be a lot more active on this now, and want to quickly say thanks to Steven Wichers who sent me some useful code that should lead to more speed improvements in the next version.

All Quiet on the Subdomains Front

Just to update you all.

This project is still alive but I’ve been quite out of reach recently as I’ve been traveling around Malaysia and putting my recreation before projects.

I’ve got a bunch of people to reply to and should do it by next week as towards the end of this week we get a bit of a rest for a few days and I’ll get a chance to get back to WP Subdomains.

Sorry for people waiting for specific features. I’m still planning on implementing as much as possible (including eventual support for WPMU), but right now I’m just too busy enjoying myself.

In the meantime, if anyone finds any bugs please either use the Contact form on this site or submit them to the Project’s Launchpad bug tracker.

Update: forgot to mention, one of my goals for the next version is to get it hosted on the wordpress site so updates can be done from the WordPress Admin panel.

WordPress Subdomains 0.6.2 Released

I’ve managed to work out all the issues with WordPress 2.8.

This version should also spell an end to sql query and memory issues people might have seen in previous versions as I’ve replaced the use of get_posts() with custom sql.

Nothing much more to say other than please let me know if you find any issues with it. Now I’m off to bed :)

Download: WP Subdomains 0.6.2

Continued WordPress 2.8 Issues

Everytime I fix one thing something else breaks.

Now for some reason rewrite rule filters aren’t being executed which means certain permalink settings wont work.

I’m hoping to get this sorted tonight, but it may be tomorrow as I was up very early to catch a bus from Singapore to Melaka this morning and then spent most of the afternoon wandering around in greater than 30 degree heat.

Anyway, fingers crossed I’ll run out of issues soon and be able to make a fully working release.

Problems with WordPress 2.8 and WP Subdomains

A quick update.

There was a fairly key change in WordPress 2.8 to when wordpress creates the default Taxonomies. It now does it at a time after when my plugin first needs them. It would be nice to just change my plugin to do it’s work after this. However, the part of the plugin that needs to change themes depending on the subdomain needs to run early because of the way wordpress has been written.

I have created a ticket on the wordpress bug tracker explaining my problem and asking if the way they first initiate the themes can be delayed at all (http://core.trac.wordpress.org/ticket/10160). I’m not sure what the outcome will be of this, I haven’t looked into it enough to know how vital it is that the themes are initiated at that precise point.

My backup option is that I’m going to have to come up with some custom SQL to get around the problem for now. I should be releasing this fixed version of the plugin tomorrow.

I will keep my fingers crossed that my feature request is accepted and then I can go back to using the nice wordpress API.

Check back in the next 24 hours for a WordPress 2.8 compatible version of the plugin.