Skip to content
  • A place to talk about whatever you want

    4k Topics
    24k Posts
    barisB
    You can also setup rewards in the ACP at /admin/extend/rewards to give the user reputation. Although that's less common.
  • Stay tuned here to hear more about new releases and features of NodeBB!

    3k Topics
    18k Posts
    nono-lqdnN
    Here is a sample of user accounts that are not the same, but share a similar username : [image: 1728899168392-3acf97bf-c04a-4f6f-8195-723f3a7ecd23-image.png]
  • You have a cool idea about NodeBB? Post it here.

    823 Topics
    5k Posts
    eeeeeE
    Just my opinion but I can't see the use of seeing list of things Ive already read, and >99% of people wouldnt use it. Its better as a plugin (if required), because no point to make Core more complex with rarely (or never) used features. Any hours spent developing that would be 100x better spent on the 'elephant in the room' email signup issues.
  • Discussion regarding NodeBB Plugin development.

    2k Topics
    15k Posts
    N
    I Need to impliment the saml in my nodebb forum and i have created a plugin for that and im getting the response of the saml on my code but i'm not able to do the user login or signup with that, i have confussion on that what hook's or plugin i need to use to make that login or signup work. i'm also sharing my code so that you can help better. @baris @julian router.post('/assert', async function (req, res) { const decodedResponse = Buffer.from(req.body.SAMLResponse, 'base64').toString('utf-8'); const parser = new xml2js.Parser(); const saml_response = await parser.parseStringPromise(decodedResponse); const issuer = saml_response['saml2p:Response']['saml2:Issuer'][0]; const assertion = saml_response['saml2p:Response']['saml2:Assertion'][0]; const subject = assertion['saml2:Subject'][0]; const nameId = subject['saml2:NameID'][0]; const existingUser = await User.getUidByEmail(nameId._); if (existingUser) { await authenticationController.onSuccessfulLogin(req, existingUser.uid); return res.redirect('/home'); } else { // Create a new user const newUser = { fullname: 'testfullname', username: 'testfullname', email: nameId._, created_at: new Date(), }; const result = await db.client.collection('objects').insertOne(newUser); if (result.insertedId) { await User.setUserField(result.insertedId, 'email', newUser.email); // await UserEmail.confirmByUid(result.insertedId); await authenticationController.onSuccessfulLogin(req, result.insertedId); return res.redirect('/'); } else { return res.status(500).send('Error creating new user.'); } } });
  • A public listing of community themes created by the NodeBB community.
    48 Topics
    1k Posts
    N
    It looks like the discussion content in this topics has become outdated, so should I refer to the docs site directly instead? I want to customize the default home page and post detail page, which involves layout and style customization, so, am I correct to develop a new theme for this?
  • Need help with installing or configuring NodeBB? Look here.

    5k Topics
    27k Posts
    barisB
    You should take a look at the cpu usage on your server, if it's high look into moving your database to another server and use more than one process for nodebb. It also helps to use redis for sessions so mongodb doesn't have to deal with that. https://docs.nodebb.org/configuring/scaling/
Online Users