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
    780 Posts
    kainosK
    Very good Vlad. I am Vladislav.
  • Found a bug? Why not make a bug report here?
    1k Topics
    7k Posts
    julianJ
    @elkd Running ./nodebb build is an interactive command that outputs the build state in real-time. Can you paste the log output from running that command?
  • Focused discussion related to ActivityPub integration in NodeBB

    111 Topics
    2k Posts
    trwnh@mastodon.socialT
    @julian @silverpill also your Link.href is being escaped incorrectly
  • Help Translate NodeBB
  • Making the font bigger

    12
    0 Votes
    12 Posts
    1k Views
    phenomlabP
    @eveh sorry 🤭 Try this body { font-size: 2rem !important; }
  • api/admin/upload/file always 401

    7
    0 Votes
    7 Posts
    764 Views
    Martijn MichelM
    ive found this post, but i dont understand how to get a csrf token https://community.nodebb.org/topic/6932/how-to-get-a-csrftoken-from-an-api-req-object/4
  • 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
    630 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
    501 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
    382 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
    780 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
    686 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
    567 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
    776 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
    444 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 ~