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
    scott@loves.techS
    @julian Many of the comments in this thread are appearing in Hubzilla as being from [email protected] instead of the real author.P.S. I'd start a new topic for this but I don't know how remotely.
  • Help Translate NodeBB
  • Cannot find module 'nconf'

    7
    0 Votes
    7 Posts
    4k Views
    yariplusY
    @panagiotis-charalampous Check in the logs directory for any error. I'm guessing authorization is not enabled on the database as it is not enabled by default. Use the link @Duke gave and follow the 'Configure MongoDB' section.
  • Localized posts plugin

    1
    0 Votes
    1 Posts
    831 Views
    P
    Hi, I would like to make a forum, but I don't really love the idea of dividing it by languages, so I thought about a plugin that can help a user to translate a thread (so the one who writes it can decide to make a 2nd version of the post for example in English if it's not his first language)... Since I'm not really into node dev, I would like to have some opinions about this idea... And some technical opinions too (like how to deal with different databases, for example, redis and/or mongo) (And I hope this is the right section to post)
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    55 Views
  • 1.6.0 Breaking Changes

    4
    2 Votes
    4 Posts
    4k Views
    julianJ
    Just an update to those following this post, that NodeBB v1.6.0 has entered the feature freeze portion of the launch as of 31st of August 2017 Code Freeze is schedued for this Thursday (7th of September), with a launch a week later, on the 14th of September.
  • How can I schedule task in future?

    6
    0 Votes
    6 Posts
    2k Views
    julianJ
    I think you're right... in the case of an anonymous function, the function itself would be in memory too. Then in that case, it's probably just easier to set up cron in general
  • How can I change the default order topics in the forum?

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP
    It's default sorted by latest reply.
  • API to post topics automaticly?

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    BartVBB
    I think this would help: https://github.com/NodeBB/nodebb-plugin-write-api
  • 0 Votes
    6 Posts
    2k Views
    julianJ
    You'll want to listen to the filter:categories.build hook. You can remove all of the code creating the route override.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
  • I need to remove latest topic

    3
    0 Votes
    3 Posts
    2k Views
    D
    @julian and If I want obtain the latest post's pid , for every "Lastest post" in every categories and sub categories, how can I do that? What is the hook that I have use?
  • How specify dependencies

    2
    0 Votes
    2 Posts
    2k Views
    julianJ
    How did you "install" the plugin? npm install will install dependencies, a simple git clone will not. You will need to run npm install inside the plugin folder.
  • How do I schedule a function one time in a future?

    5
    0 Votes
    5 Posts
    1k Views
    julianJ
    You may also want to consider using cron.
  • No javascript? No problem!

    Moved
    10
    7 Votes
    10 Posts
    6k Views
    julianJ
    @roldanlt we've rolled back the changes here for now, it'll be reintroduced later
  • Can't find CSS images?

    12
    0 Votes
    12 Posts
    8k Views
    S
    @julian I'm trying in the same way like you mentioned. created: static/images in node_modules/nodebb-theme-persona in plugin.json i have added the below line "acpScripts": [ "lib/admin.js" ], "staticDirs": { "images": "./static/images" } and in the header file i'm trying to get the image like below <img src="/plugins/nodebb-theme-persona/images/logoWithText.png" /> but this is not working. Please suggest what am i doing wrong
  • How can I edit {post.content}

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    S
    @pitaj Many thanks. I'm waiting for a day I can edit this option. Because I see that current view can make user confuse
  • Drop Redis/Improve MongoDB/Support SQL?

    10
    0 Votes
    10 Posts
    3k Views
    T
    @julian said in Drop Redis/Improve MongoDB/Support SQL?: Yes, let it be known that if we do decide to drop support, the Redis to Mongo migration script will be immediately published I figured as much, you guys are too cool to be jerks
  • Improved WYSIWYG?

    4
    0 Votes
    4 Posts
    2k Views
    BartVBB
    I get your drift But that's not quite what I meant. My proposal would be to save approximately what a user enters in a textbox on the site. I.e. the same that happens now. So you'll save <b>blabla</b> instead of **blabla**, but you'll just keep NodeBB/NodeBB# 1234 as it is. When you edit the post <em> is converted back to * if the composer you use accepts Markdown. If the site uses a a WYSIWGY editor you can just keep the HTML and work with that. Plugins can still hook into all that, just make sure that they don't put presentation HTML in the DB. I can imagine that they do add something like <widget=github>NodeBB/NodeBB#1234</widget> to the text that goes in the DB (and deal with this appropriately when editing). This would make it easier to build more complex widgets I guess. But that's all optional. My main point is that saving (really basic) HTML in the DB is much more universal and more extendable than saving Markdown. Well, actually my main point is that I found a different (better?) way to deal with the realtime preview of the MarkDown
  • Login page goes blank after install auth0

    3
    0 Votes
    3 Posts
    1k Views
    S
    @pitaj Thanks a lot! Works perfect
  • How can I recognize when plugins.fireHook is throwed?

    2
    0 Votes
    2 Posts
    2k Views
    barisB
    You can use the filter:<templateName>.build hooks. For the category page it would be filter:category.build, for a topic page it would be filter:topic.build and so on.
  • What library or approach used for handling background processes

    2
    0 Votes
    2 Posts
    1k Views
    julianJ
    We use the built-in process manager in NodeBB, ./nodebb start, etc.