Skip to content

SockDrawer/storybb-nodebb-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storybb-nodebb-importer

import from nodebb to storybb

Run like: node index.js --in input.json --out output.txt --topic 4 --board 2

You can use --in if you have a downloaded json file, or --inTopic if you would prefer to supply credentials for the script to get the input itself.

You'll want your member list open; it will ask you for a member ID for each person who posted in the thread so it can link the accounts.

When the script has run, you will have a sql file you can run on the StoryBB server to import the topic. You can run that with the command:

mysql -u username -p storybb < output.sql

When you're done with your imports, under the Admin section, go to Maintenance -> Routine -> Recount all forum totals and statistics to update people's post counts and so on. You may also want to run "Find and repair any errors"

About

import from nodebb to storybb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published