Open new topic composer

Solved NodeBB Development

Suggested Topics

  • 0 Votes
    3 Posts

    @julian Yup I know. But I want to code new to understand how to do it

  • 0 Votes
    2 Posts

    Yes, I think that makes sense... the adsense plugin (that's what you're using, right?) can be modified and be instructed to look for a specific tag if you don't want ads to be shown on that page...

    However, it might lead to people abusing that tag so their topics don't show ads... just saying 😄

  • 0 Votes
    1 Posts

    I have the write api plugin installed as well as the question and answer plugin. We are successfully creating topics and posts. Is it possible to create a topic as a question? I tried adding isQuestion (equals 1) to the POST body when creating the topic but it was ignored. Would the write-api have to be forked and updated to support the optional value of isQuestion? It seems clear in the question and answer plugin that it doesn't create/expose any write api of its own.

  • 0 Votes
    1 Posts

    Hi everyone, just set up my nodebb, and there are two problems I cannot fix on my own, It will be great if I can have some help here.

    1 > Is there any way for me to add some new attributes for the users myself? Like, forum coin, every time a new account created, attribute forum coin=0 attach to that account.

    I don't have too much experience on the web development, so my first thought was to create a new schema in the database for the user, and try to implement the new value, and make it visible on the page. But immediately I realized that the mongodb don't have a fixed schema, so apparently it is a wrong way to go to start from the database.

    2> I accidentally deleted the user uid=3, is there any way for me to regain the number, 3? I created user uid=4, and tried to update the _key and uid into 3 in mongodb, but eventually the account uid=4 just disappear from the forum altogether. I know this is kind of dangerous so never mind if it's difficult.

  • 1 Votes
    11 Posts

    @baris ohh i see! thanks a bunch!