How to implement a Question & Answers section in my website?


I'd like to implement a Question & Answers section in my (already existing) Drupal website. Ideally it should be similar to a StackExchange site, such as the one for Drupal Answers but without these "strings attached" that are typical for those sites:

  • I want to decide about the license of the actual content of the site myself.
  • I want enough configuration flexibility to set my own "rules", like how much reputation points does a user get (or loose) for performing specific actions.
  • I want to assign "moderators" myself (instead of depending on community elected moderators).

Even better would be if they can be open source based also, similar to sites using either of these:

Any suggestions about how I can do so? Like Is there a module for it?

Note: there is also Piazza, which appears to be designed to connect students and teachers so that every student can get the help they need when they need it. But that appears to be too much specialized to a target audience like schools, etc. Even though I do understand that schools may be possible users of Q&A systems, I don't want my solution to be limited to a specific target audience.



Which version of Drupal are you using, is it version 7?

- Pierre.Vriens - 6 years ago.

Sorry for not mentioning that in my question right away ... It is not Drupal 6 (anymore), and not Drupal 8 (yet). It's right in the middle, i.e. Drupal 7 ...

- Demo.User - 6 years ago.


2 answers

This one is the BEST answer!

Glad you asked ... not sure if you realize, but the question here has been posted ... Using the 7.x-4.0-dev version of the Answers module. These modules related to the Answers module are enabled:

  1. The "core" Answers module, which enables the content types "Question", and "Answer" (whereas Answers are displayed below the Question they relate to).
  2. The Answers Theme sub-module, which transforms the (rather boring) vanilla display of a Question (and its related Answers below it), into a way more attractive look-and-feel. Such as the orange bubble that is added around the question (to better highlight it).
  3. The Answers Best Answer sub-module, which allows for marking any of the answers to a specific question as the best (accepted) answer (to display the blue checkmarks to the left of each answer, and which is replaced by a green checkmark when an answer is marked as the best answer).

And there are more interesting features that are available (and enabled in this site), such as:

  1. The Answers Notification sub-module to allow logged in users to subscribe to selected questions, so that they receive notifications (using the Message Stack) when Questions receive Answers.
  2. The Answers Voting sub-module to implement a system to upvote or downvote either Questions and/or Answers (which uses the Rate module).
  3. The Answers Userpoints sub-module to increase or decrease "*reputation points*" (which uses the Userpoints module) on events such as up- or down-voting on a question or answer, or marking an Answer as the "*Best Answer*".

Also, for an interesting video tutorial about this module (using the old 7.x-3.x version), refer to Creating a question and answer website in Drupal.

Disclosure: I recently became a new maintainer of it ...


That's really easy ... there is a module for it ... it's the Answers module.

Here is a quote about it (from its project page):

Answers provides a question & answer service. Users can post questions and other users can answer them.

Head over to its Community documentation for way more details about it!


Merci (oeps: thank you) for this interesting answer! I'll have a look at it and get back to you afterwards.

- Demo.User - 6 years ago.