Hey @angus,
Here is some discussion that I thought you might be interested in:
Hey @angus,
Here is some discussion that I thought you might be interested in:
Not sure how to use this tag?
Wondering Miro if that tag is for when you havenât enabled the plug-in for a particular category but you do want one topic in the category in question to have the question-and-answer toggle active? Betting it is something like thatâŚ?
Yup @McBlu is right. You can use that setting to create a QA topic outside of a QA category. e.g.
Yes, it took me some time.
Made forum section with Q&A.
But in any section I could start as a Question if in tags add âquestionâ .
Before that; first need to enable tags.
ThanksâŚ
The string:
Enable QnA style for topics in this category.
should be âMake all topics in this category QnAâ, since if a category has this checked, then you cannot make a topic ânormalâ, or am I missing something?
Yes, youâre right. Apologies for the confusion.
As a suggestion, I think an âI have the same questionâ button would be great.
Many users just reply to a question with.âI have the same questionâ, and thatâs load a topic too much for no reason and sometimes it makes other users to not open it because are thinking the answer was already posted. Also posted on Discourse Solved (Accepted answer plugin)
What do you see as the distinction between a âI have the same questionâ button and the like button?
Iâm guessing that users think of the Like button what they are using it on Facebook. (Like anything). I already explained that I have a lot of replies like. âI have this question too, Iâm looking for an answer tooâ. And so on. Even doesnât matter what the like button means, but how users use. Please like things just becauseâŚ
Sorry, maybe I should have been a bit clearer in my question.
Do you mean this is likely to happen, or are you using this plugin and finding that people are posting âI have this question tooâ on QnA topics?
If itâs actually happening in topics with this plugin, then perhaps we need a solution for it. If not, then letâs see what happens in practice.
I recently added some updates to this plugin to make the QnA paradigm clearer. Perhaps they will help for this issue too (i.e. by making it clear that posts in the topics are either answers or comments on answers).
Answer-specifc and comment-specific reply buttons
QnA-specific topic map
We were building discourse with the Q&A plugin just fine a few weeks ago. But now we get this error:
rake aborted!
NoMethodError: undefined method is_category_topic?' for #<Topic:0x00559bd9efe488> /discourse-build/plugins/discourse-question-answer/lib/qa_helper.rb:5:in
qa_enabledâ
/discourse-build/plugins/discourse-question-answer/lib/qa_post_edits.rb:21:in `qa_enabledâ
hm, I have not encountered this error when building my sandbox with the Q&A plugin.
Also is_category_topic?
is a method of the Topic
class in core Discourse, so Iâm not sure why it would be undefined
on what seems to be an instance of the Topic
class.
Do you have any other third party plugins installed?
Does this only happen when running ./launcher rebuild app
?
In any event, Iâve added a check that should handle your situation.
This is happening during a plugin install. We have other 3rd party plugins: poll, lazyYT, discourse-oauth, and a couple others.
I will try it again with your check. Thanks for the quick response. Will let you know how goes.
The fix worked! Thank you!
Is there anybody who got a problem after install this plugin?
After i checked production log in my server, it says
undefined method `vote_count' for #<Post:0x00007fe54c498548>
Iâm using Discourse version v2.1.0.beta2 +194, and only installed official ads plugin with default docker manager plugin.
Thanks
Perhaps this is due to this?
https://github.com/discourse/discourse/commit/96aca6d7e6dc3c05d761098a19f96b82d2783b1c
Iâve tried the plugin with code changes that removed âvote_countâ attribute, and somehow it works.
But vote counter become âundefinedâ
I do not understand why the Post model has the vote_count attribute, even though Discourse doesnât has a feature that votes on a post.