Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mikeryanI'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.
Comment #2
mikeryanI'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.
Comment #3
mikeryanOK, the phpBB2 support is looking pretty good, closing this out - anything specific that arises should be opened up as a fresh issue.