Skip to content

General Discussion

A place to talk about whatever you want

3.8k Topics 23.2k Posts
  • Installing Nodebb On my server

    3
    0 Votes
    3 Posts
    1k Views
    A

    @priyapinkyz No.

  • One collection vs several collections

    8
    0 Votes
    8 Posts
    6k Views
    barisB

    If you are only going to use mongodb definitely have multiple collections with indices that make sense. For example your users collection can have indices on username whereas your posts collection can have indices on content and userid etc.

    Well, remember that NodeBB is firstly designed with redis in mind (a simple in-memory key/value store) so that might affect the document design decisions they made for their mongodb collection.

    This is why we have one collection in our mongodb implementation. To make db.delete db.rename easy to implement. From the db perspective there is no difference between a post and user object they are both indexed by the _key field so finding them is easy. For sorting and querying we use sorted sets, they are implemented in mongo using indices on value and score.

    if embedded documents in my collection persons is more efficient than saving them in the same collection with a different key.

    I wouldn't suggest embedding lots of documents, mongodb has a document size limit of 16mb so it won't let you insert more users after some point.

  • 5 Votes
    9 Posts
    3k Views
    KowlinK

    Well, congratulations. NodeBB has come far and its only going to get better.

  • language switcher

    8
    0 Votes
    8 Posts
    3k Views
    yariplusY

    @noder said:

    To be clear, i'm talking about localizing the navigation and the back-end (not the content) so non default language speakers will also be able to join and there will also be a section dedicated to English/other language speakers.

    Ah, okay! That makes sense.

  • nodebb 0.7.1 sensational

    1
    2 Votes
    1 Posts
    1k Views
    codejetC

    I didn't think that Nodebb could be improved much more but once again I am surprised and enjoying !

    Well done guys 👊

  • nodebb localhost migrate online

    5
    0 Votes
    5 Posts
    2k Views
    S

    Thank you 🙂

  • Upgrading NodeBB 0.7.1 Merge Conflicts?

    7
    0 Votes
    7 Posts
    2k Views
    S

    @julian Thanks! everything is great now!

    Upon npm i I received this at the end

    npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/user/nodebb/npm-debug.log npm ERR! not ok code 0

    Is that normal?

  • JavaScript edge cases

    9
    1 Votes
    9 Posts
    4k Views
    R

    Duh! Of course! That annoying ;-insertion. Nicely done!

    semi: [2, "always"] 😉

  • Idea: the minimum number of tags

    8
    0 Votes
    8 Posts
    2k Views
    yariplusY

    @XenTerSeO

    In core now. 👍

    Thanks @baris for helping.

  • how to get this?

    3
    0 Votes
    3 Posts
    1k Views
    Blue-OrangeB

    Thanks for your help

  • How create a table

    6
    0 Votes
    6 Posts
    3k Views
    frissdiegurkeF

    I don't know any way and it would surprise me if there was since it's an aim of Markdown to get rid of bad markup.
    What does justify text to be centered? Mostly you do this for some kind of header-text, use #, ##, etc. for this.
    Maybe you want to use it as some kind of footer, use --- (hr) for the separation.

    Centered text is just meant for esthetic reasons but the text doesn't really have a justification for this, so Markdown doesn't support such usage in order to keep a clean standard.

    If it's images you want to be aligned centered I can understand your sense of esthetic. But you still need the admins help to allow this (e.g. using this hack).

  • Concept - Subtopics

    15
    2 Votes
    15 Posts
    6k Views
    agd1A

    As another thought (and totally brainstorming here), what are the thoughts on a feature where when a user replies to a post they are given the option to reply in a forked thread? Very much like the "comment on comments" you see in mainstream social media.

    UPDATE -- just found some older discussion on this, and was glad to see it!

  • Help: alternative login - redirects

    7
    0 Votes
    7 Posts
    3k Views
    tfraleyT

    @julian
    You are the man that did it.
    And thank you for the github refresher I will make sure to make notations for future updates..

  • Problems with plugins update

    4
    0 Votes
    4 Posts
    1k Views
    K

    Ah, ok.
    Thank you 😄

  • Which installation method used for this forum?

    9
    0 Votes
    9 Posts
    4k Views
    S

    @julian said:

    We really ought to transition it over to our SaaS services. Where do I send the bill?

    And where will users find you if, god forbid something goes down? All eggs one basket and all that...

  • Iframe not loading - Help

    9
    0 Votes
    9 Posts
    3k Views
    tfraleyT

    We can close this top..

    I'm not realy sure how I fixed it.
    I went into my DNS host changed the domain to another one, tested then switched it back and seems to have shaken something lose in the dns

    Thanks for the help

  • 0 Votes
    2 Posts
    824 Views
    barisB

    x / 32767 😆 @psychobunny

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
  • 0 Votes
    4 Posts
    3k Views
    julianJ

    @askar said:

    Just found NodeBB doesn't even have email alerts

    here https://community.nodebb.org/topic/1835/nodebb-is-better-discourse-is-better

    This post is quite dated... 🙂

  • 1 Votes
    8 Posts
    5k Views
    A

    More storage for posts in return for a small (negligible) sacrifice in speed.