WordPress.. earn a buck releasing free software

So, Matt accepted articles for publication on the WordPress website that are not WP related. They are (were? The Google searches linked to don’t return anything) there for generating revenue and nothing more.
There are plenty of ways to make money doing free software, but they usually mean doing work for someone else and sometimes that code doesn’t get released. Or you rely on the goodwill of others to donate and that doesn’t happen often!

Matt’s done a huge amount of work for WordPress and I wish him well finding another source of revenue to cover his hosting costs, compensation for his time and other costs.

(via Garret)

Tracking external links with AJAX

Is there no end to this guy’s talent? Kae came up with a way of tracking hits to external links that only requires you include some javascript, and that adds an onclick() event to each link on your page! I’ll be pumping that into WPMU as soon as I can!
This webmaster world thread discusses the effect lots of 302 redirects is having on Google. I’m trying to figure out if my 302 redirects is having the same affect. 🙁

WPMU Snapshot

New WPMU snapshot:

Changes:
I removed several options not required in a multi-blog environment and introduced a bug that blanked the siteurl when any of the general options was changed. Fixed.
Lots of changes to WP Core too.
The WPMU admin manager should be considered very experimental – don’t run on a production server or very bad things will happen!
More: Change log

New WPMU Snapshot

An all-new, all-singing snapshot is now available. The mu website is going through some updating so you can download the files from here instead:

Hold off on downloading for a while. The SVN repository is down right now and the archives above are corrupted. I’ll post fixed files later. They’re fine now.

Changes:
I rolled in a big patch by Dasher, including Derek Ditch’s wpmu manager. It also included BAStats so you have yet another way of telling where people come to your site from!
Lots of other fixes and additional features, check the change log for more.
Post questions to the support forum if you have problems.

WPMU Asides

After quite a bit of debugging and hacking I have “asides” working in WPMU now. Hopefully I can publish a new release early next week , so send your patches to me at donncha @ linux.ie if you want them included.
I also noticed a spelling typo – edit your post.html and change {the_category seperator=", "} to {the_category separator=", "} – otherwise your category separator will be ignored!

Update – I created a Smarty plugin that checks the category array for “Asides”. This means you can have an asides-format post that’s also in your humour category. Wait for the new release of WPMU for the plugin!

If you want to update your install so you can post asides do the following:

Create a category called “Asides”.

Edit wp-inst/index.php and look for the following line:
$content .= $wpsmarty->fetch( 'post.html' );
Insert two lines before that one:

$category = get_the_category();
$wpsmarty->assign( “category”, $category[0]->cat_name );

Edit your post.html so it looks like this:

{the_date d=” before='<p class=”date”>’ after='</p>’}
{if $category != ‘Asides’}
{is_aside}
{if $is_aside == false}
…..
…..
most of the body of the comments template goes here.
…..
…..
{else}
<div class=”storyContent”><p>{get_the_content} {comments_popup_link zero='(0)’ one='(1)’ more='(%)’}</p></div>
{/if}

{link_pages before='<br />Pages: ‘ after='<br />’ next_or_number=’number’}

The code I added is in italics. Note that asides won’t be filtered by the automatic filters. Is there a way of getting the post content without “echo”ing it out? I need to replace the last </p> of the content because it pushes the comments link down way too much! That means returning it and feeding it into a Smarty modifier. (ie. {the_content|regex_replace:”/^<\/p>$/”:””} doesn’t work because nothing is returned.)
(If WordPress mangles the code above, take a look at my post.html for a clearer explanation.
(If you’re wondering, I’m using the “KDE About” star as an icon for aside entries.)