Skip to content

NodeBB Development

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

3.5k Topics 22.3k 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.

    808 Topics
    5k Posts
    o              oO

    It's an optimization, an opportunity to handle more traffic on less hardware.

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

    11dad6df-40c2-48ce-8aa2-cf26919c7ab3-image.png

    I successfully installed NodeBB using docker-compose.

    Everything seems to be working as expected, but when the nodebb container starts up, NodeBB starts running. However, when I connect to bash and check its status using the CLI, it shows that NodeBB is not running, even though it actually is.

    When I try to stop it, I can't. And when I try to start it using the CLI, even though I initially installed it with MongoDB, it gives an error related to postgres.

    Note:
    Initially I've installed NodeBB with Postgres, then I removed the container and installed with Mongo.

    1c23091b-3ef0-46ac-96b5-6145ef19e65c-image.png

  • Focused discussion related to ActivityPub integration in NodeBB

    52 Topics
    625 Posts
    nutomic@socialhub.activitypub.rocksN
    The Activitystreams standard doesnt mention that. And it makes a lot of sense for Lemmy, because the comments are a major part of it.
  • Help Translate NodeBB
  • 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

    Link Preview Image Comparing master...patch-1 · NodeBB/NodeBB

    Node.js based forum software built for the modern web - Comparing master...patch-1 · NodeBB/NodeBB

    favicon

    GitHub (github.com)

    0_1467484651810_Bildschirmfoto vom 2016-07-02 20-37-01.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
    15k 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... 🙂

  • 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:

    0_1466761974079_upload-2e28b1a9-aa7b-4274-8c8b-c93717ae9008

  • plugin load sequence

    23
    0 Votes
    23 Posts
    7k 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.

  • 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
    2k 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
    782 Views
    G

    Hello everyone.
    My database is mongodb,How can I query the topic(searchtopic) by a post(searchpost).
    thanks
    alt text

  • Redirect sso plugins to custom route

    2
    0 Votes
    2 Posts
    2k 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
    798 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
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    13 Views
  • 0 Votes
    6 Posts
    3k Views
    K

    @Bri @pichalite
    I got it now 👍 , thank you guys 🙂

  • 0 Votes
    1 Posts
    798 Views
    julianJ

    Link Preview Image Changing what happens when notifications appear on mobile... · Issue #4695 · NodeBB/NodeBB

    When a notification is received, we automatically execute a toaster alert, and on desktop this works reasonably well. However, on mobile, the toaster takes up a non-insignificant portion of the screen. If you happen to be composing a pos...

    favicon

    GitHub (github.com)

    In order to funnel responses into one place, please reply in the GitHub issue itself 😄

  • 0 Votes
    4 Posts
    2k Views
    B

    @julian It means that I can test my plugin with nodebb actually firing hooks for it.