Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: phpbb3 -> bbpress converter

Hi there. can this be done without installing phpbb3 as I’m also moving the forum to another location.

Steps I made:

1. Export phpbb3 SQL from the old location

2. Import phpbb3 SQL to the new location.

3. Install bbpress with the same db info where I imported the phpbb3 SQL.

4. Called the script from root folder of bbpress, but I get 500 Internal Server Error.

I can see that there are some hooks to phpbb3 root folder.

I don’t know what is being called there, but maybe I could define DB settings manually somehow?

define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

So can this be done without phpbb3 installation?

Skip to toolbar