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.
I'm trying to migrate a forum from PHPBB 3.1.7-pl1 to D7. The initial post in the PHPBB thread becomes a Drupal comment as the first reply, while the first PHPBB reply becomes the initial post in the Drupal thread (a forum node with an empty title). See the attached image.
I can write code to fix this but it wouldn't be as clean as just doing the import again. Is this due to a recent change in PHPBB, or could this be a settings problem?
Comment | File | Size | Author |
---|---|---|---|
switched.png | 120.36 KB | TolstoyDotCom |
Comments
Comment #2
TolstoyDotCom CreditAttribution: TolstoyDotCom commentedI created a small test forum using the same PHPBB version and that imported successfully.
I tried the full import again and I got the same results. Forum nodes that didn't have comments were OK: the problem was only with forum nodes that had one or more comments.
So, I wrote a little bit of code to swap the title/subject, uid, etc. of the forum node and the first comment. That seems to have worked OK.