secondtruth / flarum-phpbb-migrate
允许将 phpbb 迁移到 flarum
dev-master
2021-04-17 17:21 UTC
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-09-18 00:48:17 UTC
README
此扩展允许将 phpbb 论坛迁移到 flarum。
请注意
- 重复的电子邮件地址会添加子地址,使用用户 ID:
test@local.test
变为test+34@local.test
- 用户名将被规范化为仅包含字符串和数字,最小限制从 3 个减少到 1 个
- 此扩展可能需要根据您的特定 phpbb 论坛进行自定义,如有疑问,请提交问题
安装
使用 Bazaar 或通过 composer 安装
$ composer require bokt/flarum-phpbb-migrate
之后,在您的管理区域启用此扩展。
基于 bokt.nl 的迁移,使用 PhpBB 3.x。
配置
在您的 config.php
中创建一个新的键 phpbb
,包含您要迁移的 PhpBB 论坛的数据库信息,如下所示
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, ] ];
使用
运行命令。
php flarum phpbb:migrate
您应该能够重新运行此命令。