Importing drupal forum posts

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ceribik's picture

Hello,

I recently imported all content from a phpnuke site to a drupal installation and now I want to integrate phpbb into my drupal site. Is this possible easily and if so, is it done automatically by the module? (I could not find it in documentation).

Versions:
drupal - the lastest 5.x
phpbb3

Thanks :)

Comments

Mostly yes, but you'll have

arkepp's picture

Mostly yes, but you'll have to move the search engines out of the way, see 4th paragraph of http://drupal.i1media.no/drupal+phpbb/foreword

I think that is a pretty easy SQL thing, and then bump the user id sequence in Drupal (see installation instructions), but I haven't had time to verify this. Please post back if you do.

So for the SQL stuff, all

ceribik's picture

So for the SQL stuff, all that would have to be done is:

-> Copy the categories/forums
-> Move the posts from drupal to phpBB
-> Sort out what user owns which posts

The only problem is that I don't know much SQL as I'm a c++ programmer. Maybe someone has done this before and can share their code?

Ah... I misunderstood you, I

arkepp's picture

Ah... I misunderstood you, I didnt realize you had the forum in Drupal, I thought you were starting with forums for the first time.

Did you use a phpBB clone / adaptor with phpNuke? If so, your best bet is to convert that to standard phpBB 2.x, upgrade that to phpBB 3.x, and then integrate with Drupal. If you already have the users in Drupal, then the last thing is free. This module actually started because I had two sites, one phpNuke and one postNuke, that both used phpBB adaptions.

Off the top of my head, I cannot remember anyone converting Drupal forums to phpBB, they're pretty different approaches.

Ok, I'll try to convert it

ceribik's picture

Ok, I'll try to convert it standard and then upgrade to phpbb3, but i've still got a few questions:

1) What do you mean by "then the last thing is free"?
2) What about the superusers?
3) Wouldn't i still have to sort out the user id problem?

1) If you have a copy of the

arkepp's picture

1) If you have a copy of the users in Drupal already, then you do not have to transfer them to Drupal again. It's actually a bit of a pain to go from phpBB 3.x, since it uses a weird password hashing algorithm.

2) I would recommend dropping all privileges except the main two superusers and then hand them out again. You'll obviously have to own both.

3) No, when you upgrade from phpbBB 2.x to 3.x the update mechanism moves the search engine users to the end. Just update the Drupal user sequence to something higher than the last user id in phpBB's user table before you let any new users register.

By userid problem, I meant

ceribik's picture

By userid problem, I meant that the user ids from the phpnuke forums (phpbb) would be different from the ones in drupal/phpbb forum, meaning the posts will be assigned to the wrong users. Don't I still have to sort that out?

Depends, have a look at the

arkepp's picture

Depends, have a look at the users in Drupals table, if the conversion script works like I assume it does, the username, user id pairs will match what you had in phpnuke.

The upgrade script from phpBB 2.x to 3.x should also be consistent on this, so hopefully there is nothing to sort out.

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week