Status updates (a la IPB) & Migration questions

General Discussion
  • One thing I really dig in IPB is the Status update hook. Example:

    Is there anything similar for nodeBB? Perhaps I'm not searching the right terms for plugins.

    Relatedly, things that are plugin-dependent (such as status, polls, ... even forum sigs? PMs?... etc) -- how does this translate over in a migration? I notice that the only existing IPB->nodeBB converter works only for an old version of node, which seems like a bit of a hassle, especially as it might require tracking down old versions of everything else (mongo, nodeJS) to install with it.

    I'm contemplating the idea of switching over from IPB to node, but at first glance it looks like it'd be a cumbersome process. If anyone has any insights to share, I'd appreciate them! I'm especially concerned about how much would be lost in the crossover.

    Thanks, everyone!

  • Even though this topic should be moved to another category, I would like to request this plugin as well.


Suggested Topics


  • 1 Votes
    2 Posts
    882 Views

    Hey @mglace -- nice to hear you're looking to migrate!

    The best way to migrate would be to build your own exporter by forking an existing one... for example the SMF exporter... they work with the importer plugin: https://github.com/akhoury/nodebb-plugin-import

    Alternative you could use the Write API, although you'd be writing a lot of the one-time logic yourself to migrate users and posts and such, and I don't know offhand of anybody using the Write API quite like that 😄

    You're on track with the SSO OAuth plugin. DFP should work using the adsense plugin... if not, you can ping @baris for help.

    Theming NodeBB is one of our strong points, our themes are very customisable. Almost everything can be customised including templates for each page, as well as adding additional styles, etc. Check out the quickstart theme for a shell to start off with 👍

  • 0 Votes
    1 Posts
    718 Views

    I would like to add a Custom Icon to the Categories. Not sure how or where to go? Any help would be greatly appreciated!

    Thx...

  • Status v1.1.1

    General Discussion
    0 Votes
    12 Posts
    4k Views

    Cool, all forums update 2 v1.1.2 now. Everything seams to work great 😉

  • 0 Votes
    3 Posts
    2k Views

    Ya, so I was dumb...I have a local dev instance and a staging server. I was playing around with some things and forgot to switch the theme back to vanilla which explains why I was missing the navbar for the login screen...boo me.

    But yes, thanks for pointing that out. The template engine and middleware are making a lot more sense now after looking through the source for the last 2 days...

    I'm going to start looking to add/update the documentation here soon...some of the stuff can drive you crazy if you aren't familiar with the version changes.

    Also, after reading through most of core at this point I have to say it's an impressive piece of kit. Thumbs up to the core devs. @julian @baris @psychobunny

    EDIT: Also, anyone else who comes across this thread...if you really want to save yourself some time banging your head against the wall -- like I did -- take a few days to really dive into the nodebb source. It has been a good lesson in object-oriented javascript -- so many objects 🙂 -- done right. I've realized I'm approaching things more from a functional perspective, so this has been an eye opener for me.

  • 0 Votes
    2 Posts
    1k Views

    That should be how it works right now. The staticDirs property maps an alias (the object key) to the actual system path.

    For example:

    staticDirs: { "foo": "bar" }

    ... will map the route 127.0.0.1:4567/plugins/nodebb-theme-myplugin/foo to /path/to/nodebb/node_modules/nodebb-theme-myplugin/bar

    I believe I used express.static to route the directory, so any files added in after NodeBB has started should still be routed, since the parent directory was the one that was mounted.