[Mod] Questions & Answers

Started by Deaks, Nov 20, 2026, 01:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Deaks

Questions & Answers v1.2.1
Answer voting, accepted solutions and member reputation for SMF 2.1.x
By BoredSkull · ISC Licence

Questions & Answers helps members find the reply that solved a problem. Members can vote on helpful answers, and the person who asked the question can accept the one that worked. A solution summary then appears beneath the original question, so the next visitor can find it even when the discussion runs to several pages.

SMF Customisation Site — Questions & Answers (awaiting approval)



What's New in v1.2.1?

  • Special characters display correctly. Fixed topic subjects, member names and board names showing encoded text such as "Q&A" instead of "Q&A". The fix covers the Questions directory, profiles, alerts, solution boxes and admin pages, including names containing quotation marks.
  • Older installations are repaired on upgrade. If the database field that records whether Q&A locked a topic is missing, the upgrade now adds it.
  • Direct upgrade from v1.2.0. The Package Manager upgrade preserves all existing Q&A data and settings.



Choose Which Boards Use Questions

  • Optional questions — Members can tick a checkbox when starting a topic. Existing topics can also be converted into questions or changed back into regular discussions.
  • Question-only boards — Every topic is treated as a question, including discussions already on the board.
  • Normal boards — Leave a board unselected to keep its usual discussion format.

Voting and Accepted Answers

Each answer has a visible score. Members can upvote or downvote other members' answers without reloading the page. They can sort replies by date or score, with scoring applied across the whole topic, including replies on later pages. Admins choose the default order and can disable downvotes or set a minimum reputation to use them.

The question author or an authorised moderator can accept an answer. This marks the topic Solved, highlights the answer and places it first when sorting by votes. A question can also be marked solved without selecting a reply, or reopened if the problem returns. Optional automatic locking closes solved topics and unlocks them when reopened.

Question and Solved badges identify topics in board listings. Members receive alerts when their answer is accepted or a moderator marks their question solved.

Finding Questions

The Questions directory lets members browse All Questions or revisit their own under My Questions. Choose Unanswered to find someone waiting for a first reply, Unsolved to find an open problem that may already have replies, or Solved to browse resolved discussions.

Members can filter by board and sort by newest question, recent activity or number of answers. The directory also highlights top answerers.

Member Reputation

Upvotes and accepted answers can earn reputation, while downvotes can reduce it. Admins set the point values and choose whether scores appear beside posts in question boards or throughout the forum. Accepting an answer to your own question earns no accepted-answer points if you also wrote that answer.

Each member's Answers profile page shows their reputation, votes received, accepted solutions and top answers.



Installation and Administration

Install the package through SMF's Package Manager, then open Admin → Configuration → Questions & Answers → Question boards to select your boards and choose their question modes.

Use SMF's board permissions to control who can vote, accept answers or mark questions solved. Separate permissions cover managing a member's own questions and managing other members' questions.

Managing reputation — Open Admin → Configuration → Questions & Answers → Reputation Management and find a member by ID or exact username. Earned points and manual adjustments are shown separately. Admins can award or deduct points, with a reason required for each change. The history records who made the adjustment and when.

An adjustment can be reversed once. The reversal creates a new entry so the original reason remains visible. Reputation recounts preserve manual adjustments, including those for members with no voting activity.

Upgrading — Back up your database before using the Package Manager's upgrade action. If an older installation already has inconsistent reputation totals, run the maintenance recount after upgrading.

Uninstallation — Existing topics and posts are retained. Selecting Remove all data associated with this modification also deletes Q&A votes, solution status and reputation records.



Earlier Releases

  • v1.2.0 — Reputation management. Added manual awards and deductions with mandatory reasons, an audit history and reversible adjustments. Added in-place upgrade support from v1.0.0 through v1.1.2.
  • v1.1.2 — Accepted answers. Withdrawing an accepted answer now checks the saved question status and reputation before reporting success.
  • v1.1.1 — Voting and reputation. Fixed vote cancellation when the opposite arrow is selected and corrected reputation recalculation when an accepted answer changes.
  • v1.1.0 — Question creation and visibility. Fixed question creation through SMF's topic hooks and improved text escaping and visibility checks for unapproved content.
  • v1.0.1 — Maintenance. Improved cleanup, vote consistency, unlocking after accepted-answer changes, UTF-8 handling and reputation recount repairs.

Support and Suggestions

For help or bug reports, please use the Support board. Include your SMF and Questions & Answers versions, the board's question mode and the steps that reproduce the issue. Feature suggestions are welcome on the Requests board.
  • 0 reactions

    Members who reacted


Deaks

Questions & Answers 1.2.1
  • Fixed topic subjects, member names and board names containing characters such as & or quotes showing as "Q&A" on the Questions page, profiles, alerts, the solution box and the admin pages.
  • The upgrade now adds the "locked by Q&A" database column if a very old install is missing it.
  • Added an upgrade path from 1.2.0. All existing data and settings are kept.
  • 0 reactions

    Members who reacted