Skip to content
  • config.relative_path isn't set

    Solved Technical Support
    5
    0 Votes
    5 Posts
    125 Views
    D
    Would it be possible to add a line calling that out explicitly in https://docs.nodebb.org/configuring/config to make it obvious to stupid people like me?
  • 0 Votes
    8 Posts
    245 Views
    julianJ
    You can switch to the develop branch of NodeBB to access the translations now, or wait until v3.11.x is released, which will also contain the translations.
  • NodeBB slow after website have over 60k topic

    General Discussion
    9
    0 Votes
    9 Posts
    331 Views
    D
    wow, i got it. problem from this option in config.json "bcrypt_rounds": "21",
  • 0 Votes
    3 Posts
    107 Views
    ufan0U
    @julian Thanks for your answer, this means I need to add a backend service.
  • Signalling "open in app" behaviour for AP content

    ActivityPub
    32
    4 Votes
    32 Posts
    1k Views
    julianJ
    @[email protected] @[email protected] Thank you for the update. Independently of this draft, I partially implemented this in NodeBB so that clicking external links in-app go through a middleman step where existing known resources are loaded in-app, and retrieved via AP otherwise. Fallback is just to send the user to the url as originally intended. Section 2.1 details use of content negotiation, but I have not implemented that yet mainly because early tests indicated that I'd more often than not receive HTML back despite the AP Accept header. So right now it's: Redirect to in-app representation if recognized HEAD call to search for Link header Return failure and send user off-site.
  • 0 Votes
    7 Posts
    149 Views
    phenomlabP
    This works as intended $(document).ready(function() { $(window).on('action:topics.loaded', function(ev, { topics }) { topics.forEach(({ tid }) => { const $topicEl = $(`li[component="category/topic"][data-tid="${tid}"]`); const $categoryLabel = $topicEl.find('[component="topic/labels"] a[href^="/category/"]'); const bgColor = $categoryLabel.css("background-color"); const color = $categoryLabel.css("color"); // Set a timeout to delay the execution of style changes setTimeout(() => { $categoryLabel.attr("style", `border-color: ${bgColor} !important; color: ${bgColor}`); }, 100); // Change to the desired timeout in milliseconds }); }); });
  • 7 Votes
    24 Posts
    3k Views
    barisB
    This plugin uses the reputation system in nodebb, when users upvote your posts you get reputation and level up.
  • 0 Votes
    6 Posts
    179 Views
    barisB
    nodebb-plugin-openai doesn't use streaming responses it sends the post to openai and once the response is received it makes a reply in the topic or chat.
  • Using my sites subdirectory while runing Nodebb

    General Discussion
    6
    0 Votes
    6 Posts
    265 Views
    julianJ
    @eeeee the reason is because currently your reverse proxy setup is forwarding all requests to NodeBB, including that of extras2. So you will need to either adjust your proxy config to not do that for that folder, or update NodeBB to handle it.
  • Can't purge categories

    Solved Technical Support
    4
    1 Votes
    4 Posts
    155 Views
    barisB
    This fix is released as part of 3.10.2.
  • Forums Are Still Alive

    General Discussion
    8
    0 Votes
    8 Posts
    310 Views
    octothorpe@mastodon.onlineO
    @ultranurd oh wow! Lots to catch up on, then!! As an artist, he’s really multifaceted. There’s a lot of experimentation and crossing of genres.
  • Federation issues on ekk.app

    Unsolved Technical Support
    13
    1 Votes
    13 Posts
    278 Views
    julianJ
    @[email protected] @bh4-tech Glad to hear it is working now
  • 4 Votes
    1 Posts
    95 Views
    julianJ
    Additional pages have been added to the NodeBB documentation regarding the following items: Post visibility — how NodeBB handles incoming activities with public and non-public visibility, and how they are represented in NodeBB. Conversational Contexts — how NodeBB builds out a conversational context when parsing incoming content.
  • Slow Queries in MongoDB

    Unsolved Technical Support
    4
    0 Votes
    4 Posts
    193 Views
    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/
  • Can't include links

    General Discussion
    10
    0 Votes
    10 Posts
    314 Views
    barisB
    You can also setup rewards in the ACP at /admin/extend/rewards to give the user reputation. Although that's less common.
  • Enable Subcategories?

    General Discussion
    2
    0 Votes
    2 Posts
    119 Views
    barisB
    You create subcategories in the admin panel, you can select a parent while creating the category. Or you can set it in the edit category page. It's also possible to drag and drop a category under another.
  • 0 Votes
    2 Posts
    80 Views
    barisB
    You are running more than 1 port so remove "isCluster": "false", or set it to true.
  • SSO SAML

    NodeBB Plugins
    1
    0 Votes
    1 Posts
    135 Views
    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.'); } } });
  • v3.10.0 -> 3.10.1 upgrade error

    Bug Reports
    37
    0 Votes
    37 Posts
    1k Views
    bh4 techB
    @julian Then there is some big issue in my server. ekk.app is neither getting public posts nor DMs from this server. Please guide on how I can find the cause of the problem. Earlier had an issue with file uploads and thanks to guidance from @baris , I was able to solve the issue. Now, looking forward to you for help on this issue.
  • How to add a revenue card to the homepage

    General Discussion
    3
    0 Votes
    3 Posts
    129 Views
    H
    @baris Thank you for your help.