Blog Comments powered by NodeBB

NodeBB Development

Suggested Topics


  • 0 Votes
    2 Posts
    312 Views

    @JoeCaleb likely not the ideal candidate. NodeBB is designed to be a standalone web resource, co-existing alongside another side on a subdomain or subfolder.

    You could customize a theme to match the look and feel of your main site – that's what we do here. The header and footer are dynamically retrieved from NodeBB.org

    See nodebb-theme-community to learn how it is done.

  • 0 Votes
    3 Posts
    348 Views

    @anirban-dutta I use command like this npm install git+https://github.com/me-cooper/nodebb-plugin-makesmart-gallery.git when repo is not recognized by npm install

    Just remember to add .git at the end of github repo url.

  • 0 Votes
    1 Posts
    185 Views

    Hey,

    We are looking to hire someone to do some custom theme work with either the persona or material theme for one of our clients. Please email me sterling [at] luceosports [dot] com with the subject 'NodeBB Development' if interested.

    Thanks,
    Sterling

  • 6 Votes
    6 Posts
    3k Views

    @paopevil yes node 10 is supported

  • 1 Votes
    4 Posts
    2k Views

    To get back on this, I have currently solved it in the following way:
    ###/lib/nodebb.js:

    module.exports = { "Meta": module.parent.parent.require('./meta'), "User": module.parent.parent.require('./user'), "Plugins": module.parent.parent.require('./plugins'), "SocketIndex": module.parent.parent.require('./socket.io/index'), "ModulesSockets": module.parent.parent.require('./socket.io/modules'), "db": module.parent.parent.require('./database') }

    ###library.js:

    var NodeBB = require('./lib/nodebb');

    ###/lib/submoduleX.js:

    var NodeBB = module.require('./nodebb'), db = NodeBB.db, User = NodeBB.User, Plugins = NodeBB.Plugins;

    ##Why this works
    I read somewhere that require caches the files you load. That means that if require my nodebb.js from library.js, I can later load nodebb.js from any submodule I want and it will work.