inpired from http://www.workinprogress.ca/punbb-to-nodebb and forked from https://github.com/patricksebastien/nodebb-plugin-import-punbb to be compatible with nodebb-plugin-import
a PUNBB forum exporter
based on nodebb-plugin-import-ubb
What is this?
Why is it even a NodeBB plugin?
it doesn't really need to be, nor that you can use it within NodeBB it self, but, having this as a plugin have few benefits:
- a nodebb- namespace, since you can't really use it for anything else
- it can easily
requireNodeBB useful tools
What does it export?
_alternativeUsernameYES. using 'realname', which nodebb-plugin-import will try to use if the username validation fails
_passwordNO. PUNBB uses MD5, NodeBB uses base64 I think, so can't do, but if you use nodebb-plugin-import it will generate random passwords and hand them to you so can email them.
_level(administrator and moderator) NO, but doable check the structure of PUNBB
_joindateYES, using 'registered'
_websiteYES. using 'url' if URL looks valid, it is exported, but it's not checked if 404s
_locationYES. migrated as is, clear text
_signatureYES. migrated as is (HTML -- read the Markdown note below)
_cid(or its PUNBB category aka Forum id) YES (but if its parent Category is skipped, this topic gets skipped)
_uid(or its PUNBB user id) YES (but if its user is skipped, this topic gets skipped)
_content(or the 'parent-post` content of this topic) YES (HTML - read the Markdown Note below)
_pid(or its PUNBB post id)
_tid(or its PUNBB parent topic id) YES (but if its parent topic is skipped, this post gets skipped)
_uid(or its PUNBB user id) YES (but if its user is skipped, this post is skipped)
_contentYES (HTML - read the Markdown Note below)
Versions tested on:
- PUNBB > 1.3.2
It's an exporter, why does it have 'import' in its title
To keep the namespacing accurate, this exporter is designed to export data for nodebb-plugin-import only, also for a 1 time use, so why do you care.