secondtruth / flarum-phpbb-migrate
Allows migrating phpbb to flarum
Fund package maintenance!
Liberapay
Open Collective
Patreon
Ko Fi
paypal.me/secondtruth
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 3
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.13
- flarum/lock: ^0.1.0-beta.13
- flarum/subscriptions: ^0.1.0-beta.13
- flarum/suspend: ^0.1.0-beta.13
- fof/follow-tags: ^0.3.4
- fof/user-bio: ^0.1.3
This package is auto-updated.
Last update: 2024-10-18 00:58:35 UTC
README
This extension allows migrating a phpbb forum to flarum.
Please note:
- duplicate email addresses get subaddressing added with the user id:
test@local.test
becomestest+34@local.test
- usernames are normalised to be only strings and numbers, the 3 minimum limit has bee reduced to 1
- this extension might need customisation for your specific phpbb forum, file an issue with questions please
Installation
Use Bazaar or install using composer:
$ composer require bokt/flarum-phpbb-migrate
After that enable the extension in your admin area.
Based on a migration from bokt.nl using PhpBB 3.x.
Configuration
Inside your config.php
create a new key phpbb
with the database information for the PhpBB forum
you want to migrate, like so:
return [ 'url' => '..', // .. other stuff 'phpbb' => [ 'driver' => 'mysql', 'host' => 'localhost', 'database' => 'phpbb', 'username' => 'root', 'password' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'port' => '3306', 'strict' => false, ] ];
Use
Run the command.
php flarum phpbb:migrate
You should be able to rerun this command.