Posted by nickweb on November 28, 2007 at 8:09pm
i'm working on a replacement site using Drupal and phpBB3. I already have a phpBB3 forum up and running, and have around 27500 posts and over 1300 users.
I've managed to install the phpBB module, and get users to be able to log in, and post, play around etc.
I know this isnt production ready yet, and i'm just playing around, but how would I go about inserting all my existing data into this bridge? db backup and then upload it?
Just a quick query here aswell - you have to create 2 users - Drupal su and phpBB su - would it not be possible/easier to have the Drupal su take on the role of the phpBB su? Or were there specific problems that prevented this from happening?
Thanks,
Nick
Comments
Just to clarify: The bridge
Just to clarify: The bridge stores no data by itself (except what is in the configuration files).
For the phpBB part things are pretty simple, you just need to move the data into the same database as Drupal, and that's that.
However, Drupal also needs to know about the users, else they won't be able to login etc. If you have your users in phpBB 2.x you can use SQL to create new Drupal users (I don't have a recipe for this, but I know someone else mentioned this in the group a few weeks ago).
If you only have the user accounts in phpBB 3.x RC6 or later you'll either have to extend the bridge to do authentication against phpBB, or have everyone reset their password the first time they log on. The reason is that phpBB stopped using MD5 in RC6, so there is no way to recreate password hashes for Drupal based on what is in the phpBB database.
Edit: Regarding the superusers: It is generally a bad idea to use these on a day-to-day basis, it's like running everything as root, and other than that I don't really see why you'd like them merged. I have found it convenient to have them separate to test how things work without the module interfering. If there are bugs, you can usually get around them with these two users.