Belatedly realized the current Drupal 7 branch only supports phpBB version 3, but I'm dealing with an import from phpBB 2. So, I will be adding support for 2...

Comments

mikeryan’s picture

I've committed changes to at least make the migrations construct properly (i.e., drush ms works):

On registration, we check for the presence of the phpbb_attachments table (new in V3) and set the phpbb_version argument to 2 or 3 appropriately.

For the forum migration, we ignore the forum_type column for V2 (where it's not present).

For the user migration, we ignore the user_type column for V2.

For the topic/post migrations, we ignore the post_approved column for V2.

More to come, I'm sure, when I actually try running the migrations.

mikeryan’s picture

I've made some fixes to the avatar migration to support phpBB 2.

Looking at the forums, the hierarchy is handled entirely differently - top-level (mapping to Drupal forum containers) is in a separate table, phpbb_categories, so that will need to be a separate migration preceding the forums themselves.

mikeryan’s picture

Status: Active » Fixed

OK, the phpBB2 support is looking pretty good, closing this out - anything specific that arises should be opened up as a fresh issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.