akhoury / nodebb-plugin-import

migrate your old crappy forum to NodeBB
MIT License
78 stars 31 forks source link

[exporter] PunBB #32

Closed akhoury closed 8 years ago

akhoury commented 10 years ago

https://github.com/patricksebastien/nodebb-plugin-import-punbb/issues/1

akhoury commented 10 years ago

https://github.com/patricksebastien/nodebb-plugin-import-punbb/pull/2

still needs testing, I need a db dump

codecowboy commented 9 years ago

I could provide a punBB dump if required. I am interested in importing from punbb. I've just installed nodebb so have version 0.80. Will the importer work with this version? 0.7 is mentioned in the readme.

akhoury commented 8 years ago

sure - email it to me. I would probably need to publish like a new npm module, nodebb-plugin-import-punbb2 to use my fork from patricksebastien's fork btw - The importer now works with the latest stable NodeBB v0.8.2,

akhoury commented 8 years ago

ugh - email/share it to bentael@gmail.com

codecowboy commented 8 years ago

@akhoury Will do - haven't worked on this in a while but it is being resurrected. Thanks!

codecowboy commented 8 years ago

@akhoury I've emailed you the dump file. Apologies for the delay.

akhoury commented 8 years ago

got it, I will test as soon as i can, probably another week from now.

codecowboy commented 8 years ago

Cool. In the meantime, can you confirm if I can try this via the Node Admin panel or if I need to try an import from the command line as was detailed here - http://www.workinprogress.ca/punbb-to-nodebb

codecowboy commented 8 years ago

See also https://github.com/patricksebastien/nodebb-plugin-import-punbb/issues/3

akhoury commented 8 years ago

you should try my fork, https://github.com/akhoury/nodebb-plugin-import-punbb not patricksebastien's

I submitted PR to him more than a year ago, he doesn't seem responsive https://github.com/patricksebastien/nodebb-plugin-import-punbb/pull/2

In the Admin Panel > Import > Pre-Import Config > Select an Exporter don't select one from the select box, just modify the text input below and enter git://github.com/akhoury/nodebb-plugin-import-punbb#master

to install my fork.

Or, you can

cd nodebb/node_modules
git clone https://github.com/akhoury/nodebb-plugin-import-punbb
cd nodebb-plugin-import-punbb
npm install
cd ..
node app

Then from the admin panel, select exporter, same select box, just type nodebb-plugin-import-punbb and make sure you select the "Skip Module Install" box.

but anyways, there're probably few bugs in it anyways, since I just wrote my fork from memory, i didn't have a punbb dump - so.. i would wait till i confirm it's all good or if you're feeling lucky and want to fix it.

akhoury commented 8 years ago

@codecowboy - tested and published - looks good so far.

Once you install "" and activate "nodebb-plugin-import", open the Pre-Import Settings > Select Exporter, but you're not gonna find "nodebb-plugin-import-punbb2" in the select box, just type nodebb-plugin-import-punbb2 in the text box below, notice I added "2" at the end

i will add it to the select box on my next nodebb-plugin-import release.

But you don't have to "Skip the Module Install" anymore (unless you npm install it yourself), it's published to npm so that should work.

Screenshot of my exporter settings

screen shot 2015-11-18 at 11 52 50 pm