Home Blog Documentation Download Features Forum Users Contact
Forum » Code

phpBB 2.x Importer

Tags: Import, phpBB

1

2009-02-24

Adam

Here goes my first CMSity extension (attached). It adds "import-phpbb" action to "forum" nodes.

This extension is based on Jaime GÓMEZ OBREGÓN phpBB to BBPress script.

(1) Add following lines to your config.php and set the accordingly to your phpBB configuration:

define('DB_PHPBB_HOSTNAME',    'localhost');
define('DB_PHPBB_USERNAME',    'root');
define('DB_PHPBB_PASSWORD',    '');
define('DB_PHPBB_DATABASE',    'phpbb');
define('DB_PHPBB_TABLEPREFIX', 'phpbb_');
define('PHPBB_PATH_PREFIX',    'phpbb/');
define('PHPBB_AVATAR_SALT',    '12345678901234567890123456789901');

(2) Log in to CMSity administrator and create a "forum" node.

(3) Launch http://www.mysite.com/forum?import-phpbb to import phpBB database.

It will import all phpBB users, forums and posts into specified node.

You may re-run import, so it will re-import all forum data again.

Remember to backup your databases prior running the import.

Files

  1. forum.import-phpbb.php

Last edited 2009-02-24 20:38:29

Register yourself or Login to add reply.