MyBB to NodeBB Importer?
-
Ah okay, good. If you work with @bentael, he can help you get your exporter working with his importer plugin, then you will only have to export out to a standard format, instead of having to handle the importing as well.
Edit: https://github.com/akhoury/nodebb-plugin-import/blob/master/write-my-own-exporter.md
-
@Nifty the nodebb-plugin-import was recently updated to support posts and topics without a user, they will be posted as Guest.
You can also save a
_guest
value on each topic or post, in case NodeBB supports a Guest-name in the future.
https://github.com/akhoury/nodebb-plugin-import-vbulletin/blob/master/index.js#L212The vbulletin exporter has also been recently updated, check the diffs
-
anyways, let me know if you run into problem
-
@bentael Oh, Thanks a lot, you guys here are a lot more active than i am used to
Is there a way to get "extra" data through the standard import as well ? I have data like Notes on the users, flags on Postings & Threads and so on which i would like to import as well. This would give me the option to use them by an plugin later on.My Forum has more than 800.000 Postings and over 13.000 Users, i would like to get as much extra data as possible transferred.
-
-
@a_5mith said:
it turns into the Mad Hatters tree when you start catering for each type of plugin and it's data.
This depends how generic data would be included. It the Import gives the plugin(s) the option to set generic data for each data type an generic way it would be the responsibility of the plugin to make the decision which data would be attached and where.
I don't talk about new Document Types, i just want to fill a few more fields, like Notes on the User Document ( standard mybb) a few fields which store Information from a few of my plugins ( this are generic fields unique to my installation ).
If it is possible to get this functionality into the Importer without hassel - that would be fine. -
open a new issue here with the list of extra fields
https://github.com/akhoury/nodebb-plugin-import/issuesthen open another one here https://github.com/asciicat/nodebb-plugin-import-mybb just as a reference link
-
Hello Nifty,
I'm not an expert user but I've managed to set up Nodebb v0.5.5 on Digital Ocean to play around with it for a while and everything is running pretty smoothly.
I've tried exporting my existing MyBB forum (21 Mo database) to my Nodebb installation and this is where things get tricky for me.I've followed the instructions left by akhoury here:
https://github.com/akhoury/nodebb-plugin-import/issues/90#issuecomment-64929108I manage to get through all the steps, but I'm not to sure how I add your nodebb-plugin-mybbex to the process.
I've installed it through npm but in the Import plugin (from nodebb-plugin-import) I can't seem to select an exporter here
"Select one of the few detected on npmjs's registry" since the list is blank.I've then tried the second solution "Or just enter the module's name or url you want to install": there I've typed the git address of your node-plugin-mybbex or the name of your plugin and the list in the previous step still stays blank.
If I try running the import, things start to happen but I have nearly 10 seconds before an automatic request to refresh the page arrives and when I do refresh I have an message stating an error since there's no npm exporter detected.
By any chance is there any way you can help me?
Thanks for all your work on the Mybb export plugin !
-
@TaLoche
Install it by npm from a console session ( nodebb directory):
npm install git+https://github.com/NiftyXXL/nodebb-plugin-import-mybbex.gitThen enter as module name
nodebb-plugin-import-mybbex
on the exporter configuration page and mark "Skip the module install ". -
Thanks Nifty for your reply!
I did a fresh Nodebb install, followed akhoury steps, added the npm install from a console session of your plugin and entered the name of your plugin as you said in your reply.
But I still get the error about no converter/importer being selected.
and
What am I doing wrong?
-
@TaLoche The error msg says "getaddrinfo " looks like a problem in resolving the mysql database host name to the ip address.
The mysql server is not on the same host as the nodebb ? you need to make sure that the nodebb server can connect to the mysql server ( which is usualy not possible as the default mysql only binds to localhost for security reasons).
-
Thanks Nifty for your reply!
My Mybb forum is hosted at 1&1 (A German provider).
I did set up my new Nodebb forum on DigitalOcean since it wasn't possible for me to set up Nodebb on my 1&1 hosting plan.So you're saying that I should install my Mybb forum and database on DigitalOcean for make the import?
-
@TaLoche i would install a mysql on the new Server, make a backup of the db on your 1&1 host, import it on you're new server and than do the nodebb import. After that you can remove the mysql from you're new server. there is no need to get the whole mybb stuff installed. The node importer is only accessing the mysql database and the upload dirctory of the mybb.
-
I'm sorry? My existing Nodebb install on DigitalOcean is running on Ubuntu 14.04.
On DigitalOCean I can create another Droplet next to Nodebb on Linux (Ubuntu, Fedora, Debian, Coreos or Centos).
My existing Mybb forum is on a MySQL5 server.I was going to use this
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntuto set up Mysql on OceanDigital in a new droplet to be able to import my existing Database to tried to import in afterwards in Nodebb.