How do I transfer my flarum user data to discover?

AI-generated summary

The discussion revolves around transferring user data from Flarum to Discourse. wubenmm2 seeks a script to migrate user names, passwords, and badges. pfaffman confirms the existence of a Flarum import script in Discourse’s import scripts directory, noting it may not support badges or database prefixes. RGJ adds that Flarum uses standard PHP bcrypt, suggesting the Discourse Migratepassword plugin could work if the import script is modified to include passwords. wubenmm2 initially questions the availability of scripts, but RGJ clarifies that a script exists and directs to resources. wubenmm2 thanks the contributors and plans to investigate further.

I used to use flarum to build forums, but later I found that discourse seemed to be a better choice. Is there a script that can help me transfer the user data of flarum to discover?

Function:

Transfer all user names and passwords of the original forum to the new forum, so that users of the original forum can log in to the account with the same user name and password on the new forum.

It would be better if there was one that could transfer the badge.

There is a flarum import script. I doubt that it supports badges. Don’t know about passwords. I do know that it doesn’t support database table name prefixes.

You can find it in scripts/import_scripts. It works the same as the others so you can use other import script guides as a model.

2 Likes

It looks like Flarum uses the standard PHP bcrypt functions so you should be able to leverage the Discourse Migratepassword plugin - IF you modify the import script so it includes the password (which it currently does not).

3 Likes

So there isn’t any plugins or scripts to import flarum data now?

Please check the links in my post above yours.

3 Likes

OK Thanks, I’m going to check it