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
    julianJ
    @[email protected] You can start a new thread by mentioning the category directly in a new topic. NodeBB sends Create(Note) from the author, and then five seconds later sends Announce(Create(Note)), Announce(Note), and Add(Note). Hubzilla may be misinterpreting the last three.
  • Help Translate NodeBB
  • Wrong translate

    2
    0 Votes
    2 Posts
    1k Views
    a632079A
    ok,i will change it Our Translation Project is at https://www.transifex.com/nodebb/nodebb if you want to submit a translation problem(EN -> CN),you can post it to https://nodebb-cn.org or email [email protected]
  • Mongo vs Redis: which one is better for a huge community?

    18
    1 Votes
    18 Posts
    14k Views
    J
    @julian said in Mongo vs Redis: which one is better for a huge community?: 64GB -- that is a lot of memory We host larger databases on much less RAM (as we're using a cloud provider and high memory installs are crazy expensive)... There is definitely a speed difference though. Navigating between pages on here takes a split second longer than a Redis database... if you want to see NodeBB fly, use Redis. @scottalanmiller was replying to somebody talking about a 50 GB data community though.
  • 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
    947 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)
  • How import client utility page in controller.js

    7
    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
    841 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
  • Is there any brief introductions to NodeBB apis

    6
    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?
  • How import an utility method (in another file) in client script.

    2
    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.
  • Iframe doesn't work in second domain in Firefox

    2
    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
    https://github.com/NodeBB/nodebb-plugin-leaderboard