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
  • Is it possible to rename routes?

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    H
    @julian thanks. I'll give it a try!
  • How to invoke filter:topic.search ?

    1
    1 Votes
    1 Posts
    895 Views
    SuperMikeS
    I am working on a search plugin. There're two filters available for topic & post : filter:search.query plugin.search = function(data, callback) { winston.info('enter search') winston.info(data) return callback(null, []); }; filter:topic.search plugin.searchTopic = function(data, callback) { winston.info('enter topic search') winston.info(data) return callback(null, []); }; now I can see the log in search after I search something, as well as advanced search. But searchTopicnever show. Can someone tell me how to invoke this filter ?
  • NodeBB v0.7.2

    Moved
    6
    11 Votes
    6 Posts
    6k Views
    JenklerJ
    Love this
  • Node.js sokets

    4
    0 Votes
    4 Posts
    2k Views
    C
    I don't know of any plugin that is already built to do what you want. Like most of the rest of us, you will likely have to write some Node JavaScript to create the plugin to suit your needs. I don't have the time to write custom code for free, although if it is worth money to you, the NodeBB development team may be interested in consulting for you. Now that I re-read what you originally asked, I'm curious if you actually need "Sockets" (as in SocketIO, which is server-initiated TCP/IP connection to a browser) or if APIs on both the hosted NodeBB server and the localhost server would do this better. Either way, if you choose to go the NodeBB plugin route, you will need to know which Hooks are available. A "hook" is an event that your plugin subscribes to. When that event happens in the core NodeBB server, it will call the function in your plugin which subscribes to the event.
  • Is there api to new topic using nodejs code?

    2
    0 Votes
    2 Posts
    1k Views
    C
    I'm not sure if I understand your question exactly, but you can write a plugin to listen to a new route (URL endpoint) or interprocess communication and load and call NodeBB libraries. You may consider using this plugin Git repo as a bootstrap to get you started quickly. Remember that the plugin.json, package.json, and library.js are the first files to work with. The plugin repo name / directory name will need to match the glob nodebb-plugin-* and it needs to be directly under the node_modules/ directory which is at the root of your NodeBB directory.
  • Best way to keep changes...

    8
    0 Votes
    8 Posts
    3k Views
    B
    @julian WTF!!! even better!! ahaha!! this gets better everytime!.... my only gripe is that persona stinks on Windows Phones...--> new thread coming on.
  • Update all frames after the login/exit from the site

    1
    0 Votes
    1 Posts
    799 Views
    ?
    ...so if you exit to the site on one tab, then on the other you are still logged in. It looks quite strange - [image: wJyKjHo.png] [image: vQmOeRA.png] [image: dJGC4f7.png] [image: DUL50ps.png] As you can see, we can be a partial activity in exit. The session was completed. @julian @baris @psychobunny
  • Texas Hold'em Poker!

    8
    3 Votes
    8 Posts
    6k Views
    O
    HI, Signup link is not working....
  • want a div position: fixed; place it on the forum

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    ogerlyO
    ok I have a solution. I have included in the CUSTOM HEADER my code. and the audio file is running even if I switch sides.
  • Registering a Font

    7
    1 Votes
    7 Posts
    3k Views
    snodejokeS
    @a_5mith Did you ever find the solution to this? Was the result the nodebb-plugin-custom-font plugin?
  • Is there a way to limit the use of tags?

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    P
    @ludam you can set the minimum & maximum tags for a post in ACP -> Settings -> Tags page. I don't think there is any option to set which tags a user would be able to use.
  • How can I get category's special users

    3
    0 Votes
    3 Posts
    2k Views
    barisB
    Those userrs are stored in groups with special names, here are the names assuming the category id is 1. cid:1:privileges:find cid:1:privileges:read cid:1:privileges:topics:create cid:1:privileges:topics:reply You can get the user ids from these groups by. Groups.getMembers('cid:1:privileges:find', 0, -1, callback); This will give you all the user ids that have the find permission for category 1. If you want to get their basic info like username picture slug so you can show user icons you can just use Groups.getMemberUsers('cid:1:privileges:find', 0, -1, calllback);
  • What is for ''/compose" route?

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    epidemiya30E
    Understood. Thank you for response
  • Tags - Are they timestamped?

    1
    0 Votes
    1 Posts
    1k Views
    S
    Guys, Have a quick question. Do tags have a timestamp on them in the backend? One of my new feature requirements is spotting trending tags and some sort of re-organisation of the tagging system to perhaps give people an alternative way to navigate the forum. Just curious...
  • file tpl were recovered after restart nodebb server

    3
    0 Votes
    3 Posts
    2k Views
    xinshoukeX
    Yes, It work as what you told. Thanks a lot!
  • Why would I follow another user?

    10
    1 Votes
    10 Posts
    4k Views
    BriB
    @julian So, now there's a setting that prevents chats from getting to you unless you follow that user trying to chat with you?
  • How to config welcome email template?

    1
    0 Votes
    1 Posts
    1k Views
    maniM
    Now I have to change theme's tempalte, can I just config it in plugin? Thanks!
  • 0.8.0 Breaking Changes

    1
    1 Votes
    1 Posts
    2k Views
    barisB
    Hook changes Filter filter:user.custom_fields removed see this commit filter:user.delete deprecated, use static:user.delete instead, now It is passed { uid: uid } instead of just uid, and is fired before user data is actually deleted, so you have one last chance to look up stuff if needed. Other changes Theme developers should now explicitly set the baseTheme in their theme.json if their theme is not based on Persona. Set this value to nodebb-theme-vanilla TBD
  • ... on changing the default theme to Persona

    3
    3 Votes
    3 Posts
    3k Views
    julianJ
    @Codejet said: can you still manually change to lavender in ACP after install / upgrade ? and run it this way what is the benefit of adding a hook listener, or are u removing vanilla/lavender functionality Yes, this change doesn't affect how you use NodeBB, it only affects you if you're a theme developer (with a Lavender-variant or vanilla-based theme) and you want to maintain compatibility post v0.8.x
  • How can I pass additional user data to header?

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    epidemiya30E
    Can I do a pull request? Or someone else will do that?