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
    779 Posts
    G
    Very Nice!
  • 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

    107 Topics
    2k Posts
    julianJ
    Could it be that the idea that quoted posts on forums are not rich resources (and thus liable for deletion) are an artifact of an older age of the internet, but at the same time is a feature, not a bug? 100% agreed that in a forum context the ability to quote the text of a post is important. Forum users often extend this in many ways, not limited to: Holding a user accountable (by preserving their words from future editing) Emphasis of certain portions of text Excision of unrelated portions of text Simply displaying the quoted post as a linked resource robs the end user of all that additional functionality, and that is something I am not sure I want to concede. @Christian-Stange @[email protected] @Panzz
  • Help Translate NodeBB
  • This topic is deleted!

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

    3
    0 Votes
    3 Posts
    807 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
    720 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
    712 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
    697 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
    474 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
    636 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
    456 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
    357 Views
    Xokthilat OudomdyX
    just like a content copy protection on wordpress
  • Build a widget and plugin

    4
    0 Votes
    4 Posts
    792 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
    415 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
    363 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
    576 Views
    PitaJP
    Link the theme into node_modules with npm link and then use grunt to watch changes and rebuild automatically.
  • NodeBb Integration With WordPress

    Unsolved
    3
    1 Votes
    3 Posts
    2k Views
    Moisés BackM
    I would like that too. But specifically add the NodeBB forum inside a wordpress page via template. EDIT: a plugin similar to that would be a good start -> https://wordpress.org/plugins/wp-discourse/