Skip to content

NodeBB Development

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

2.8k Topics 18.5k 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
    barisB
    Because you ran the forum without indexes you have documents that violate the index constraints. You will have to remove these documents for the create index command to work.
  • Focused discussion related to ActivityPub integration in NodeBB

    108 Topics
    2k Posts
    jupiter_rowland@hub.netzgemeinde.euJ
    @Ben Pate This looks like it’s pulled from Streams, yes? Which means it’s not related to the Forums and Threaded Discussions Working Group, is that right?Conversation Containers were originally built on and for (streams), yes. They were pretty much done some nine months ago.#FediMeta #FediverseMeta #CWFediMeta #CWFediverseMeta #Streams #(streams) #ConversationContainers
  • Help Translate NodeBB
  • 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
    944 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
  • Upgrade v1.0.2 to v1.4.2

    11
    0 Votes
    11 Posts
    5k Views
    R
    And finally upgraded to v1.4.2 for my production site.