Skip to content

NodeBB Development

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

2.7k Topics 17.4k 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 😉

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

    @julian said in forum is not behaving normal on firefox:

    You likely have some cached client-side files on Firefox. Please clear the browser cache and try again.

    yeap, apparently this was the problem. Thanks 👍

  • Focused discussion related to ActivityPub integration in NodeBB

    59 Topics
    747 Posts
    heluecht@socialhub.activitypub.rocksH

    We can receive and process these "wrapped activities" but we don't transmit them.

  • Help Translate NodeBB
  • Can't debug NodeBB with node-inspector

    4
    0 Votes
    4 Posts
    2k Views
    JenklerJ

    Nice way to debug. I am still using console.log() 🙂 I guss my stuff is to simple

  • template.js conditionals doesn't work

    3
    0 Votes
    3 Posts
    1k Views
    A

    @PitaJ Thanks for your reply. I wanted the case, if the subcategory is selected then parent category also selected.
    But now if the subcategories selected, then parent categories.isSelected = false.
    Maybe I should do a plugin? 💪

  • Translation with arguments.

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    PitaJP

    @marcelo-lopes escape the comma as an HTML entity:

    text.replace(/,/g, ',')
  • What should I do after a fresh install?

    2
    0 Votes
    2 Posts
    891 Views
    E

    Site name / logo
    Terms of Use message
    Welcome message.
    Set default user settings and sounds.
    Proxy settings
    Systemd settings (that way the site start on boot up)

  • 0 Votes
    7 Posts
    3k Views
    D

    @PitaJ thanks for your suggest. I resolve with this ( 🙂 )
    https://github.com/umdjs/umd/blob/master/templates/commonjsStrict.js

  • Is it possible to change the title of the homepage?

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    PitaJP

    You could try this in the custom JS:

    if (ajaxify.data.url === '/') { document.title = 'Welcome | NodeBB'; }
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    34 Views
  • Ban single Users from Category

    4
    0 Votes
    4 Posts
    2k Views
    oPignonLibreO

    @Florian-Müller said in Ban single Users from Category:

    @julian Do you see an easy/nice way how to solve this problem?

    A not very practical way would be to create a group for each category. Unless you write a plugin or script to ease the pain of management it will be headache inducing.

  • Help me to signup transifex

    4
    0 Votes
    4 Posts
    2k Views
    B

    all i need is in the doc https://docs.transifex.com/getting-started/translators and https://docs.transifex.com/teams/understanding-user-roles
    no information about department !
    but it's ok

  • Are there any event triggered when an image loads?

    Unsolved
    1
    0 Votes
    1 Posts
    799 Views
    T

    I noticed that anchor links are wrapped around <img tags when you scroll an image into view., is there any event i can listen to to know when it's loaded?

  • Passing cli arguements to nodebb's child processes

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    PitaJP

    @Qwertyzw NODE_ENV=development&& ./nodebb build && node --inspect app should work for that. In the next version of NodeBB, you could even do ./nodebb build --dev && node --inspect app

  • 0 Votes
    6 Posts
    2k Views
    julianJ

    @vstoykov important distinction to make, thanks 😄

  • Some questions on writing front-end scripts

    3
    0 Votes
    3 Posts
    1k Views
    jiangcaiyangJ

    @PitaJ How many times will // Some code be executed if they are not inside $(document).ready? I know // Some code will be executed once inside $(document).ready.

    Another question, which will be executed first? the code inside $(document).ready or the one outside?

  • 0 Votes
    2 Posts
    1k Views
    julianJ

    I'd create a require.js module and define it in the modules section of your plugin.json👍

    define('myplugin/utils', [], function () { var Module = {}; Module.foo = function () { return 'bar'; } return Module; });

    Somewhere else...

    require(['myplugin/utils'], function (utils) { console.log(utils.foo()); // 'bar' });

    and in plugin.json:

    ... "modules": { "myplugin/utils.js": "relative/path/to/your/utils.js" } ...
  • js & css minified every time. DevMode too

    4
    0 Votes
    4 Posts
    2k Views
    PitaJP

    @ChrisKey the next main version will fix that big where CSS minification doesn't obey the development environmental variable.

    You can't set it in the config file. What is your use case? Maybe an npm script or something would work.

  • 0 Votes
    2 Posts
    1k Views
    PitaJP

    @Braulio-Cesar-Holtz-Ribeiro you need to set the HTTP header for frame options on the site that is displayed inside the iframe.

    NodeBB actually has a setting for this in the ACP. You should be able to find it by searching "frame"

  • nodebb.min.js not updated

    8
    0 Votes
    8 Posts
    3k Views
    jiangcaiyangJ

    @PitaJ Thanks you! nodebb.min.js updated successfully.

  • Weekly/Monthly reputation points and posts

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    yariY

    Link Preview Image GitHub - NodeBB/nodebb-plugin-leaderboard: Adds a daily/weekly/monthly leaderboard based on reputation

    Adds a daily/weekly/monthly leaderboard based on reputation - NodeBB/nodebb-plugin-leaderboard

    favicon

    GitHub (github.com)

  • Upgrade v1.0.2 to v1.4.2

    11
    0 Votes
    11 Posts
    4k Views
    R

    And finally upgraded to v1.4.2 for my production site. 👍 🎊 🍻

  • 0 Votes
    4 Posts
    2k Views
    D

    @julian and If I want to load not "account/info " but "account/favourites" ?