I finally did it! I killed off my blog almost a year ago because it was behind on security patches and I hated dealing with annoying FreeBSD php conflicts. Today I finally solved those problems by just getting rid of the blogging platform I was using. Unfortunately it wasn’t that easy.
First I setup this blog on wordpress.com. Then I installed wordpress on my FreeBSD machine at home (portinstall wordpress). Next I realized mysql was a mess and wasn’t even running, so pkg_delete’d the previous versions, pkg_add -r’ed new ones, and started it up without a problem.
Next I downloaded plog-importer from http://forums.lifetype.net/viewtopic.php?t=4337 and uploaded it to the machine that was now running wordpress locally along with the old lifetype installation (that I re-enabled in httpd.conf). It turns out plog-importer was written for WordPress 2, and the plugin structure has since changed. So I updated the bottom of the php code with;
function plog_importer_init() {
load_plugin_textdomain( 'plog-importer', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
}
add_action( 'init', 'plog_importer_init' );
Which caused the plugin to show up in the import section of wordpress properly. After a few trials and errors, realizing that I shouldn’t use the same username in WordPress as I had in LifeType so it doesn’t overwrite user permissions on import, and a quick change of a column which apparently changed when pLog became LifeType;
mysql> alter table plog_articles change global_category_id category_id integer;
I went through the import scripts and it worked great, including dates and comments. Pretty nice.
I am going to go through now and make sure Lori’s posts from her blogs made it over, talk to her about what she wants done with them, and then work on formatting this blog and removing the old one.
Let me know what you think!

This one works in WordPress 3.0 if you change header to this:
<?php
/*
Plugin Name: Lifetype to WP
Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
Description: A brief description of the Plugin.
Version: The Plugin's Version Number, e.g.: 1.0
Author: Name Of The Plugin Author
Author URI: http://URI_Of_The_Plugin_Author
*/
and this:
if ( !defined(‘WP_LOAD_IMPORTERS’) )
return;
// Load Importer API
require_once ABSPATH . ‘wp-admin/includes/import.php’;
if ( !class_exists( ‘WP_Importer’ ) ) {
$class_wp_importer = ABSPATH . ‘wp-admin/includes/class-wp-importer.php’;
if ( file_exists( $class_wp_importer ) )
require_once $class_wp_importer;
}
and at the end insert this:
register_importer(‘plog’, __(‘PLOG’, ‘plog-importer’), __(‘Import posts from a Lifetype blog.’, ‘plog-importer’), array ($plog_import, ‘dispatch’));
function plog_importer_init() {
load_plugin_textdomain( ‘plog-importer’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages’ );
}
add_action( ‘init’, ‘plog_importer_init’ );
Thanks GZ, good to see more folks looking at this problem. I couldn’t find much online describing how to get through it, so hopefully others find their way here as well.
Hum even with GZ’s changes, i couldn’t import my blogs..
I found an updated version of plog_importer here: http://blocs.gracianet.cat/blog/2009/01/lifetype-a-wordpress-mu/
But still wpmu_create_blog adds the new blogs in wp_blogs but doesn’t create new tables for each blogs..