After a frustrating experience a few weeks ago discovering that someone had already registered my preferred username on Twitter, I finally signed up as JudgeOfCheese. And now I’ve just installed Alex King’s very neat Twitter Tools plugin for WordPress. I just have to figure out why the sidebar widget is missing the title, but that will wait until after dinner. mmmm… dinner
Archive for the WordPress Category
Aaron gave me a great suggestion for the WordPress MU update script: pull the latest version directly from the download page. So I’ve added that as an alternative method. If no specific version is passed in, the script will pull down the latest, determine what version it is and check to see if it already exists before continuing with the installation (upgrade-wordpress-mu.sh).
I haven’t actually had the chance to fully run it through its paces yet, so we’ll see for sure when the next update is released.
I’m happy to report that I just had the chance to test my WordPress MU upgrade script, and everything went off without a hitch! One simple command and all of my blogs got the update to 2.6.5. Glory be!
Okay, I’ll admit it. I’m really bad about upgrading my WordPress MU install in a timely manner. And that’s a pretty big disservice, especially for others (like my brother) hosted on the same install. So tonight, I put together a new directory structure for my WPMU installation, and with my brother’s help, wrote a wonderful little shell script to handle future upgrades for me.
Originally, I had WordPress MU file sitting in a
WPMU directory. With each upgrade, I’d have to make sure I didn’t disrupt the existing important files (like those in wp-content).
My new structure involves a version-specific directory within the
WPMU folder (eg
wordpress-mu-2.6.3). Alongside that is a directory named
const, to hold all of the files that remain constant between upgrades. Finally, there’s a symlink named
current that points to the current version-specific directory. I then create additional symlinks within this directory back to files and directories in
I’ve attached a sanitized copy of the final script (upgrade-wordpress-mu.sh) for your pleasure. It first checks to make that it’s running as root – my WPMU installation is outside the scope of my home directory, so that’s a necessity. There’s a few more checks to make sure the user has specified a version, and that there’s an archive of the WordPress MU files for that version. Then it goes to town, extracting the files, and symlinking the relevant items in
const. I won’t go into the nitty-gritty, since it’s all pretty self-evident from the script.
If you do choose to use this yourself, just be sure to change the path on line 27 (unless that really is where you want your files).
I’ve finally managed to get enough done with my WordPress customizations that I’m ready to make this site live to the big bad world, so here it is. I still have a few things I plan on tweaking, so don’t be surprised if you see some changes over the next few weeks. And maybe (just maybe), I’ll actually write some posts, too.
This site/blog/whatever isn’t even live yet, and I’m already very happy with WordPress. I’ve played with a few blogging systems in the past, and was never happy with any of them. Living in a Windows world, and running my own server, I never seemed to find any options I was really happy with. After buying the Xserve with Aaron, I started playing around with WordPress.
Despite my complete inexperience with PHP, and my relative inexperience with Apache, it’s been a wonderful experience. I haven’t run into a single complication or any instance where I can’t easily accomplish what I’d like. A far cry from what I’m used to (*cough* Community Server *cough*), to be sure. Right now, I’m in the process of putting together the theme that will soon grace these pages, and it couldn’t be easier. In fact, with some excellent guidance, it’s been an absolute breeze.