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.

WP Subdomains not working with Wordpress 2.8

Thanks to everyone who informed me about the plugin not working with Wordpress 2.8.

Clearly this is quite serious. Luckily I’ve just finished my teaching job and I will look at this problem this weekend and try my best to have it fixed for Monday.

Also now I’ve finished working for the next 4 months updates to this plugin should continue again.

Thanks for hanging in there.

Plugin Status: Busy with work :(

All quiet on the western front recently. I started a new freelance web development job in April and have been quite busy with that and my teaching job, so development on Wordpress Subdomains has ground to a halt.

I hope to get back on it sometime this week. I’ve decided that 0.6.2 will be mainly fixing bugs and other minor issues. New features will come in 0.7.0 which will probably be the next release after 0.6.2.

One thing has come to my attention is that the use of the wordpress get_posts function was a big mistake. Using less custom SQL and more wordpress API calls seemed like the right thing to do. Unfortunately they didn’t have a function that gave me exactly what I wanted and get_posts is basically overkill. My use of it has caused memory problems and increased SQL queries quite a bit. I suspect a lot of the extra sql calls are actually caused by other plugins that make use of the filters whenever posts are fetched. They think I’m using the get_posts to fetch posts to generate a page, not that I’m fetching posts to make use of their data. I’ve already run into this problem with one plugin which I pointed out to the developer and now has a fix in it’s development trunk. I can’t investigate every plugin, so I’m just going to have to go back to using custom SQL and drop my use of get_posts. If you’re experiencing problems due to this then search for WPS_CUSTOM_GET_POSTIDS in the readme file.

Another problem is that attachments to posts end up being linked back to the main domain even if clicked on in a subdomain. I’ve had a request that these be kept on the subdomain you’re on. I think I’ll make this an option as it may lead to duplicate content (which may cause SEO issues).

I’ll try and get these two pieces fixed in the next week and see if there are any other things that need fixing out there. Please let me know if you can think of anything.

Wordpress Subdomains 0.6.1 Released

It was supposed to be out Friday, but thanks to internet problems it’s two days late. However, the internet issues gave me a chance to fix the IE bug.

Here’s the low down on what’s changed:

Added Features

  • Add options
    • Keeping Pages on the subdomain, changed to an option for SEO reasons
    • Removing archive status from Subdomain root pages
  • Added wps_on_main_index custom field to make tied pages still appear on your main blog
    • Useful if you have the subdomain indexes noindexed for SEO purposes

Bugs Fixed

  • Now creates links for all subdomain pages not just five
  • Fixed a daft problem that only put the first layer of sub pages of a subdomain page on that subdomain. Oops
  • Fixed a problem regarding comments on 1st tier posts using /%category%/%postname% permalink
  • Fixed a problem with filtering posts by category in the admin section
  • Included an option to use a custom SQL query if you run into memory issues from large numbers of posts
  • Fixed bug with IE and editing Category options

Download: WP Subdomains 0.6.1

Best to read the NOTES section of the Readme. Especially if you had memory issues with past versions.

I’ll try and improve the Readme in the next version.

Wordpress Subdomains 0.6.1 Release on Friday

I know I’ve said this before, but this time I promise.

After two release candidates I think it’s finally a mostly bug free release.

I’ve had almost 70 downloads of the RC2 and other than the two known bugs (ie7 and memory issues with many posts) I’ve not had others reported.

I will provide a user switch to solve the memory issue for those suffering from it. This will use a custom SQL query to fetch the required data in a much less memory intensive way than the built in wordpress function. I’m still hoping for a solution in the form of a wordpress function as this would be a much better way of doing things.  WIth the switch the user will be able to just tell the plugin to use the custom SQL rather than wordpress plugin if they see php memory problems.

Once I post the release I’ll put up a list of possible features for the 0.6.2 (0.7.0?) release and see what other ideas people have. One main feature at the moment is for those who want their main blog to be on a subdomain itself. This should be fairly straight forward to do. Another is adding the proper form to edit the page options so you’re not dealing with custom fields any more. Also fixing the ie7 problems with the category configuration.

I’ll keep you posted. Once again sorry for the very long delay.

Wordpress Subdomains 0.6.1 Release Candidate 2

Just to let you know about the second release candidate for Wordpress Subdomains 0.6.1.

Two bugs got fixed:

  • Problems with comments pages on 1st tier posts using /%category%/%postname% permalink – thanks to Paul Nus for spotting
  • Problem with filtering post by category in the admin section – thanks to Zaobaba for spotting

Here is the new Release Candidate for people to try:

WP Subdomains 0.6.1 RC2

Known bugs:

  • Subdomains options in Edit Category don’t show with IE7, maybe IE6 too. Working on a solution.
  • Categories with hundreds of large posts may require you to increase the php memory allocation. Working on a solution [bug #346626]

I recommend anyone using 0.6.0 to try this version. It’s much better.

If you find a bug then please, if possible, report it on the project’s bug tracker. It’s getting harder to keep track of bug reports in the comments section as more people start to use it.

Updated 23/03/09: added memory error bug

WP Subdomains 0.6.1 test version

Once again, apologies for the terrible wait for a bug fixed version.

I wanted to try and get this one tested by more than just myself as 0.6.0 was, imo, a complete let down with the number of bugs. Unfortunately my testers are missing in action (hopefully not as a result of the plugin).

In the last few days I’ve had a few people step forward to act as testers, and I think I’m now progressing towards a final 0.6.1 release.

I have decided to upload a copy of this test version, dubbed 0.6.1-rc1.

You can get it here .

To the guys currently testing: there have been some very minor tweaks, so if you could download this one that would be great.

One thing to note. It seems the Subdomains options for the Categories don’t show up for IE7. Can anyone else confirm this?

Back to Subdomains very soon

I got back from Holiday on friday and spent the weekend preparing for work which started again today. Tomorrow will still be hectic, but it frees up towards the end of the week. I promise to get back to everyone who’s posted questions by then.

Also 0.6.1 is in testing with some beta testers and I’m waiting to hear back on results. I will release when it’s ready.

←Older