How to add custom field to Category, Topic 1.5.1 version

NodeBB Plugins
  • I want to add some custom fields to Category and Topic. For example: Image, Descriptions, Type.
    i found ns-custom-field plugin, add-custom-registration-field... but it's not working with 1.5.1 version. Pls help me


Suggested Topics


  • 0 Votes
    13 Posts
    272 Views

    Thanks again, all working 🙂

  • Avoid custom CSS in admin

    NodeBB Plugins
    0 Votes
    1 Posts
    154 Views

    In my plugin I write a lot of custom CSS (with LESS) and I do some overrides to speed things up (kind of tight deadline). one example is a custom btn-primary from bootstrap. I'm having a problem where this gets propagated into the admin view. I want to keep everything in the administration panel the way it is. Right now I'm solving it by doing this in my top LESS.file.

    body:not(.admin) { @import "buttons"; @import "help"; @import "login"; }

    The problem I'm facing is that i can't do something like body { display: none; } in another file since it's a child of that first file. I need to either add the style at the top with no surrounding class (which of course creates a lint problem), or add a class to the very top, like so &.page-login { css }.

    Is there an easier way to just exclude admin from css?

    Thanks!

  • 0 Votes
    19 Posts
    4k Views

    npm install npm@4 -g should also fix this issue

  • Post new topic to Twitter

    NodeBB Plugins
    0 Votes
    3 Posts
    1k Views

    I currently use TwitterFeed to do mine. It's been around a few years and has some good options for filtering and when to fetch topics and so on. Also caters for Facebook and LinkedIN, though I can't say i've had much experience trying them. It uses your RSS feeds to get new topics.

    Personally I'd prefer a built-in option but it does the job.

  • 0 Votes
    1 Posts
    733 Views

    For example, if I went to my user profile, I would be able to see a list of activities performed myself, being able to make status updates etc. Is there a plugin that does already ties a set of table of records to a userid that I could study?

    Otherwise, is it actually possible to do it on nodebb as a plugin? Tks!