Ask the developer

On January 20th I’ll be speaking at BarCamp South East on the subject of WordPress.com and WordPress MU. The talk is titled, “WordPress.com – running the biggest wpmu site in the world” which is vague enough that I could talk about anything but I’d like to know what you want to hear.

Public speaking isn’t my strong point, I prefer to be behind the keyboard, or looking through a camera lens but sometimes you have to push yourself to do unfamiliar things. Here’s my go at public speaking.

Talks will be in 45 minute slots and I would like to make mine more of a discussion forum like the WPMU talk we had at WordCamp way back in August last year. It went really well and everyone got something out of it.

Subjects I’m considering include:

  • Merging code from WP core which is horribly exciting, have you ever seen vimdiff in action?
  • Site stats – did you know we publish them?
  • Hardware – server porn. How do we handle the load generated by Slashdots, Diggs, and almost 600,000 blogs?
  • Hooks and plugins – new hooks in the signup process and wpmu admin backend.
  • Anyone interested in working from home and virtual company issues? Automattic has employees in at least four countries.

So, if you’ll be there I want to hear from you. If you won’t, I still want to hear from you because I’m sure Bernie or someone will record the talk and put it up online.

Jason's Custom CSS for WordPress MU

Many moons ago, Jason’s Customciser was released onto an unsuspecting WPMU forum. It’s a small plugin that allowed one to change the value of some of the CSS elements in a theme’s style sheet.

Before you get too excited, it’s in rather a raw format, can cause problems and needs work to be usable. The original plugin used some PHP5 conventions and functions which limited the audience who could use it. I’m posting this because people are wondering where the PHP4 port I wrote disappeared to. It’s still here, but please link to this post instead of linking to the zip file.

Download Jason’s Customciser-doc – this plugin needs a lot of work to be usable. I’m not joking!

If you’re wondering, this is not the same plugin that is used on WordPress.com to allow editing of CSS files. I just wonder why someone doesn’t write a simple templating system in Smarty or something that loads through the traditional WordPress theme files? It’s a no-brainer. It may not be the most efficient way of doing it, but it’s one simple way.

WordPress MU Feedback

Matt took time out to update the feedback form in WordPress MU and WordPress.com today! Here’s a taster of what it looks like:


See the “Feedback” link above there? Hit that to send feedback to the admins of your WPMU site.


This is the feedback form that appears. It’s already being used on WordPress.com to great affect, reporting bugs and suggestions from users to the admins.


Thank you for your feedback. The great thing about this is that you can send feedback about the current page without disturbing what you’ve been doing. It’s sent to the server via an AJAX request and happens without refreshing the page!

What's this WordPress.com thing anyway?

Lots of people are asking about WordPress.com, fortunately for them there has been lots said about it already, both on the wp-hackers list, and on the WPMU blog. Usually without much feedback which I have found strange, but there you go!
The question comes up on IRC frequently, and here’s what I said a short while ago:

<donncha> it’s just WordPress.. if you already run a WordPress blog then you know a lot about what WordPress.com will be 🙂

It’s that, but also more. WordPress.com is going to be a great site and a shining example of what can be built on GPL software!

WPMU Update – Improved Caching

Hopefully you should see this site run a little faster, I’ve moved most database accesses to inside the cache loop.
For most users caching and processing of requests should be faster as the whole WordPress posts-loop is now cached, however there is a trade off. I can’t check if there are multiple or single posts on a page so every page, including the front page, is cached with your comment credentials and user login (if any). In other words, if I visit the front page and then you do, the front page won’t be cached for you, but if two anonymous users visit the second visitor will get a completely cached copy.
If you see any problems please leave a comment on this post, or email me at donncha @ linux.ie!

A bit later…I’m watching the logs and I’m glad I made that change. We’re being hit by 240 280 attempts at referer spamming from sex 4singles.com. After the first hit, all they get served is static html! 🙂

Spam Spam Spam, Come on up and get your spam!

Here’s an updated list of recent spam to this list. It’s updated every few minutes so you can see a snippet of the spam that’s being deleted automatically here by Kitten’s Spaminator and diligent updating of keywords. Go wild!

I need to think about this a bit more. WPMU supports multiple blogs, run by multiple different people, all of whom can update their spam word lists. Wouldn’t it be useful to have a “I trust the following blogs” list so that spam words can be shared between blogs?

Slightly related, I started using PEAR Cache to cache frequently used database calls. Stuff like the “last posts” and other plugins now use that. It’s working very well and load on the server has gone down!

Oh, and when you’re updating to the latest CVS version of WordPress, a database table has changed. I ran the following to update my tables:
cd wp-inst/wp-content/blogs; for i in *; do echo "ALTER TABLE wp_"$i"_users CHANGE dateYMDhour user_registered DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL "| mysql wordpress_db; done