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
    kainosK
    What about Design v4, is the same like 3.11.0? Is there Grid categories Options with images? Invision Community tests v5 Beta 6. Here some Forums https://www.fanclubs.org/ https://jimiwikman.se/ https://www.internazionale.fr/ https://krscanski.chat/
  • Help Translate NodeBB
  • Debugging via WebStorm causing NodeBB not respond when logging in

    5
    0 Votes
    5 Posts
    2k Views
    jareyJ
    @jiangcaiyang you can report an issue to request/discuss that option on the github repo. I'm pretty sure @administrators woul not mind to modify the behaviour if it doesn't break anything. Edit: update with the github issue for easier tracking in the forum. https://github.com/NodeBB/NodeBB/issues/4791
  • 0 Votes
    3 Posts
    3k Views
    ogerlyO
    ok thank'll look
  • What could triggers '[[global:alert.banned]]' message?

    1
    1 Votes
    1 Posts
    747 Views
    jiangcaiyangJ
    I want to figure out how could this message to be triggered, and want to make our own event handler. Thanks in advance.
  • What are the advantages of using a worker in non-cluster environments?

    1
    0 Votes
    1 Posts
    821 Views
    J
    I was having a look at the code, in the hopes of learning good practices I can use in my own projects and maybe be able to help develop nodeBB if I improve my skills a bit. While I'm familiar with workers and clustering, I fail to see what's the advantage of forking a process for a single process deployment and keep all the event handling. Wouldn't it be more efficient, to have just a single process spawned at the beginning of the script and remove all the event handling?
  • 0 Votes
    4 Posts
    3k Views
    ogerlyO
    ok I understand it .. and now this solution. who assigned a room name, then it will be displayed if not then as far https://github.com/NodeBB/NodeBB/compare/master...ogerly:patch-1 [image: Z5dWMRX.png]
  • Creating own sso for login from other database

    2
    0 Votes
    2 Posts
    1k Views
    yariplusY
    I am guessing on all of this, never done it before It sounds as if you want to override the local login strategy rather than provide an SSO service. To do this you need to provide a local login strategy to passportjs during that hook, just as the core does here: https://github.com/NodeBB/NodeBB/blob/master/src/routes/authentication.js#L43 Instead of controllers.authentication.localLogin, use your own callback function. It is passed (req, username, password, next) just as it is here. You would essentially the same thing that function does, but instead of using the local user info, use your own database to compare the username/passwords too. If the login is successful, you need to create a local user and attach an ID from your database entry to the user's local database entry, so you can look that up when the user logs in again. Also in the admin panel, change the registration type to none, so that users are required to have an account at your existing db.
  • Ignoring individual threads

    28
    5 Votes
    28 Posts
    17k Views
    A
    @NedFodder said in Ignoring individual threads: @azeus It was added after the latest stable version (v1.0.3). It looks like it will be officially released in version 1.1.0. If you don't want to wait, you can upgrade to the latest version on the master branch. See instructions and warnings here. Thank you. I'm running on 1.0.3 and some users just asked about this feature...
  • Are there any roadmap about nodebb's new version ?

    3
    1 Votes
    3 Posts
    2k Views
    JamJ
    @NedFodder said in Are there any roadmap about nodebb's new version ?: @Jam You can try looking here. thanks, got it
  • Thought about using a stricter style guide?

    2
    0 Votes
    2 Posts
    1k Views
    yariplusY
    Hmm, idk, some parts of the code could use better adherence to a style for consistency, and it may encourage new contributors. I feel like styles are largely based on opinion though. And in situations where a style does help, such as avoiding confusing/ambiguous expressions, NodeBB rarely suffers from these problems. I am against tabs though. I hate them. Used to love them, but after using spaces, i can never go back. (I really really hate semicolons too.)
  • 0 Votes
    3 Posts
    2k Views
    jiangcaiyangJ
    After hundreds of debug processes, I've finally found the function which is used to do that. Here is screenshot: [image: KEvNMNk.png]
  • plugin load sequence

    23
    0 Votes
    23 Posts
    8k Views
    yariplusY
    I'm fine with it being each. But that's really a separate issue. The app.load hook is not where we should be modifying templates.
  • Change email digest appearance

    5
    0 Votes
    5 Posts
    2k Views
    P
    @KasparTr template files in /public/templates gets recompiled from source files everytime you restart/reload nodebb.
  • Custom Digest Time Without Changing Core

    Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    G
    @julian Thanks!
  • Can I sort topics by votes or views or date?

    5
    1 Votes
    5 Posts
    3k Views
    xiduiX
    We have made this plugin. Try it and having fun~ https://github.com/wktang/nodebb-plugin-category-sort-by-votes
  • Custom CSS for plugin on ACP.

    5
    0 Votes
    5 Posts
    3k Views
    G
    That's perfect, thanks!
  • Remove Profile Editing Features

    3
    0 Votes
    3 Posts
    1k Views
    G
    Awesome. Thanks.
  • How can I query the topic by a post

    1
    0 Votes
    1 Posts
    834 Views
    G
    Hello everyone. My database is mongodb,How can I query the topic(searchtopic) by a post(searchpost). thanks [image: XGUinKimJe5Ht8clYSGr.jpg]
  • Redirect sso plugins to custom route

    2
    0 Votes
    2 Posts
    3k Views
    K
    This is an old post, but have you found a solution? I have the exact same problem. I need a new user to be redirected to profile edit page to enter the email address. Thanks!
  • Opinions requested: composer design ideas

    1
    0 Votes
    1 Posts
    846 Views
    E
    https://github.com/NodeBB/NodeBB/issues/4670 please reply in the GitHub so we can help developers with new ideas
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    21 Views