Is it possible to embed comments from a single topic and allow discussion on the page where they are embedded?

NodeBB Development
  • Does nodeBB have this capability? We're in the development stage of a website redesign and we're looking to keep certain topics/comments tied to different pages without having to navigate away to the forum to participate. Has anyone seen an example of a site using forum tools this way? Thanks!

  • Yes, you'll want to investigate using nodebb-plugin-blog-comments ๐Ÿ˜„

  • Thanks for the tipโ€”I'll look into it!

  • I've been trying nodebb-plugin-blog-comments but I get this message in my log:

    23/10 22:03:40 [14636] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

    • nodebb-plugin-blog-comments

    23/10 22:03:41 [14636] - info: Routes added
    23/10 22:03:41 [14636] - info: NodeBB Ready
    23/10 22:03:41 [14636] - info: Enabling 'trust proxy'
    23/10 22:03:41 [14636] - info: NodeBB is now listening on:
    23/10 22:04:00 [14636] - error: /assets/templates/comments/admin.js
    Error: ENOENT: no such file or directory, open 'C:\Temp\NodeBB\build\public\templates\comments\admin.tpl'

    I also am unable to access the Plugin->Blog Comments section. It just spins. I'm using NodeBB version 1.6.1.

    Thank you!

  • I copied comments folder from nodebb-plugin-blog-comments\public\templates to NodeBB\build\public\templates and that appears to have worked. Thanks!

Suggested Topics

  • 2 Votes
    1 Posts

    The updates continue unabated here, as we work on updating the Harmony theme, page by page!

    This past couple weeks, you might've noticed that the /users page got a refresh:

    Screenshot 2023-02-10 at 15-24-08 Community.png

    Almost all of the elements have remained unchanged. There is no new information here, but it's absolutely shocking to see how much more balanced the page is compared to Persona.

    We also updated the flag list and details pages, to give those tireless content moderators a bit of a boost as well. You might notice that the list of flag filters in the sidebar has been updated to match the UI controls found in the /search page as well.

    Screenshot 2023-02-10 at 15-21-31 NodeBB.png

    Screenshot 2023-02-10 at 15-21-26 NodeBB.png

    Here is how it used to look on Persona:

    Screenshot 2023-02-10 at 15-19-18 NodeBB.png

    Screenshot 2023-02-10 at 15-19-24 NodeBB.png

  • 1 Votes
    3 Posts

    Thanks for taking the time to reply. That might be a part of what I'm aiming for.

    I want to create an array of topics that I can display in my "feed". Those topics can be added to the array by two reasons.

    It's a recently created topic. It contains recent posts. (So maybe I can use tour suggestion here)

    The idea is just to have the new content presented when you first log in. I could look at Recent and Popular I think.

    Once again, thank you!

  • 0 Votes
    4 Posts

    Yeah, I'm thinking the same thing. ๐Ÿ‘

  • 0 Votes
    4 Posts

    @anas-ameziane said:

    Is there any hook that get called before loading any pages ?

    Yeah I tend to use this for example... before it loads, and then after.
    Perhaps I'm way off lol.

    $(window).on('action:ajaxify.start', function() { // ...stuff }); $(window).on('action:ajaxify.end', function() { // ...stuff });
  • 0 Votes
    3 Posts

    Thank you