A plugin that creates CSS

Plugin Development

Suggested Topics

  • 0 Votes
    3 Posts

    I have tried filter:composer.create and filter:composer.build and both are not firing, the only filter hook that is firing for me is filter:composer.formatting but that does not have the correct data i need (for example the catogory, etc)

    I am using nodebb v3.0

    thx for your help

  • 0 Votes
    3 Posts

    Hi @baris

    I tried a less block and now it's all working well.

    Thanks a lot!

  • nodebb-plugin-question-and-answer

    Unsolved Plugin Development
    0 Votes
    1 Posts

    I have installed nodebb-plugin-question-and-answer v0.7.7 on nodebb v1.13.3. but when I post a topic as question, "mark this post as correct answer" is not available. "unsolved" tag is not appearing for topic which is posted as question. Please help me with this.

  • 0 Votes
    3 Posts

    @PitaJ Thanks for the answer!
    I don't really know what do you mean by "template base object", do you mean the template file, or the template renderer?

    Or it's just by doing like data.title = "blabla" before the render?

    Also can I add other metadata to improve the SEO of the page?

  • 0 Votes
    2 Posts

    What I do sometimes is create a new db entry, with the key prefixed by the user object key. The core never knows it exists, so it should always be forward compatible.

    db.set('user:' + uid + ':something', "somevalue"); db.setObject('user:' + uid + ':someobject', {one: "thingone", two: "thingtwo"});

    You just have to make sure to delete it if the user is deleted, so there's not an orphan key left behind.

    db.delete('user:' + uid + ':something');