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
    nhl.plN
    Indexes are used to speed up database/datastore. https://en.wikipedia.org/wiki/Database_index
  • Focused discussion related to ActivityPub integration in NodeBB

    111 Topics
    2k Posts
    kainosK
    What about Design v4, is the same like 3.11.0? Is there Grid categories Options with images? Invision Community tests v5 Beta 6. Here some Forums https://www.fanclubs.org/ https://jimiwikman.se/ https://www.internazionale.fr/ https://krscanski.chat/
  • Help Translate NodeBB
  • Single Sign On

    1
    0 Votes
    1 Posts
    806 Views
    R
    I am loading "NodeBB Forum" using Iframe. How can I enable the single-sign-on in nodeBB ?
  • Multiple tags

    1
    0 Votes
    1 Posts
    1k Views
    F
    Re: Multiple tag search This should be made possible, at least by url, so links can be made from other posts.
  • Debugging nodejs app.js at 100%

    19
    0 Votes
    19 Posts
    7k Views
    PitaJP
    @exodo I would imagine it's something like node --prof app.js
  • Any release date planned for 1.1.3?

    5
    1 Votes
    5 Posts
    2k Views
    Bruce LeeB
    @pichalite said in Any release date planned for 1.1.3?: @Bruce-Lee those are just weekly snapshots of master branch. Those are most likely less stable than master. I don't understand why they are even created and what purpose they serve. Thanks @pichalite, i guess i have to wait for the release then.
  • How can I add a section in the Admin Menu?

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    J
    I know this is an old topic, but I just ran into this today and wanted to add an admin nav section in the minimally invasive way possible. This technique worked for me and I'm wondering if anybody has any thoughts about this being a good or bad approach to quickly adding a custom admin navigation menu from a plugin. Any critiques appreciated! plugin/static/js/admin/custommenu.js: var adminInitialized = false; $(window).on('action:ajaxify.start', function(data) { if (!adminInitialized) { $('ul#main-menu').append('\ <li class="dropdown menu-item">\ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Custom Menu</a>\ <ul class="dropdown-menu" role="menu">\ <li><a href="/admin/my-custom-route">Custom Route</a></li>\ </ul>\ </li>'); adminInitialized = true; } }); plugin.json: "acpScripts": [ "static/js/admin/custommenu.js" ]
  • Avatar fields (picture vs uploadedpicture)

    2
    0 Votes
    2 Posts
    1k Views
    yariplusY
    uploadedpicture is their most recently uploaded profile picture. picture is their currently selected picture.
  • Plans to update jQuery in NodeBB? (Currently uses 1.10.2)

    9
    0 Votes
    9 Posts
    3k Views
    J
    @pichalite Very cool! Thanks!
  • Open new topic composer

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    P
    @omedia aah yes... adding # in route should work. No need for data-ajaxify in that case. Totally forgot about that.
  • How can I adjust the default Reputation awarded for an upvote?

    3
    0 Votes
    3 Posts
    1k Views
    M
    @jarey thanks for pointing out that plugin. I had misinterpreted it's functionality before. When I saw "Max upvote weigh (points)" I assumed you could only use that configuration to scale the upvote-to-reputation ratio based on the reputation of the user doing the voting. For others that run into a similar issue. Using the plugin Jarey pointed out, if you'd like to make 1 upvote = 10 reputation I was able to do that by setting: Max upvote weigh (points) = 9 Since the default weight is 1 upvote = 1 reputation, and this plug in then adds the additional 9 reputation.
  • 0 Votes
    6 Posts
    3k Views
    julianJ
    @Tilen-Štraus Glad you got it working, and thank you for sharing your solution for others who may run into the same trouble
  • Native electron client

    3
    1 Votes
    3 Posts
    2k Views
    Moritz FriedrichM
    @teh_g sadly, this won't be possible with Electron, since it requires V8, Chromium and Node.JS to run, all of which are not available on neither iOS nor Android. You could maybe use Cordova for this, but it would require a C# developer, store licenses etc... not forget a great amount of time and effort. Electron, on the other hand, makes developing Desktop applications with JS easy and really quick... So it would be quite easy to craft a NodeBB client. I imagine board admins could run an installer like npm install nodebb-electron-client-setup, then do npm setup and have the client available for download at http://example.tld/client/:os for their users.
  • RFC: Drop support for old node.js versions?

    6
    0 Votes
    6 Posts
    2k Views
    T
    @julian said in RFC: Drop support for old node.js versions?: Those in enterprise environments? Edit: Good lord, it's 11-0 right now. Ehh, even enterprise needs to drop support for older dependencies. Especially these days where old versions can lead to security issues!
  • Which nodebb files/directories need to be persisted?

    9
    0 Votes
    9 Posts
    3k Views
    JenklerJ
    https://www.nodebb.se/topic/7/installation-av-nodebb-anteckningar That is how i Do it I guess you can figure it out even if its in Swedish
  • How to add a new route

    9
    0 Votes
    9 Posts
    3k Views
    J
    It is working now! Thanks guys! It was the variable name top. I changed it to _top and it works perfectly
  • Where can I read up on Architecture and local development

    4
    0 Votes
    4 Posts
    1k Views
    J
    Thanks guys. This solved my problem for now. I guess the main info I was missing was how plugins and themes work for this. Now that I have that, I am good to go for a bit Thanks so much for your help!
  • How do I make a HTML widget to show a specific topic?

    4
    0 Votes
    4 Posts
    2k Views
    yariplusY
    @osirisguitar You may want to try my plugin featured-topics-extended, it comes with the widget Featured Topics List, which displays a list of topics just as they would appear on the category page. Admins can select exactly which topics to display in the Topic Tools menu when visiting a topic. Here is an example with two topics selected. http://puu.sh/qNtIw/06e4701164.jpg
  • What's happening with package manager?

    10
    0 Votes
    10 Posts
    3k Views
    jareyJ
    @julian Yep that's correct. It wasn't showing at the moment @exodo 's wrote, but a while after that it showed up. Thanks @julian
  • Templates.js html server rendering

    6
    0 Votes
    6 Posts
    2k Views
    Bruce LeeB
    @PitaJ do you mean to code as res.render('user/hello', req.query); instead of res.render('user/hello.tpl', req.query);
  • Are the docker builds no longer maintained?

    10
    0 Votes
    10 Posts
    4k Views
    BriB
    @julian said in Are the docker builds no longer maintained?: nothing that can beat the feeling of a fresh server install with only the software you need. However, you do have to consider the cost... in that you'll be spinning up multiple containers for multiple services (if you follow "best practice"), with all of the duplication of resources that entails. That's the thing though, the fresh server doesn't stay fresh forever because it's not immutable. And any OS will come with software you don't need. I'm just getting started with Docker, but I can see the appeal when trying to deploy quickly and consistently. I'm dreading moving servers because that means I have to re-install everything I need on a fresh server and reconfigure it. If I was using docker, it's pretty much just create a new VM -> install Docker (unless using an image that already has it) -> docker run myservice and done.
  • Image not displaying because of data-state="loaded" missing on img tag.

    3
    0 Votes
    3 Posts
    1k Views
    jareyJ
    @julian thanks a lot! And for the second question, is there any way to do it? Thanks again. EDIT (just to clarify, in order to be helpfull for anyone in the future): Since my image, didn't had the data-state="unloaded" (in fact id didn't have the data-state at all on the img tag) i had to first, use posts.unloadImages(post); an then posts.loadImages(); to get the image loaded. That's because posts.loadImages() only searches for data-state="unloaded", posts.unloadImages. gets all images in the post provided without the class .not-reponsive and puts the data-state="unloaded" in each img tag.