QnA, ask as a question issue

General Discussion
  • QnA plugin enabled. Tried to post a topic. Clicked the arrow button next to submit button to select "Ask as a Question" and I had a topic as a question posted. But clicking that button didn't do apparently anything and I thought initially that it wasn't working.

    Is there any way to show something there when "Post as Question" option is active? Also, don't know if only I have that problem in particular, but after I posted a question that way any new post I make defaults as a question post.

  • @ckubs said in QnA, ask as a question issue:

    QnA plugin enabled. Tried to post a topic. Clicked the arrow button next to submit button to select "Ask as a Question" and I had a topic as a question posted. But clicking that button didn't do apparently anything and I thought initially that it wasn't working.

    Yeah, I also still do not quite understand the functionality of that button...

    Also, don't know if only I have that problem in particular, but after I posted a question that way any new post I make defaults as a question post.

    That happens because it posts automatically the topic as a question in the categories you've selected on the plugin settings page on ACP.
    If you don't select that category on the plugin settings, the topic will be normal as default when you post.

  • @jtsimoes Checked. Plugin settings only allow questions to be enabled for all categories or just some of them, not make them default or not.

    Also I notice that categories not ticked on plugin settings still have the dropdown button showing on composer area with "undefined" instead of "question".

  • @ckubs

    Checked. Plugin settings only allow questions to be enabled for all categories or just some of them, not make them default or not.

    Yes, still I think this is a intentional feature, not a bug... And I love this thing of automatically asking topics as a question in the categories selected, and not like a normal topic, because sometimes users don't know how to do it, or even don't know if the forum has that plugin or not.

    Also I notice that categories not ticked on plugin settings still have the dropdown button showing on composer area with "undefined" instead of "question".

    This is definitely a bug... Should be nothing on the arrow dropdown menu on the non-checked categories and you shouldn't be able to ask a question or mark topic as a question in that categories.

    I already reported this on plugin repo a few days ago, but I still have no answer:
    https://github.com/NodeBB/nodebb-plugin-question-and-answer/issues/50

  • @jtsimoes That happens when a category is not allowed to have questions. I see the problem occurs outside composer too. zzz-bug.png

  • @ckubs Ik and already reported... That bug is not fixed yet on the latest version but at least the "undefined" text is.
    So please update to the version 0.3.4.
    You can't do it through the ACP, you need to install it via npm install nodebb-plugin-question-and-answer because (at least my NodeBB) can't get the latest version of this plugin correctly... It is stuck in version 0.3.2, I don't know why:
    dbf4fe7d-87fd-458f-bd8e-87a97422e524-image.png

  • @jtsimoes Maybe @psychobunny has any clue about this. For what it does the plugin is very usefull.

  • Ours only detects 0.3.2 as well.

    Screenshot from 2019-02-10 10-31-07.png

  • @scottalanmiller Super weird... I suspected they had not done npm publish but I took a look at plugin package on npm and there, the version is right: 0.3.4

    9d6da68e-9a11-49ec-b2ed-88f5b71e2acf-image.png

  • @ckubs I also wish there was more maintenance in this plugin, because I have a pending pull request to be accepted. And besides that, it's a awesome plugin, like you said.


Suggested Topics