News:

Why not join! Get you away from Social Media!

Main Menu

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.0
Turn Forum Discussions Into a Powerful Question & Answer Community!

By BoredSkull for SMF 2.1.x
ISC Licence



Overview

What if your members could do more than simply ask questions and receive replies?

Introducing Questions & Answers, a modification that brings dedicated question threads, answer voting, accepted solutions and a reputation system to SMF.

Inspired by the question systems found in XenForo and Stack Overflow, Questions & Answers transforms ordinary forum discussions into structured knowledge-sharing experiences where the most helpful answers rise to the top.

Members can ask questions, vote on useful answers, mark problems as solved and build their reputation by helping others.

Whether you're running a technical support forum, gaming community, educational platform or general discussion board, Questions & Answers helps members find solutions without searching through pages of replies.



Flexible Question Boards

Choose how Questions & Answers works within your forum.

  • Optional Questions: Members can choose whether a new topic is a question using a simple checkbox. Existing topics can also be converted into questions or back to regular discussions.
  • Question-Only Boards: Every topic is treated as a question, including existing discussions.
  • Normal Boards: Unselected boards continue working exactly as before.

This allows you to introduce structured question discussions without changing how the rest of your community operates.



Community-Powered Answer Voting

Give members the ability to recognise helpful contributions.

  • Upvotes and Downvotes: Each answer includes voting controls and a visible score.
  • Instant Voting: Votes are saved without reloading the page.
  • Flexible Voting Rules: Administrators can disable downvotes or require a minimum reputation before using them.
  • Fair Voting: Members cannot vote on their own answers.
  • Answer Sorting: Sort answers by highest score or date, with the administrator choosing the default.
  • Cross-Page Ranking: The highest-voted answers can appear first even when discussions contain multiple pages.

Members can switch between vote-based and chronological sorting depending on their preference.



Accepted Answers & Solved Questions

Finding a solution shouldn't mean reading every reply in a lengthy discussion.

Questions & Answers introduces a dedicated solution system.

  • Accept an Answer: The original question author or an authorised moderator can select the answer that solved the problem.
  • Solved Status: Questions are automatically marked as solved when an answer is accepted.
  • Highlighted Solutions: Accepted answers receive special highlighting and appear first when sorting by votes.
  • Solution Summary: A convenient summary appears beneath the original question.
  • Manual Solving: Questions can be marked solved without selecting an individual answer.
  • Reopen Questions: Mark questions unsolved again when further assistance is required.
  • Optional Automatic Locking: Lock solved questions automatically and unlock them if reopened.
  • Topic Badges: Question and Solved indicators appear in topic lists.
  • Member Alerts: Notifications when an answer is accepted or a moderator marks a question solved.

The result? Members can identify useful answers and resolved discussions much more easily.



Reward Helpful Members With Reputation

Questions & Answers includes a reputation system based on meaningful contributions.

Members earn reputation when their answers receive upvotes or are accepted as solutions. Downvotes can reduce reputation, with all point values configurable by administrators.

  • Reputation Scores: Display reputation alongside posts in question boards, or throughout the entire forum.
  • Member Rankings: Recognise contributors based on their reputation.
  • Profile Statistics: A dedicated Answers page displays reputation, votes received, accepted solutions and top answers.
  • Configurable Points: Administrators decide how many points votes and accepted answers are worth.
  • Automatic Recalculation: Reputation is calculated from voting and accepted-answer records.

Members cannot earn accepted-answer reputation from answering their own questions.



NEW in v1.2.0: Reputation Management

Version 1.2.0 introduces a dedicated administrative system for managing reputation beyond automatic voting.

Available under:

Admin > Configuration > Questions & Answers > Reputation Management

Administrators can:

  • Find Members: Search by member ID or exact username.
  • View Reputation: Inspect earned points and manual adjustments separately.
  • Award Points: Recognise helpful contributions that deserve additional credit.
  • Deduct Points: Apply manual reputation corrections when appropriate.
  • Require Reasons: Every adjustment must include an explanation.
  • Audit History: Record who made each change and when.
  • Reverse Adjustments: Reverse previous changes without deleting their history.
  • Recount Protection: Manual adjustments remain intact during reputation recalculations, including for members without voting activity.

Reversals are recorded as new history entries and cannot be applied repeatedly.

This gives administrators direct control over reputation while maintaining a transparent audit trail.



A Dedicated Questions Directory

Make it easier for members to discover questions requiring attention.

The dedicated Questions page includes:

  • Unsolved Questions: Find discussions still looking for solutions.
  • Unanswered Questions: Discover questions awaiting their first response.
  • Solved Questions: Browse discussions with identified solutions.
  • All Questions: Explore questions across enabled boards.
  • My Questions: Quickly revisit questions you've asked.
  • Flexible Filtering: Filter by board and sort by newest, recent activity or number of answers.
  • Top Answerers: Highlight members making valuable contributions.



Administration & Permissions

Questions & Answers integrates with SMF's existing board permission system.

Administrators can configure:

  • Which boards support questions.
  • Optional or question-only board behaviour.
  • Default answer sorting.
  • Upvote and downvote behaviour.
  • Minimum reputation required for downvotes.
  • Reputation points for votes and accepted answers.
  • Automatic locking of solved questions.
  • Reputation display locations.

Dedicated permissions control who can vote on answers and who can accept solutions or mark questions solved, with separate controls for their own questions and other members' questions.



Version History

v1.2.0 - Reputation Management
  • Introduces manual reputation awards and deductions.
  • Adds mandatory reasons, detailed audit logs and reversible adjustments.
  • Preserves manual adjustments during reputation recounts.
  • Supports in-place upgrades from v1.0.0 through v1.1.2.

v1.1.2 - Accepted Answer Reliability
  • Improved accepted-answer withdrawal verification.
  • Checks stored reputation and question state before confirming changes.
  • Prevents unsuccessful operations from appearing successful.

v1.1.1 - Voting & Reputation Fixes
  • Corrected opposite-arrow vote cancellation behaviour.
  • Improved reputation recalculation when accepted answers change.

v1.1.0 - Reliability & Security
  • Fixed question creation through SMF's topic creation hooks.
  • Improved output escaping and visibility restrictions for unapproved content.

v1.0.1 - Maintenance
  • Improved cleanup, vote consistency and accepted-answer unlocking.
  • Improved UTF-8 handling and reputation recount repairs.



Installation & Requirements

Requirements:
  • SMF 2.1.x

Install through SMF's Package Manager.

After installation, navigate to:

Admin > Configuration > Questions & Answers > Question boards

Choose which boards should support question topics and configure your preferred settings.

Upgrading: Existing installations from v1.0.0 through v1.1.2 can upgrade in place without losing configuration, votes or reputation data.

Important: Back up your database before upgrading. If upgrading from an earlier version with reputation inconsistencies, run the maintenance recount after upgrading.



Uninstallation

Your existing topics and posts are retained when the modification is removed.

Selecting Remove all data associated with this modification will also remove the modification's votes, solution status and reputation information.



Why Choose Questions & Answers?

Traditional forums are excellent for discussions, but finding the best answer to a question can sometimes mean searching through pages of replies.

Questions & Answers combines SMF's familiar discussion system with structured question management, community voting and recognised solutions.

Instead of simply accumulating replies, your forum can build a searchable collection of useful answers while recognising the members who contribute them.

Ask Questions. Share Knowledge. Find Solutions.



Developed by BoredSkull

Licence: ISC

Helping communities find the answers that matter.

Awaiting Approval - https://custom.simplemachines.org/index.php?mod=4532
  • 0 reactions

    Members who reacted