Forum Replies Created
-
In reply to: Error while attempting to migrate from phpbb
you can use this code :
*/
class phpBB extends BBP_Converter_Base {/**
* Main Constructor
*
*/
public function __construct() {
parent::__construct();
}/**
* Sets up the field mappings
*/
public function setup_globals() {// Setup smiley URL & path
$this->bbcode_parser_properties = array(
‘smiley_url’ => false,
‘smiley_dir’ => false
);/** Forum Section *****************************************************/
// Old forum id (Stored in postmeta)
$this->field_map[] = array(
‘from_tablename’ => ‘forums’,
‘from_fieldname’ => ‘forum_id’,
‘to_type’ => ‘forum’,
‘to_fieldname’ => ‘_bbp_old_forum_id’
);// Forum parent id (If no parent, then 0, Stored in postmeta)
$this->field_map[] = array(
‘from_tablename’ => ‘forums’,
‘from_fieldname’ => ‘parent_id’,
‘to_type’ => ‘forum’,
‘to_fieldname’ => ‘_bbp_old_forum_parent_id’
);// Forum topic count (Stored in postmeta)
$this->field_map[] = array(
‘from_tablename’ => ‘forums’,
‘from_fieldname’ => ‘forum_topics’,
‘to_type’ => ‘forum’,
‘to_fieldname’ => ‘_bbp_topic_count’
);In reply to: Importing from phpBB using 2.6.0I got around this by creating a new admin/founder account and downgrading all of the staff to standard accounts so that they could be imported. how can i do this ?