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
    K
    I hadn't even considered trying to follow Lemmy users. Lemmy doesn't let you do that. I'll double check to see if that's working for me. Another interesting discovery on that front, though: Searching for [email protected] returns my nodebb.org account, not my lemmy account. In fact, this appears to be so for any of my other fedi accounts, as I use the same username on all of them.
  • Help Translate NodeBB
  • How i can add Multiple Category sections?

    Solved
    1
    0 Votes
    1 Posts
    1k Views
    FunkelF
    Hello Im a newbie with css so i found this code in the NodeBB Forum ul.categories [data-cid="1"]::before { content: "Neuigkeiten"; background: #1e1f33 url(https://i.imgur.com/liB8eUb.png) no-repeat 10px center; } ul.categories [data-cid="3"]::before { content: "Blocks"; background: #1e1f33 url(https://i.imgur.com/eSUaQuV.png) no-repeat 10px center; } ul.categories [data-cid="1"]::before, ul.categories [data-cid="3"]::before { color: #fff; display: block; position: relative; height: 40px; line-height: 40px; font-size: 15px; border-bottom: 1px #0c2b51 solid; text-align: left; padding-left: 70px; font-style: normal; text-transform: uppercase; margin-bottom: 20px; font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif; border-radius: 5px; margin-left: 10px; } I am also shown a category above as you can see here [image: GhYT4H6.png] But my question now is how do I get more category sections? In CSS as I see it there are 2 categories defined or do I see it wrong? can you help me? MfG Funkel
  • This topic is deleted!

    1
    2 Votes
    1 Posts
    36 Views
  • Custom profile stats filter

    3
    0 Votes
    3 Posts
    808 Views
    NoduleJSN
    @julian Thanks. Yes it works fine. Only one problem. Seems like 'action:ajaxify.dataLoaded' is not called when i refresh the page. It is called only if browse the forum. I noticed it now because i use this hook to capture user counters and put them into the stats page. It wont work also with simple code, outside or inside the document-ready function. P.S: i just solved using directly ajaxify.data global variable. It is just a problem of the hook
  • How to avoid data inconsistency

    3
    1 Votes
    3 Posts
    727 Views
    NoduleJSN
    @baris yeah it's true, but you can use transaction on a multicluster with only one node, also if with a lot of limitations. About your command example is a good idea also if it would work only with redis and postgre, with mongodb can be used like a normal batch. I took a look to postgreSQL module, seems it support transactions, mongodb emulate the same thing with non ACID batch. I prefer to avoid SQL databases but the way data is organized seem more suitable to a relational DB
  • How can i get thumbnails picture link in api?

    5
    0 Votes
    5 Posts
    717 Views
    Xokthilat OudomdyX
    try both but same result,i have no idea why i just installed today and everythings are running at lastest version
  • external scripts does not load on the client side

    5
    0 Votes
    5 Posts
    1k Views
    NoduleJSN
    problem solved. i have to import external script with require([script], function(name) { }) It seems that importing scripts in a classic way creates conflicts in nodebb
  • Notification on new topic

    3
    0 Votes
    3 Posts
    2k Views
    M
    @baris Done, https://github.com/NodeBB/NodeBB/issues/7931
  • Adding My Website's Navbar

    Moved
    2
    0 Votes
    2 Posts
    703 Views
    Y
    Yes, u can use javascript to inject
  • add new collections or mantain one collection

    3
    0 Votes
    3 Posts
    1k Views
    NoduleJSN
    Thank you for the explanation. I will probably use a third-party database (firebase) for payments. Using firebase, different operations can be done on the client side, without disturbing the main server. I think this is very useful for a smoother user experience.
  • Save/Load plugin's settings to/from a config file instead of mongoDB

    2
    0 Votes
    2 Posts
    478 Views
    barisB
    No built in way, but there is nothing preventing you from writing your plugin to use a config file instead of settings stored in the database. When your nodebb starts instead of loading your plugin settings from the database you would read it from the file.
  • Timeplan for 1.13.0?

    5
    0 Votes
    5 Posts
    639 Views
    magnusvhendinM
    Thank you @baris for the swift response. I have no need for backwards compatibility in my theme, so I think I will hold off on bigger changes.
  • Use normal post and get functions

    3
    0 Votes
    3 Posts
    459 Views
    NoduleJSN
    I think i will use websockets, thanks for the advice. At moment i'm using callbacks only because can't do different. Probably async/await will be available from the next version (I've read that too).
  • is there any anti copy content plugin for nodebb?

    1
    1 Votes
    1 Posts
    362 Views
    Xokthilat OudomdyX
    just like a content copy protection on wordpress
  • Build a widget and plugin

    4
    0 Votes
    4 Posts
    803 Views
    T
    Thank you so much for the replies. I'll dig into that again and probably come back with other questions
  • How to make calls to web sockets?

    2
    0 Votes
    2 Posts
    418 Views
    barisB
    /api/categories doesn't load the data via sockets, you can check it on this forum, just check the network tab and you should see the loaded categories.
  • Node bb support for AMP Pages for faster load on mobile.

    2
    5 Votes
    2 Posts
    1k Views
    julianJ
    @faizanzahid Honestly, we've never tried it. If you enable it, let us know what happens
  • Benchpress is undefined clien side

    Moved
    5
    0 Votes
    5 Posts
    1k Views
    magnusvhendinM
    Thank you @PitaJ for pointing me in the right direction. I adapted my code to the link you sent me. (function (factory) { if (typeof module === 'object' && module.exports) { factory(require.main.require('benchpressjs')); } else { require(['benchpress'], factory); } }(function (Benchpress) { const logger = (data) => { console.log('Logger helper', data); return ''; }; const customHelpers = { register, logger, }; function register() { Object.keys(customHelpers).forEach(function (helperName) { Benchpress.registerHelper(helperName, customHelpers[helperName]); }); } register(); if (typeof module === 'object' && module.exports) { module.exports = customHelpers; } })); Just by doing this made it work client side. But then it stopped working server side. That was easily fixed though by running helpers.register in my library file. const helpers = require('./lib/helpers'); helpers.register(); Hope this helpes someone!
  • 0 Votes
    1 Posts
    364 Views
    likhith lanka 0L
    So I'm planning to make a quiz portal using nodebb. I have no clue on how to take the starting step. Could someone guide me in the right direction?
  • NodeBB (Node.js) Workflows

    1
    0 Votes
    1 Posts
    367 Views
    6676
    https://blog.june07.com/socket-watcher/ I recently wrote a blog post which goes hand in hand with developing NodeBB plugins as of late nodebb-plugin-cloudstorage, GitHub, NPM nodebb-plugin-lightgallery, GitHub, NPM In the post, I talk about my workflow and wonder what other workflows people are using for there NodeBB development. NodeBB definitely presented it's own challenges, different from other Node.js projects I've worked on. Would to hear about what others are doing.
  • template development locally, viewing changes

    Moved
    2
    0 Votes
    2 Posts
    578 Views
    PitaJP
    Link the theme into node_modules with npm link and then use grunt to watch changes and rebuild automatically.