Question Answer Plugin

That’s correct, Its only happens with old posts. Thank you for the updates :ok_hand:. It solved the issue

1 Like

hello
how to install the plugin could you please give some instruction of how to install it ?

Like any other plugin. Search “#howto install plugin”

1 Like

thanks installed it now

1 Like

There is an error of on this plugin after the latest update.
When you visit the pending users message “One User Pending Approval” page the page won’t load (only half of the page) with this error. Disabling this plug in fixes the issue.

_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:29446 TypeError: Cannot read property 'qa_one_to_many' of undefined
    at setupComponent (_plugin-third-party-78fff53bee08d5374d237bfb07d7389d9c8ce5a33187bf7b215086e104e0f160.js:69)
    at s.init (_application-80ee9fc6123d4a680c007646f102ba0abe0db9bfb9b32b60a347064dcf1d536e.js:47189)
    at s.n [as init] (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:50483)
    at new s (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:47842)
    at Function.u.create (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:48035)
    at e.create (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:14063)
    at n.create (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:24838)
    at _ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:11461
    at e.evaluate (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:11459)
    at e.next (_ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js:11710)

2 Likes

Thanks, fixed:

https://github.com/angusmcleod/discourse-question-answer/commit/2c3c49b7e9e312ac18ca3804bf811e51e1f2f680

4 Likes

Did anything get broken in the Great FontAwesome upgrade?

I pushed a few updates a little while ago and some more just today. It should be all A OK now.

2 Likes

Thanks! I figured no news was good news and upgraded yesterday. I am aware of no ill effects, but I’ll do another update now.

1 Like

Is there a way mark as solved can be enabled and disabled via tagging like this plugin and in tandem with it? Given my forum’s directory structure, it would be unintuitive having to add a subcategory only for mark as solved topics. This plug-in, in my humble option, uses a much smarter approach than the mark as solved plug-in does. Hat’s off to the devs… If only it could replace it entirely…

Not currently. You could hire me to do it, or you could wait until I have some free time…(2020?)

6 Likes

Thanks. PM sent expressing my intent and interest.

3 Likes

Hi @angus, great plugin!

  1. Counting of votes
    If a user upvotes a post, does this count then as a like?
    Since a lot of the user reputation is coupled with post liking, having these two go hand in hand seems to make sense.
    Maybe it is the case but I could not figure it out.

  2. String translations
    There are a number of strings which are not translated into German such as “Answer” or “X person voted for this post”.
    How can I translate these strings into German?

Hi,

Does it supports Google’s Q&A schema markup?

https://developers.google.com/search/docs/data-types/qapage

After the new 2.2 update it has become more complicated to change the fill colors of the SVG icons via CSS.

In my case I made the Comment button bg color same as all my other reply buttons.
Does anyone have a suggestion how to adjust the fill color of the svg icon in an easy way?

I’m running into a UI issue: my users keep creating new answers in response to other answers, I assume because they don’t realize they should be using the “Comment” button instead.

This is understandable given that they’re used to using “Reply” everywhere else, and probably don’t notice the button says “Answer” instead, especially as the arrow icon is the same.

Would it make sense to style the “Comment” to look more like “Reply”, and changing “Answer” to maybe use a different color and/or changing the icon to something that Reply doesn’t also use?

1 Like

We have a parent category having 496 subcategories. Now the thing is how do I enable q&a for this 496 subcategories??

I tried enabling q&a format on the main category but it doesn’t change anything for subcategories.

Well, you should see It’s Time We Talked About Tags.

But if you have address to the rails console you could do it with a couple lines of ruby.

4 Likes

Sorry for the neglect here!

There’s no connection between upvotes and likes.

You can submit a translation to the transifex project for this plugin: https://www.transifex.com/civically/discourse-question-answer

Not yet, but this is a good candidate for the next work item.

You can use css as normal, e.g.

11%20AM

Yup, definitely worth a shot. You can add this CSS in a theme to test it out. Let me know if you need help with that. Maybe if you could try it out, see if it works then if it improves the real world use, I’ll update the core plugin too.

4 Likes

+1 from my side! I totally agree and want to use it in same fashion