A little update, my community is now on production !!!
I have used flarum-import-fluxbb by archlinux-de
Just carefully on several elements:
category and forum become tags... If you have category and forum with same id, the import crash... For my case, I have juste add 50 to all cat_id in Categories.php, Forums.php and Topics.php.
On FluxBB, I had some accounts with the same email... To find they:
SELECT id, email, username, num_posts FROM users GROUP BY email HAVING COUNT(email) > 1;
- forum_subscriptions crash for me, I have deleted all subscription:
DELETE FROM forum_subscriptions;
- For topic_subscription, I had some old subscriptions for deleted users... You must clean before convert:
DELETE FROM topic_subscriptions WHERE user_id not in (SELECT id FROM users);
I have some avatar with size of 0...
ls -lS ./avatar | grep 0
Guest user is no longer mandatory:
DELETE from users WHERE id=3874
After that, you would like to transform forums structure to tags structure...
To add a tag X on a tag Y:
INSERT INTO discussion_tag (discussion_id, tag_id) SELECT discussion_id, XXXC FROM discussion_tag WHERE tag_id =YYY;
To switch from tag X to Y:
UPDATE discussion_tag SET tag_id=YYY WHERE tag_id=XXX;