phpBB2Drupal
This script will import your phpBB data into Drupal. It currently targets imports from phpBB 2.x. and there is experimental support for imports from phpbb3 into Drupal 6.
Unlike your typical SQL scripts, this module is written in PHP and uses Drupal's APIs extensively to import the data. It's been tested with a fairly large phpBB sites (500,000+ posts/users/topics/attachments) It can import 500,000+ records in about 40 minutes, but it doesn't automatically reinitiate the script when it times out.
phpBB 3 Support
PHPBB 3 support is available through HEAD and the current 2.0-Beta1 releases. User import allows the keeping of existing phpbb3 passwords via the phpass module, but the module has a bug where setting the hash method back to md5 (the Drupal default) can cause errors: #290124: errors when defaulting to md5 authentication method.. I have a fixed version of this module available from my site.
- The module has been simplified, many options removed. phpbb2 support was dropped completely. - the 1.x series will focus on phpbb2, and anything later (2.x etc etc) will be exclusive to phpBB 3 Import.
- Poll import has been removed. Polls are now imported as forum topics. If poll data import is required, it should be put into a new module (which may be bundled here), and import should not be to the poll module, but to advanced_poll - there is too much difference in concepts between a poll.module poll and a phpbb3 poll.
- A new dependency on the phpass module to try and keep user passwords working after import. This currently does not currently work and all users will need to request new passwords.
These changes need to be tested, and where possible, documented.
Bundled Modules:
phpBB2Drupal - It will import the following entities:
- Users - Additional information such as location/aim/msnm that are not included in Drupal's default form are imported using the profile module.
- Categories & Forums - Categories become containers and Forums become, well, forums.
- Topics - Topics are Drupal's equivalent of a forum node. The script will also import your moved topics and mirror them in your drupal forum as well.
- Posts/Comments - Post are phpBB's central storing entity. Topics are technically posts as well. Posts are imported as comments.
- Attachments
- Polls - phpBB polls are imported as Drupal poll nodes. For phpBB 3, polls are imported as forum topics. The poll data is not converted or imported. If this functionality is needed, it should be placed into an additional (possibly bundled) module.
- Many small details - BBcode and other minor information are preserved.
phpBB2Privatemsg
- Will convert phpBB privatemsgs to Drupal Privatemsg - the contributed privatemsg module is required for this to work.
- Prior to the Drupal 6.x release, this was part of the main phpBB2Drupal Module and not as a separate module.
phpBB_Redirect
- Redirects from the old phpBB forums, topics and posts to the new Drupal forums, nodes and comments.
- Current versions only redirect to comments on the first page of a node.
Known issues
- phpass.module. The official version of this module has problems with the hash method has been set to MD5 and the users password is also in md5 format. Please see below for a "fixed" version of phpass.
- If a Drupal user name matches a phpBB user name, the phpBB user data will not be imported.
- If you choose not to import users who have never posted, and if such users have posted or received private messages, those private messages will not be imported either. I.e. private messages FROM or TO a user who was not imported are not imported either. This is a feature: it will not be fixed.
Non-Core requirements
- bbcode
- phpbb2privatemsg requires the privatemsg module
- phpbb3 import requires the phpass module. I have a slightly bug fixed, and including the extra files version available on my site.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.0-beta1 | 2008-Dec-13 | 24.7 KB | Download · Release notes | Supported for 6.x | |
| 6.x-1.4 | 2008-Dec-13 | 26.69 KB | Download · Release notes | Recommended for 6.x | |
