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

    4k Topics
    24k Posts
    barisB
    You would need to create new routes in your plugin like so helpers.setupPageRoute('/:groupslug/:userslug', middlewares, function (req, res, next) { // todo: get uid of user using req.params.userslug // todo: check if user is member of req.params.groupslug // todo: render account template with all data }); You can take a look at the core user routes on how to do most of this stuff.
  • Stay tuned here to hear more about new releases and features of NodeBB!

    3k Topics
    18k Posts
    julianJ
    @vipul-handa check for server side logs emitted when you visit the site and get the 500.
  • You have a cool idea about NodeBB? Post it here.

    821 Topics
    5k Posts
    omegaO
    'Course I think it calls for as an approach, the harmonisation of the topic post navigator for mobile devices with the bottom progress bar and pop-up post cycle preview cycle into the fruit machine way, right now it's like a mini version of the topic itself but with desktop timeline scroll, ultimately so many different things kinda doing the same thing differently if ya dig?
  • Discussion regarding NodeBB Plugin development.

    2k Topics
    15k Posts
    barisB
    You could use the below custom javascript, it will open the last chat if there is no open chat. $(window).on('action:ajaxify.end', async () => { const { data } = ajaxify; if (data.template.chats && !data.template.roomId && data.rooms.length) { const Chats = await app.require('forum/chats'); Chats.switchChat(data.rooms[0].roomId); } });
  • 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
    26k Posts
    T
    This is my cURL curl --location --request DELETE 'https://forumapp.findding.in/api/v3/posts/1/vote' --header 'Authorization: Bearer MY_ BEARER_TOKEN' --header 'Content-Type: application/json' --data '{ "_uid": 13, "delta": -1, "_csrf": "MY_CSRF" }' This above api is responding Forbidden curl --location 'https://forumapp.findding.in/api/admin/upload/file' --header 'Authorization: Bearer TOKEN' --form 'files=@"clouds.jpg"' --form '_uid="0"' This upload api responding as below { "path": "/api/admin/upload/file", "error": "[[error:api.master-token-no-uid]]", "bodyClass": "page-admin page-admin-upload page-admin-file page-status-500 theme-persona user-guest" }
Online Users