Categories
WordPress

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.

Categories
WordPress

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!

Categories
WordPress

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!

Categories
WordPress

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! ๐Ÿ™‚

Categories
WordPress

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