Skip to content

NodeBB Development

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

3.5k Topics 21.8k Posts

Subcategories


  • Posts from the NodeBB Development Blog
    96 Topics
    778 Posts
    julianJ

    Occasionally, we will get asked whether there are any differences between our hosted service and the open source project.

    It is as though we are holding back some great features and only allowing our paying customers access them! Conversely, it could be assumed that because we are hosting the software for others, that we would somehow out of self-interest or for economic reasons, deliver an inferior version with limitations.

    I'd like to say upfront that this is not the case for NodeBB.

    When you use our hosted service, you receive the same great NodeBB software that you can get for free off of our GitHub repository.

    What we're selling is support, maintenance, upgrades, and peace of mind delivered by our world-class† support team.

    You definitely can host NodeBB on your own! We've strived for years to deliver a piece of software that runs lean and fast on minimal hardware, great docs (some contributed by other admins!) that help you get up to speed quickly, and a fantastic community that will help you if you get stuck.

    The reason I take this principled stand is simple — I think it's unfair when artificial limitations are placed on software just for the purpose of getting customers to pay more.

    We've seen all this time and time again:

    You can't install any plugin you want, just a select few from a small list You can only have X units (tickets, posts, etc) of whatever you're using You can only have X admins/owners You can't see any messages older than X days

    These limitations are all artificial, and serve to restrict the use of something to the bare minimum. Anything extra is — of course — available for the right price.

    We don't do that. We tell everybody that NodeBB is powerful enough to run huge communities, and we stand by it. We tell everybody that NodeBB is flexible enough to look and function however you want, and we stand by it.

    These are the real limitations we impose on our hosting service:

    Hard drive space for uploads are imposed by our upstream provider and are set, though we are happy to add additional drive volumes for a fee) We have soft "pageview" limits that any user on our hosting can exceed (in fact, many do). We set them purely as a benchmark for the point at which your NodeBB may slow down depending on the type of load that you get, and encourage dialogue to make sure that you're on the right plan (server resources, etc.) We do not allow shell access for security reasons (and if you needed it, you probably could self-host)

    So please do rest assured when I and others tell you that what you see is what you get. No more, no less. I'd rather everybody get to use the best of NodeBB, instead of serving a special feature-reduced version for others.

    † I'm going to go out on limb here and say that we're probably the most qualified people to maintain NodeBB. Feel free to disagree 😉

  • You have a cool idea about NodeBB? Post it here.

    798 Topics
    5k Posts
    crazycellsC

    when the forum is used as PWA, there is no easy way to navigate between pages...

    Yesterday, I was reading a post on the forum that mentioned another topic, I have encountered an issue when attempting to return to the original post. So, after reading the linked topic, I had to go to categories page and retrace my steps to locate the topic I was reading initially...

    Although this can be achieved by page control arrows on destop and mobile browsers, there is no easy way to achieve this on PWA... so I propose adding some page control buttons that appear at the bottom of the page when scrolled up. (maybe it can be integrated to post navigation bar but I believe those buttons should appear in all pages, not only in topics)

    Here is just a suggestion to distinguish them from other arrows...

    IMG_0029 copy.jpeg

    alternatively the arrows or rewind icons that YouTube uses can be used:

    IMG_0030.jpg

  • Found a bug? Why not make a bug report here?
    1k Topics
    7k Posts
    barisB

    Interesting bug, does it work in other browsers other than firefox?

  • Focused discussion related to ActivityPub integration in NodeBB

    27 Topics
    233 Posts

    @[email protected] @[email protected]

    Using zoom
    Disgusting. There's so many free and open source alternatives available to discuss platforms built on free and open source software, and you choose the absolute worst proprietary option imaginable.

  • Help Translate NodeBB
  • How to create a footer outside the container?

    12
    0 Votes
    12 Posts
    1k Views
    Alpha TeamA

    @PitaJ many thanks!!!

  • Web API: Search user by custom field?

    6
    0 Votes
    6 Posts
    625 Views
    oplik0O

    It should cache for an hour, I think (based on a quick look at nodebb package manager code). So yes - you have to wait a bit before the nbbpm refreshes. You can just install the updated version manually by using npm install <package name> from the command line in NodeBB folder.

  • Private forum plugin

    19
    0 Votes
    19 Posts
    2k Views
    F

    @julian ok, I was thinking that the nbbpm was here for that!
    Thank you for your answer!

  • what is the best way to debug theme?

    2
    0 Votes
    2 Posts
    298 Views
    PitaJP

    Use grunt: https://docs.nodebb.org/configuring/running/#grunt-development

    It will automatically rebuild what is necessary and restart when you make a change.

  • Upgrade docs out of date?

    5
    1 Votes
    5 Posts
    556 Views
    James KingJ

    @julian No worries. It's just slightly alarming upgrading a production instance only to find out you've accidentally gone all the way to a pre-release. We've only recently taken over our current NodeBB forum from someone else and I'm not familiar with the workflow yet.

    I've made a note in our internal docs so it doesn't happen again. I was just wondering if I'd mis-read the docs or if that was the intended workflow.

    🙂

  • NodeBB v1.13.3 released!

    Moved
    7
    6 Votes
    7 Posts
    1k Views
    James KingJ

    Hi @baris

    Thanks for the reply. We're on Redis here instead of Mongo. Sorry, I should have specified.
    I did the same thing in Redis, It appears that we had a lot of "blank" notes which were just timestamps - I've removed these (or rather, I converted them over to objects with a timestamp property) and it appears to have resolved this for now.

    Not sure going by the timestamps exactly what caused these notes to be added however, but I didn't want to lose the fact that something happened at that point.

    Thanks for the guideance

  • Release notifications?

    2
    0 Votes
    2 Posts
    213 Views
    julianJ

    Oh, hi! Are you asking because we've started cutting pre-releases? 😛

    The pre-releases are marked in such a way that it should be easy (well, easier to distinguish)... they have an orange label in GitHub, and they always have a dash in the version number.

    For example, while v1.13.4 is not out yet, v1.13.4-0, v1.13.4-1, v1.13.4-2, and v1.13.4-3 are, but they are all pre-releases and can be ignored.

    If you're being notified via email from GitHub, it will also contain the word "Pre-release" in the title, and so you can ignore it: [NodeBB/NodeBB] Pre-release v1.13.4-3 - v1.13.4-3

    Hope that helps!

  • 0 Votes
    1 Posts
    201 Views
    A

    Hello !

    Which is the simplest way to get 'isSection' and 'link' properties of categories to render 'account/categories' pages ? I need them for my account/categories.tpl template.

    Thanks in advance for help !

  • 0 Votes
    1 Posts
    190 Views
    R

    Is there any way to disable or move down the comment count which is located in the right side of topic line?

    Like this website-
    https://forums.opera.com/category/11/opera-for-windows

  • Moderator Logs & Userdata Questions

    5
    1 Votes
    5 Posts
    645 Views
    M

    Still could use assistance if anyone can offer. The new forums we are developing using nodebb is delayed until the next release, but if someone cant point me in the right direction I would highly appreciate it.

  • 0 Votes
    6 Posts
    603 Views
    julianJ

    @Casey-Chen-Lai You'll want to translate to zh-TW, which is our traditional chinese variant.

    Don't ask me why it's TW and not HK.

    zh-TW is available for translation in Transifex, let me know if you run into additional issues 🙂

  • NodeBB v1.13.2 released!

    Moved
    14
    6 Votes
    14 Posts
    2k Views
    crazycellsC

    Is there a specific reason that letters on the default avatars got smaller in this version (1.13) compared to previous ones?

  • 0 Votes
    8 Posts
    862 Views
    S

    @PitaJ said in Can’t sign up into my nodebb site using proxy:

    @scottalanmiller it sounded like he was referring to a 3rd party proxy.

    Oh, I see. A very specific proxy for which the site is not configured.

  • 0 Votes
    4 Posts
    423 Views
    barisB

    That should work I think, you can also try putting your scripts in the ACP at /admin/appearance/customise#custom-js

  • Loading external scripts with requirejs

    6
    0 Votes
    6 Posts
    9k Views
    Mahesh EmbadiM

    i have the same issue , I have tried like below
    require(['https://booking.test.com/bundles/WidgetV2Loader.js']);

    in requirejs file I have the below code
    function scripts() {
    return document.getElementsByTagName('script');
    }
    if we remove this from requirejs file my eternal script is working fine, But some other exsisting functionalites are not working?

  • 0 Votes
    1 Posts
    260 Views
    T

    Hey all,
    I'm helping someone set up a new community for a not for profit and they'll need some custom functionality to hit their goals.

    Can anyone point me in the right direction on how to use a plugin etc to add in html/css if a post or reply has a specific tag.

    Short version is: People will be discussing different things and the org wants to allow certain conversations but to auto add in a disclaimer/change the post format a little for specific post tags.

    IE: If the post has the tag: "marvel" on it, it'd show a div/text at the bottom of the post/reply saying "This person loves marvel".

    New to NodeBB, not entirely new to everything else. 🙂

  • 0 Votes
    5 Posts
    469 Views
    barisB

    Hmm, ./nodebb build --verbose should give more info, don't think it displays the order of plugins though.

  • Post Index ID

    Moved
    3
    0 Votes
    3 Posts
    388 Views
    PitaJP

    Yeah so essentially what you want is to do is create an equals template helper, here are a couple resources from the past:

    Link Preview Image How can I print out a specific array entry in my template?

    I'm trying to print out a specific custom variable value of mine in the account stats row. Specifically "customFields" is an array that contains a name/valu...

    favicon

    NodeBB Community (community.nodebb.org)

    Link Preview Image how to create and use a template helper

    @mrazadar using require.main.require is what I recommend for plugins and themes

    favicon

    NodeBB Community (community.nodebb.org)

    And the benchpress docs

    Link Preview Image benchpressjs/docs/readme.md at master · benchpressjs/benchpressjs

    ultralight javascript templating framework. Contribute to benchpressjs/benchpressjs development by creating an account on GitHub.

    favicon

    GitHub (github.com)

  • 1 Votes
    5 Posts
    689 Views
    G

    Help me pls )

  • Edit CSS in realtime?

    Moved Solved
    4
    0 Votes
    4 Posts
    427 Views
    dogsD

    Thank you guys! I did this already with the Chrome development tool but I have some problems to implement it right in to my code.

    It's a little bit confusing (dev tools). Do you have some tips and tricks for maybe preferences I should chance in Chrome dev tools for a better workflow?

    Kind Regards, Pascal 😊