Skip to content

NodeBB Development

Stay tuned here to hear more about new releases and features of NodeBB!

2.8k Topics 18.6k Posts

Subcategories


  • Posts from the NodeBB Development Blog
    96 Topics
    780 Posts
    kainosK
    Very good Vlad. I am Vladislav.
  • Found a bug? Why not make a bug report here?
    1k Topics
    7k Posts
    nhl.plN
    Indexes are used to speed up database/datastore. https://en.wikipedia.org/wiki/Database_index
  • Focused discussion related to ActivityPub integration in NodeBB

    111 Topics
    2k Posts
    scott@loves.techS
    @julian Many of the comments in this thread are appearing in Hubzilla as being from [email protected] instead of the real author.P.S. I'd start a new topic for this but I don't know how remotely.
  • Help Translate NodeBB
  • Looking for a Node.js developer

    4
    -1 Votes
    4 Posts
    1k Views
    P
    Hi, Contact for further discussion on Skype live:poornamol
  • Travis Parsing

    8
    0 Votes
    8 Posts
    2k Views
    PitaJP
    Oh, well npm test does exactly what travis does, you don't need to worry about coverage. Just add a test for any function you add.
  • 0 Votes
    6 Posts
    2k Views
    C
    It seems require('socket.io').reqFromSocket(socket) doesn't returns a valid req for AuthController.doLogin.... i want to authenticate via websocket but maybe i will have to do it the old POST way, am i correct?
  • Debugging nodebb

    4
    0 Votes
    4 Posts
    3k Views
    D
    @julian said in Debugging nodebb: Looks like you already have a NodeBB instance running... or maybe something else running on port 61236. Try checking out ps aux | grep node and killing off the other NodeBB process, if there is one. Thanks to @ben_lubar I was able to get this working. Turns out I needed to start app.js not nodebb because nodebb would fork and screw up the debugging.
  • Scripts don't run when topic loaded

    5
    0 Votes
    5 Posts
    2k Views
    PitaJP
    Yes, you'd need $(window).on('action:ajaxify.end', ...)
  • I can't get NodeBB to run on Windows 10 for development

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP
    The windows docs are wrong in several places. Have you tried running ./nodebb dev?
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
  • Log into multiple NodeBBs once

    3
    0 Votes
    3 Posts
    1k Views
    julianJ
    @xuelainiao That is tricky, as each individual NodeBB will have separate user databases. You may want to consider adapting the session-sharing plugin so that a cookie is saved on login and read from other the NodeBBs.
  • what happened in Recent.js ? (Is it possible cause in Database?)

    3
    0 Votes
    3 Posts
    1k Views
    a632079A
    @baris said in what happened in Recent.js ? (Is it possible cause in Database?): Seems like you have a topic with an invalid cid, should be fixed in master. I have changed the branch into master,and it can run well now. Thanks you very much.
  • Customizing the homepage?

    3
    0 Votes
    3 Posts
    1k Views
    julianJ
    @emmafurtado Hello! We'll handle your inquiries directly via email
  • Reset all database

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    C
    @frgilb I tried your solution: it's quick, it's secure and it's works :-). Thanks
  • v1.6.1 Launch Planning

    1
    2 Votes
    1 Posts
    850 Views
    julianJ
    Just a quick note for you all to let you know that v1.6.1 will be dropping next Tuesday, the 10th of October to include some bug fixes as well as a minor security fix that was reported recently. We're also using this patch release as an opportunity to address any issues that people have run into after trying to upgrade to v1.6.0. We do not expect any breaking changes, as this is merely a patch release. Feature freeze comes into effect 3rd of October, code freeze Friday 6th of October.
  • Problems with registration form

    1
    0 Votes
    1 Posts
    739 Views
    Vamsi KrishnaV
    Hi all, I am trying to include a registration form in one of our landing pages and I just used the form exactly as used in the /register page and included a script like below. <script> require(['forum/register'], function(register) { register.init(); }); </script> But it doesn't seem to be working. Can some one point me in the right direction? Thanks
  • Custom Skins

    2
    0 Votes
    2 Posts
    2k Views
    P
    @dangeruss It is possible. You will have to either fork persona to add in your changes or make a new theme. If you need an example of how custom skins can be applied to the theme you can check these 2 themes. https://github.com/pichalite/nodebb-theme-slick https://github.com/pichalite/nodebb-theme-material You can even follow these examples to add a modified version of an existing bootswatch skin.
  • 100% Editor

    1
    0 Votes
    1 Posts
    719 Views
    AzzaA
    I have a habit of splitting my screen up into halves, so I can do productive things on one side, while watching videos on another or a chat, but this causes NodeBB's editor to go into 100% mode on me once it hits a certain breakpoint and I like being able to glance back at posts while I'm composing a reply.
  • Setting up a nodebb development environment

    6
    0 Votes
    6 Posts
    2k Views
    D
    @pitaj said in Setting up a nodebb development environment: grunt isn't installed globally by default, so run npm i -g grunt then it will work Thank you. Once I installed it I could just run grunt and it worked. It still takes almost 30 seconds to build, but at least it's automatic. This is probably something seasoned nodejs devs know, n00bs like me not so much. Would someone mind updating the documentation since nodebb watch doesn't work anymore?
  • Introducing Our New Templating Engine

    Moved
    17
    10 Votes
    17 Posts
    10k Views
    attisA
    There's one more breaking change that I did not find documented anywhere. For our theme we had to change: var templates = require('templates.js'); templates.registerHelper('generateCategoryBorder', helpers.generateCategoryBorder); to var Benchpress = require('benchpressjs'); Benchpress.registerHelper('generateCategoryBorder', helpers.generateCategoryBorder); Not a big deal but some folks might struggle to see why their template helpers don't work on server side.
  • NodeBB v1.6.0 has been released!

    Moved
    10
    9 Votes
    10 Posts
    6k Views
    attisA
    @pitaj said in NodeBB v1.6.0 has been released!: I suggest you try it. It has been tested with Gmail, but we haven't been able to test other providers there. The switch offers no explanation and seems not to do anything. The switch enables that configuration, but it only applies if an emailer plugin isn't activated. OK, thanks for the explanation. I think I will stick to the external SES plugin since, as far as I understand, this whole section is about using SMTP for sending e-mails which requires storing credentials in database. We use IAM roles to grant implicit permissions to use SES on instances that run our Forums - and nodebb-plugin-emailer-ses is able to pick that up.
  • Populate additional fields when creating a user using Write API

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    S
    @baris Hi, i too have the same requirement, i understand that we have to write a plugin to use the hooks filter:user.updateProfile. Could you please provide any sample to write plugin and use this hook. Thanks
  • Navigation in categories not working

    2
    0 Votes
    2 Posts
    1k Views
    julianJ
    The data for the menu isn't present in the categories route, that's why nothing shows... seems odd to put menu in that route, any particular reason? People here can likely find some alternative...