do it is possible to select best answer by asker. and also to lock the topic (ie question will be unavailable to answer) after selecting best answer.

Comments

amanuel’s picture

Coming soon.

amanuel’s picture

Assigned: Unassigned » amanuel
tea xpress’s picture

would this module (Answers) be ported to v6 any time soon?

sharique’s picture

subscribing.

sharique’s picture

what's progress?
Can make a head or dev release so that we can test.

leoleo’s picture

subscribing

ZenDoodles’s picture

Can I help?

kiero63’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Assigned: amanuel » Unassigned

I'm also looking to this fonctionnality for the 6.X version. A possibility to choose the best answer and a lock option of the node after the selection.

Thanks

chipcleary’s picture

Component: User interface » Code
Assigned: Unassigned » chipcleary

Hi @kiero63.

This seems like a generally useful feature.

Can you validate that I understand what you are requesting. (Or can you point to a site that implements it the way you are envisioning it? It seems to me that the approach to "accepted answers" in StackExchange is akin to what you want.)

Here's what I understand ... is this what you had in mind?

  • A question author can select a "best answer" from the set of answers provided so far. Once this decision is made, it is final and cannot be changed.
  • After a question author has set a "best answer", when viewers browse the question, the "best answer" is displayed first.
  • A site administrator can set an option for whether this feature is enabled or not.
  • A site administrator can set an option for whether questions are "locked" after a best answer is selected.
    • "Locked" means that no further users are allowed to post answers.
    • This as a site setting (not something each question author decides on a a question-by-question basis
kiero63’s picture

Thanks for replying so quickly. I agree the most part of your plan, maybe I can add some precision.

Maybe the display first for the best answer can be an option, maybe some of us would like to hightlight it with CSS.

One thing can be to add an new field inside views for the selected answer to be display in the "question/all" path for exemple.
Maybe one way can be to use Workflow or Rulesfor making this different part working and have more flexibility. I haven't try developping under Drupal yet so maybe it's not easy as expected.

I was thinking about a limited time question option which also lock the ability to post answers. Usefull in my case because people need answers in a limited period of time. I take a look on the Node expire project. It can be a good way to investigate.

chipcleary’s picture

Hi kiero63,

My thoughts on this.

Overall, I'll proceed with the plan I have laid out. With your additional clarifications ...

Maybe the display first for the best answer can be an option, maybe some of us would like to hightlight it with CSS.

From an implementation perspective, it turns out that it will be simple for a site administrator to disable this feature. I will include instructions in the "read me" for how to do it. I'd rather do that than make another option.

One thing can be to add an new field inside views for the selected answer to be display in the "question/all" path for exemple.

This feels to me like a separate feature request. I will start a separate feature request and ask if others have this need. Maybe someone else can pick it up and work on it. FWIW, the way I'd imagine doing this is to create a parallel set of paths and create separate views that are configured to do this.

I was thinking about a limited time question option which also lock the ability to post answers. Usefull in my case because people need answers in a limited period of time.

Same as above ... this feels like a separate feature request. I will post it. (FWIW, I can understand the general need and think there are some design questions about it before implementing it (e.g., Is it for all questions on a site? Can the question author extend the time? Can the question author disable it for a question?)

How's all that sound?

kiero63’s picture

Hi chipcleary,

I understand what you mean and I agree with the fact that my others requests can be separate modules for exemple to extend the possibility of this one.

Thanks again for taking times on it.

chipcleary’s picture

Status: Active » Closed (fixed)

A separate module is now available to provide the best answer feature. Please see Best Answer.

I've made a dev version available and will leave it that way for a few weeks for testing. If you have feedback, please leave it on that project site.

(Separately there is a conversation starting about incorporating some work by @seaji that may also offer this feature built into the Answers module. Stay tuned.)