I have problem with category

Unsolved General Discussion

Suggested Topics


  • 0 Votes
    1 Posts
    734 Views

    Hi, I was using the write api plugin to create new categories and I wonder how I can also create the new category with a background image. Looking at the write api plugin's api endpoint, I only see:

    Requires: name
    Accepts: description, bgColor, color, parentCid, class

    But I'm also interested in uploading an image for this category and probably also change the "numRecentReplies" value from 1 to 3

    Thanks!

  • Group category image?

    General Discussion
    0 Votes
    12 Posts
    3k Views

    @tfraley theme updated to display cover images for groups

  • 0 Votes
    4 Posts
    2k Views

    @belstgut said:

    Not really sure what all the hype about mongodb/redis lately is, if you can use well tested sql databases.

    MongoDB is well tested too. But beyond being super stable, it is screaming fast - far faster than any relational database, it has amazing sharding properties, it speaks native JSON, it is getting a massive amount of active development, it is considered the native database for Node.js on which NodeBB is built and it scales like crazy.

    Now the big one.... when using Node... those "well tested sql databases" are not well tested. MongoDB is far more stable and tested than any of them and, in fact, lack of highly reliable drivers is a major issue for relational (what you call SQL) databases.

    So there are very, very good reasons to use NoSQL, especially MongoDB specifically. Speed, stability, battle tested, native, etc. I'm not actually clear on any upside to using a relational database here. Relationships are nice, but would they add any value at all in an online community infrastructure?

    Also, I should note, some online communities that we have dealt with have scaling issues specifically because they eschewed this advice and went with those "well tested" relational databases. Once they grew and got busy they were unable to keep pace and they bogged down and had to throw crazy amounts of money at keeping respectable performance when MongoDB or other similar datastore could have been faster for cheaper.

  • 0 Votes
    2 Posts
    810 Views

    Doing the same thing when trying to move or delete a topic as well

  • 0 Votes
    3 Posts
    3k Views

    @a_5mith thanks