Skip to content

shriker/xenforo-to-flarum

 
 

Repository files navigation

XenForo to Flarum

Migration Script from XenForo 1.5 to Flarum v0.1.0-beta.9

This script performs a DB -> DB migration. It will copy all usernames and emails and registration date but will not copy passwords. This means after the migration, all users will need to reset their passwords.

Usage Instructions

  1. Create a fresh Flarum installation using the standard instructions.
  2. Edit xenforo_connection.php with your database variables. xenforo_connection.php must be uploaded for any of the scripts to work.
  3. Upload xenforo_* files to your root installation.
  4. The script will truncate the following Flarum tables:
SET FOREIGN_KEY_CHECKS = 0;
truncate discussions;
truncate discussion_tag;
truncate discussion_user;
truncate group_user;
truncate posts;
truncate tags;
truncate tag_user;
truncate users;
SET FOREIGN_KEY_CHECKS = 1;
  1. Run your chosen scripts.

Scripts

Name Description
xfscripts/ Where individual migration scripts live.
xenforo_connection.php Where to edit your database connection variables.
xenforo_to_flarum.php Primary migration script for your forum threads and posts.
xenforo_tags.php Migrate XenForo tags as secondary tags and associate them with imported discussions.
xenforo_fof_ignore_users.php Migrate XenForo ignored users into fof/ignore-user extension.

Related Flarum Extensions

Contributions Welcome

Thanks to all who have contributed

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%