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
    julianJ
    Could it be that the idea that quoted posts on forums are not rich resources (and thus liable for deletion) are an artifact of an older age of the internet, but at the same time is a feature, not a bug? 100% agreed that in a forum context the ability to quote the text of a post is important. Forum users often extend this in many ways, not limited to: Holding a user accountable (by preserving their words from future editing) Emphasis of certain portions of text Excision of unrelated portions of text Simply displaying the quoted post as a linked resource robs the end user of all that additional functionality, and that is something I am not sure I want to concede. @Christian-Stange @[email protected] @Panzz
  • Help Translate NodeBB
  • Regex Question.

    15
    0 Votes
    15 Posts
    5k Views
    frissdiegurkeF
    I'd like to help you out, but I'd need more specific inputs you'd like to read the ID and the parameters from. Currently I can just tell you that sth. like [\w\-_] is no clean regex since it's equivalent to [\w-] and the shorter the better the overview Also the [^<a]+ out of the last full regex of @esiao would stop at the first a occurrence, not only at the first <a occurrence as it may suggest. So there are a few not-so-well parts within each regex I've seen yet and you didn't consider users who put the v=... parameter after other parameters within the regularUrls. And are you sure that it'll always be like <a href="...">...</a> and in no case the a-tag could get another attribute (My emoji-extended broke at some version because the code-tags got ^^)... If you want me to help you out with more clean regex (up to my knowledge) I'd likely help you if I get a few example URLs that cover all cases. Also if you'd be willing to learn regex syntax I'd try to explain my results afterwards But for now I have to sleep first, good night zzz
  • npm question.

    1
    0 Votes
    1 Posts
    717 Views
    A
    So turns out I've been committing plugins on two seperate accounts, because my brain cells have 410. I have 6 packages on one account, and 7 on another. I would like to combine them. As trying to publish my changes is giving me 403 errors. And I can't seem to logout of one npm and log in to the other. I'm all so very confused.
  • Change default root path

    6
    0 Votes
    6 Posts
    2k Views
    julianJ
    @vatsal https://community.nodebb.org/topic/1168/nodebb-plugin-custom-homepage-basic-cms-plugin-custom-homepage
  • Account mismatch when I logged in with sso

    1
    0 Votes
    1 Posts
    2k Views
    O
    I run NodeBB on a CentOS server, which is a Hyper-V virtual machine. And I pass requests via a IIS server with ARR. I'm sure it works fine with websocket. It works OK when I have few members. But, when I put it online, I get something strange: members on my site sometimes logged in as others. Let me describe it more clearly : my username is oott123 as you can see, but after I visit some pages, or logged in after some while, I can see someone else 's avatar displayed on the top right corner. If I post a topic , the author will be he, not me. All of my operations seems operated by others. My code is here: https://gist.github.com/oott123/66a507a2cadbb26415aa I want to get the CIVITAS-Authentication cookie which has been setted by other applications without error; then send it to my API server to get email identified by CIVITAS-Authentication; then logged the user in. I think the problem is caused by the code around line 86 or 143. I even thinked about it's caused by async or node.js event loop, orz. There's some Chinese character in the comments, but you can ignore it. Thanks a lot for help me , and sorry for my poor English again. -- @a_5mith So do you still remember me at Topic 2593 ? I just really love NodeBB, so I hope there's some way to help me troubleshot it .
  • Incorporating NodeBB into my web app

    3
    0 Votes
    3 Posts
    2k Views
    agarcia17A
    @julian thank you! I'll take a look into that plugin
  • Tag size

    6
    0 Votes
    6 Posts
    3k Views
    maniM
    @julian Thanks, the default min size of tag is 3, so that's the problem.
  • need some help with my first plugin

    8
    3 Votes
    8 Posts
    3k Views
    julianJ
    Yes, the action:ajaxify.end client-side hook will be fired every time a page changes (not sure about cold load, but I believe so...). data.url will contain the url of the page, so check that it matches the regex /^topic/[\d]+/ to ensure you're adding event handlers on the correct page.
  • Mo Plugins Mo Problems

    7
    0 Votes
    7 Posts
    3k Views
    julianJ
    Aw, David Tennant! I just finished watching The Fall of Pompeii
  • MongoDB index changes

    3
    0 Votes
    3 Posts
    2k Views
    barisB
    It's not a must, but doing it will save quite a bit of space when your forum gets large.
  • Getting Topic Title & Category Name from a TID and CID respectively?

    2
    0 Votes
    2 Posts
    1k Views
    esiaoE
    @a_5mith With an AJAX request to yourdomain.com/api/topic/tid the topic address will be avaible you just need to pass a new request to yourdomain/api/topic/{data} and you'll have all the information you need.
  • Blog Comments powered by NodeBB

    18
    6 Votes
    18 Posts
    7k Views
    P
    Awesome. Don't forget to let us know your site URL so we can post it on our "who is using NodeBB" thread Edit: don't forget @baris he is usually too busy making NodeBB awesome to have time to post on forums
  • Extension to the ignore feature.

    3
    0 Votes
    3 Posts
    987 Views
    barisB
    Topic move notification is fixed on master.
  • How can I use dump.rdb in other nodebb?

    4
    0 Votes
    4 Posts
    2k Views
    maniM
    @julian Thanks!
  • About that Move feature

    15
    0 Votes
    15 Posts
    3k Views
    A
    @nashsai If the moderator can see the forum then they can move topics to it. You could possibly hide it from the move list using css selectors or javascript. But I'm not 100% on that as I'm currently on a mobile. The reason it's like this is because if that wasn't the case. You wouldn't be able to move topics without an admin. So you may as well just hide the move topic functionality.
  • Helmet - Express Middleware

    2
    1 Votes
    2 Posts
    3k Views
    julianJ
    Yes, we fully intend on utilising this with nodebb, assuming the overhead is minimal.
  • How to properly include anything.js

    3
    0 Votes
    3 Posts
    4k Views
    sdnycoS
    I'll have to do some more testing. Thank you for your help.
  • Is that possible to display all post in one page?

    1
    1 Votes
    1 Posts
    890 Views
    Peter Zhe ChenP
    Like discourse where all the posts can be displayed in one page and also can be filtered by their category? I feel that model makes category more like a tag and allows people to see everything at once. Is there technical issue why this cannot be achieved? Maybe it can be a theme idea? I really like nodebb as a fast and modern forum technical wise, but also enjoy the UI philosophy behind discourse..
  • Better late than never... revamps to mobile composer

    7
    3 Votes
    7 Posts
    4k Views
    esiaoE
    Fun thing about Apple Safari on iOS the bars that are not removable takes like 100px of the total height resulting in a 400px height canvas for your website and add the keyboard over this to have some fun.
  • Emojione

    12
    1 Votes
    12 Posts
    4k Views
    A
    @julian Yeah, the images appear in a folder on their github, and I think they're referenced similar to how the nodebb emoji plugin works, but just has more cases to look out for.
  • mainPost content strip HTML

    3
    0 Votes
    3 Posts
    1k Views
    T
    I figured you could do this the same as this category.description = validator.escape(category.description); When I comment this out, it allows the parsing of HTML in category descriptions. I would like to do this because if you have plugins such as the YouTube Lite, or a bunch of images, it shows all of that when you have mainPost.content implemented in your template. Looks messy.