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
    P
    If I change my username after posting a post, the original username is still displayed on Activitypub?
  • Help Translate NodeBB
  • Unable to connect a bot to the websocket

    19
    0 Votes
    19 Posts
    1k Views
    masonwheelerM
    @pitaj OK, I have no idea what's going on, but after I verified all of those things, without actually changing the code that wasn't working before... suddenly I'm getting user messages! So... yeah, it's working now. Thanks for the help!
  • Use NodeBB with REST Write API headless with own UI

    3
    0 Votes
    3 Posts
    625 Views
    F
    @grabmaier Absolutely, try it out and share with us what you build.
  • API: Trouble getting list of users

    3
    0 Votes
    3 Posts
    499 Views
    thalixT
    I found a good way to get the user list out of mongodb. In case anyone need it: async function doMongoDb() { const { MongoClient } = require("mongodb"); const username = encodeURIComponent("admin"); const password = encodeURIComponent("mypassword"); const clusterUrl = "localhost:27017"; const authMechanism = "DEFAULT"; const uri = `mongodb://${username}:${password}@${clusterUrl}/?authMechanism=${authMechanism}`; const client = new MongoClient(uri, { useNewUrlParser: true, useUnifiedTopology: true }); try { await client.connect(); const database = client.db("nodebb"); const objects = database.collection("objects"); // get all user const query = { _key: /^user:\d+$/ }; // select fields we want to see const options = { projection: { _id: 0, username: true, _id: false, email: true, "email:confirmed": true, joindate: true, fullname: true }, }; const cursor = objects.find(query, options); if ((await cursor.count()) === 0) { console.log("No user found!"); } // iterate over the users await cursor.forEach(user => { if (user["email:confirmed"] == 1 ) { console.dir(user); } }); } finally { // make sure we close the connection await client.close(); } } // --------------------------------------------------- function init() { try { doMongoDb(); } catch(e) { console.log(e); } } // --------------------------------------------------- init();
  • 发布一个相亲帖

    1
    0 Votes
    1 Posts
    380 Views
    Q
    发布一个相亲帖 测试一下 我是一下
  • Meet our new team member: Emir Onur

    Moved
    1
    25 Votes
    1 Posts
    2k Views
    E
    Hello everyone, Please join us in welcoming our new team member: Emir Onur @gasoved ! Emir lives in Istanbul, Turkey with his wife and his little boy. His coding journey started with an Amiga-500. He developed his "Breakout" clone in QBasic. As a freelance software developer since 2009, he brings extensive skills and experience to the table. He is a pre-pandemic "home-officer" whose second favorite animal is ducks He is happy to be a part of NodeBB team and we are excited to have him onboard. Welcome to NodeBB @gasoved !
  • Login into nodebb automatically from my web app

    4
    0 Votes
    4 Posts
    778 Views
    PitaJP
    @grabmaier That question specifically asks about SSO. Session sharing is different in that it allows your user to skip the login altogether IIRC which is what you want.
  • How to add categories to nodebb??

    3
    0 Votes
    3 Posts
    685 Views
    PRATYUSH ROYP
    @gotwf Thanks I got it!
  • error: EMFILE, too many open files

    5
    0 Votes
    5 Posts
    3k Views
    PitaJP
    @scottalanmiller that's weird, we do use graceful-fs which should handle that automatically https://github.com/NodeBB/NodeBB/blob/cc9d6fd08b29436e134de89d3bf4487479c7ce32/src/file.js#L13 It's possible in done cases this doesn't apply before an operation is executed. When did you encounter an issue?
  • NodeBB is Hiring

    Moved
    1
    3 Votes
    1 Posts
    1k Views
    E
    Hello all, We are in need of a Front End Developer/Designer to assist us on the ongoing projects. This will be a part-time 6 month contract with the possibility of extension up to 1 year. If you are interested, please apply here. Thank you!
  • Authentication issue while using search[API]

    3
    0 Votes
    3 Posts
    568 Views
    JULIUS NGIGIJ
    @julian Thank you for the quick response!
  • How to retrieve all posts by user via Read API?

    Solved
    3
    0 Votes
    3 Posts
    562 Views
    G
    @baris said in How to retrieve all posts by usere via Read API?: ?page=2 that one works, thanks a bunch! I tried pagination before, but I was somehow expecting it to work like /{pagenumber}. Just for the record: Meanwhile I also understood, that what I was looking for is also achievable via /api/search and corresponding filters.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    25 Views
  • Not getting authenticated data on posts when sending _uid parameter

    6
    1 Votes
    6 Posts
    770 Views
    Elina HovakimyanE
    @julian We checked and we are up-to-date with master
  • 1.17.0 Breaking Changes

    10
    2 Votes
    10 Posts
    3k Views
    barisB
    https://github.com/NodeBB/NodeBB/issues/9364
  • Any release date planned for 1.17.0?

    Unsolved
    2
    1 Votes
    2 Posts
    440 Views
    gotwfG
    @onur-baran Same as it ever was.... When it's ready. And hopefully not before. Sorry, just couldn't resist. But dinnae fash yersel... some body more knowledgeable than I will be comin' along this trail.
  • Change login method and page

    7
    0 Votes
    7 Posts
    1k Views
    Avinash UpadhyayaA
    @pitaj Thanks a lot! I will check it out
  • 0 Votes
    12 Posts
    1k Views
    R
    @pitaj Having a branch for the production version with a similar dump output is actually a great idea. You can solve the conflicts during git merge (or PRs if there would be a tea working on this) and there should be no problem.
  • How to setup admin user in config.json in nodebb

    8
    1 Votes
    8 Posts
    2k Views
    徐再贤
    @pitaj said in How to setup admin user in config.json in nodebb: export admin__username="admin" export admin__password="password" export admin__password__confirm="password" using output of cat command is a good choice , i will try this. but i don't think using enviroment variables will work. thanks ~
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • No footer.js in v16.1.x?

    5
    0 Votes
    5 Posts
    666 Views
    T
    EDIT: @baris error is gone / fixed. Thank you!