Virtual Multiblog helper app

Hackadelic has released a (beta) WordPress plugin designed to automate using Virtual Multiblog. This is still in development, but the initial test I did looks promising. Basically the plugin creates an interface in the WP admin for creating new virtual installs.

If you’re interested in playing with unfinished software, go check out the Hackadelic Multiblog Kit. Looking forward to v1.0!

A Brief History of JavaScript

1995 – Brendan Eich reads up on every mistake ever made in designing a programming language, invents a few more, and creates LiveScript. Later, in an effort to cash in on the popularity of Java the language is renamed JavaScript. Later still, in an effort to cash in on the popularity of skin diseases the language is renamed ECMAScript.

One Div Zero: A Brief, Incomplete, and Mostly Wrong History of Programming Languages.

Strider Core — coming soon

It’s been pretty quiet around here lately, mainly because I’ve been working on something but having trouble hammering the last few problems out of it.

As I work on the various plugins I make for WordPress, I find that there are several common bits of code appearing in all of them, and as I improved it in one place I would then have to go through and copy/paste (with modifications here and there) to the other plugins. This is a pain to keep track of, so I figured it would be a good idea to create a set of “core” files that I could simply drop in and have work. I found this had various implications, such as what happens when two plugins are using the same core set — duplicate function names and conflicts suddenly started popping up. How about when two plugins have differing versions of the core files?

So Strider Core was born. Among other things, I’ve created a system wherein different plugins can all run on Strider Core, and if they each have different versions of the core files, it will figure out which one has the highest version and use that for all of those plugins. Thus if Plugin A includes Strider Core 1.0, and Plugin B has Strider Core 1.1, the 1.1 core will be loaded for both plugins. Thus, activating one plugin can actually improve the functionality of other plugins.

Most of what I’m including in the first go are little bits of polish for the Admin — such as settings links from the Manage Plugins page, Menu icons, and the like. One significant addition, however, (and the thing I can’t quite get working right…) is a third party version checking system. Thus, anyone who makes plugins that are not hosted on WP-Extend will be able to have their plugin check for new versions simply by integrating Strider Core and adding a single line to the code.

That’s the plan anyway.

I’m going to try and get things going this weekend (with some luck), but even if I don’t get the version checking going, I will probably do a “beta” release so people can see what’s happening. I know some people have expressed interest in this system, so perhaps better to get it out sooner and get feedback before the “prime time” release.

If you’re interested, keep a lookout for an update to my Log Deprecated Calls plugin, as that is going to be the first plugin to use the new system.

“Computers in the future…”

I found a rather interesting (and amusing) quote in my recent reading:

In March 1949,[...] an article in Popular Mechanics, describing a state-of-the-art computer called the Eniac, speculated on what lay beyond: “Where a calculator like the Eniac today is equipped with 18,000 vacuum tubes and weighs three tons,” the writer predicted, “computers in the future may have only 1,000 vacuum tubes and weigh only half a ton.” To commemorate the fiftieth anniversary of the half-million dollar machine, the supercomputer of its day, a group of electrical engineering students at the university of Pennsylvania duplicated its circuitry on a silicon chip measuring 7.44 by 5.29 millimeters.

A Shortcut Through Time
George Johnson
p.103-04

Comment Quiz plugin v1.1.1

A new version of the Comment Quiz plugin is up. 1.1.1 has some important bug fixes, so if you’re using any earlier version, I highly recommend picking this up.

I finally figured out SVN, so it’s on the official WordPress repository. In layman’s terms that means that automatic update will do the job for you (look at the Plugins page in Admin).

Here’s the link. Check it out for details. Mainly bugfixes since 1.1, but a few other changes in the mix as well….

Virtual Multiblog 2.5

I’ve just released Virtual Multiblog for WordPress version 2.5. This has some significant bug fixes and other improvements. If you’ve had trouble getting it to work in the past, I’ve reworked the code that determines which blog is active, and I think this will help a lot of people.

A major improvement in this version is the way it handles defaults. Now you can set up defaults in the autoconfig file, and put just the differences into blog-specific config files. For example, if all your blogs use the same database, you can set the database info one time in mb-autoconfig.php, and then make blog-specific config files that only contain the table-prefix and nothing else.

If you are upgrading, from a previous version, please note the following instructions:

Upgrading

1) Upload the new multiblog folder to your wp-content directory. Copy both wp-config.php and wp-config-vmb.php to the root WordPress directory.

2) The system no longer uses define() in the config files. Instead we are setting constants via an array called $vmb_const[]. For backwards compatibility, defines in blog-specific config files will still work for now (though it is deprecated). Any constants set in the autoconfig must use $vmb_const[].

3) Note that both mb-autoconfig.php and mb-config-{blog}.php will now be loaded (previously it was either/or). Anything set in autoconfig will be overridden by a matching pref in a blog-specific file.

That’s about it. Check out the readme and the FAQ if you’re having issues. Here’s the page again: Virtual Multiblog for WordPress.

Virtual Multibug

I received a comment recently tipping me off to a bug in my Virtual Multiblog system for WordPress. In certain cases, the system will show one particular blog no matter which address you go to.

If you’re having this problem and you’re using the $vusers[] list, try changing the order of the $vusers[] list. This alone may fix things.

I’ll try to get a “real” fix out soon (probably this weekend). A new version should be coming out anyway within days. :)

JavaScript Pull-Quotes 2.2 for WordPress

I just uploaded the new version 2.2 of my JavaScript Pull-Quotes plugin for WordPress.

Improvements:

  • German translation (Danke Mattias… or is it “Dank“?)
  • Updated the .po files for people creating or updating translations
  • Improvements to how the system handles changes to the contents of the “styles” folder.
  • A menu icon for those using Ozh’s Admin Drop Down Menu plugin

…plus the usual regimen of minor code improvements here and there.