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
    julianJ
    @elkd Running ./nodebb build is an interactive command that outputs the build state in real-time. Can you paste the log output from running that command?
  • Focused discussion related to ActivityPub integration in NodeBB

    111 Topics
    2k Posts
    nhl.plN
    Nice. A lot of work being done here. Impressive release as usual.
  • Help Translate NodeBB
  • NodeBB's Usage of Realtime Communication

    1
    1 Votes
    1 Posts
    1k Views
    M
    Something that interested me when I first started hacking on NodeBB was how the platform uses realtime communication through socket.io (and websockets). This interest stems from work I did whilst working as a realtime engineer at Pusher several years ago. One of my research projects whilst there was to look into how websockets get used in production, and other use cases for websockets besides the standard "subscribe to a channel and receive events". In 2011, I gave a talk at Keeping It Realtime conference in portland about some of my findings, you can watch it here: http://2011.krtconf.com/videos/micheil_smith (long hair and all) or check out the slides here: https://speakerdeck.com/miksago/krtconf-websockets-sub-protocols How NodeBB currently seems to use realtime communication: RPC: Request data from the server, get a response back, present that data to the user (or send data to a server like you would POST to a HTTP server) Channels: Used for user to user chat messages Events: Used for online/offline states of users. I may have missed something here, so, let me know if I have. Most of the websocket usage appears to be in RPC style messages: Get this piece of data do something with it. At present, all realtime communication for NodeBB is built on top of Socket.io, which uses a protocol more tailored for event type packets, rather than for RPC style packets. For this, something like JSON RPC may be more appropriate. Refactoring this deep internal of NodeBB would make the platform more resource efficient on the wire, and also allow for better logging and handling of data. You'd know exactly what has failed on the client-side or server-side and be able to give an appropriate response. In the code, refactoring this level of things would make the code far cleaner, and give option to provide all HTTP Verbs over WebSocket or vica-verse (meaning if you wanted to, you could make 90% of NodeBB standard HTTP. You'd end up with an "api" module internally that is everything that can be exposed, which simple returns back standard javascript objects. For user-to-user chat messaging you could still multiplex that onto the same actual websocket / socket.io connection (although it's arguable if this is actually beneficial). Why do any of this writing or work? Interest more than anything else, but it may make the code to NodeBB cleaner, and improve maintainability.
  • Can Redis handle an image-heavy forum?

    7
    1 Votes
    7 Posts
    3k Views
    aaronA
    Sweet, thanks.
  • How can i know the admin userpassword

    14
    1 Votes
    14 Posts
    10k Views
    N
    Yeah, the code in the mongo specific setup for nodebb is currently wrong. thats why Im having issues
  • Git branches

    12
    -1 Votes
    12 Posts
    3k Views
    F
    @Ezra-Sharp Yes, most especially for a production system. For a crash-and-burn system, I'd go with Edge.
  • 2 Votes
    5 Posts
    2k Views
    F
    @a_5mith Yep, I noticed that too after I deleted an accounted I created. User and access management sure need some more loving attention.
  • Project Honeypot plugin?

    19
    0 Votes
    19 Posts
    6k Views
    S
    I put it on my todo list
  • April Fools!

    Moved
    8
    2 Votes
    8 Posts
    4k Views
    D
    Keep the pirate speak?
  • Dealing with unverified users in the ACP

    3
    0 Votes
    3 Posts
    2k Views
    F
    @julian I think Latest Users means, or should mean, the same thing as Verified Users. In other words, if an account has not been verified, it's never listed under Latest Users. Along those lines, an option that will allow the admin to enable auto-purging (auto-deleting) user accounts that have not been verified after X number of days would be nice, too.
  • How to unload an element in NodeBB

    3
    0 Votes
    3 Posts
    2k Views
    T
    @julian said: Hm... the standalone modal showing categories? Yes, that one. You can use .pushState, possibly. We do, for ajaxification. https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history I'll check it out.
  • JS code in HTML widgets causing sidebars to not load

    10
    0 Votes
    10 Posts
    3k Views
    F
    @psychobunny Ok, the Google ad will not show on the home page or category page, only on topic pages. Scripts from another ad provider does not work and the side will not load. The HTML widget, me thinks, should be able to render any HTML/JS script.
  • Making the case for anti-spam feature even for posting

    16
    0 Votes
    16 Posts
    4k Views
    F
    On my new site, I have more bot-registered users than real users. The list just keeps growing by the minutes. Nothing to stop them.
  • How to stop MOTD from loading?

    3
    0 Votes
    3 Posts
    1k Views
    T
    @Scuzz Sorry, I figured it out, I have to put <div widget-area="sidebar" class="col-lg-3 col-sm-12 hidden"></div> as required.
  • Receiving 2 notifications for one post

    7
    0 Votes
    7 Posts
    3k Views
    julianJ
    Yes, but what a broth it is...
  • Debian Installation Steps added in GitHub and few things.

    3
    4 Votes
    3 Posts
    2k Views
    M
    yeah thx! i have alot problems with ubuntu i fighted 8hour and not worked BUT debian install to vmware follow instruction and first time works and still running thanks
  • Rethinking sending notifications on voting

    3
    1 Votes
    3 Posts
    1k Views
    F
    @baris Ok, that's good to know. It's just that the discussion at get notifications when someone up or downs your post #1184 didn't clarify that.
  • Up and coming js upload library

    3
    0 Votes
    3 Posts
    1k Views
    julianJ
    Definitely going to keep an eye on this -- it's still fairly new and immature, so we'll see where it goes.
  • Suspicious file

    12
    0 Votes
    12 Posts
    4k Views
    F
    @Schamper That'll calm me down. Thanks.
  • NodeBB email warning, how do I setup mail?

    4
    0 Votes
    4 Posts
    2k Views
    F
    Deleted by author
  • Changes to Lavender theme - few issues.

    Moved
    5
    0 Votes
    5 Posts
    3k Views
    A
    HI @julian, I have attached the screenshot below, the mixes category is the one that's causing me issues. I have also included the raw HTML below so you can see how it's affecting the p tags. General discussion is how it should look. Ideally with the soundcloud embedded. But that's another issue I can deal with later. http://i.imgur.com/F6zTbJr.jpg
  • Gotchas for v0.4.0

    13
    2 Votes
    13 Posts
    4k Views
    julianJ
    Scheduled for 11 days from now, but sooner if we can make it.