About This File
With this plugin users will be able to create questions. They are just like normal threads but have some useful features.
Features
- Users can create questions
- Specific forums can be marked as "questions only"
- "Questions only" forums have a different node icon, some texts are changed
- Question author or another user with permission can mark questions as solved
- Each question can have the best answer which is colored in order to draw attention
- Question-threads have a special indicator (solved/unsolved) before title
- Questions with best answer have a special diamond icon-link near sovled/unsolved indicator which points directly to best answer post
- An ability to use any Font Awesome icon as best answer icon (with handy iconpicker)
- Addon supports thread watchers system
- All actions use alerts system (solving/unsolving questions and marking/unmarking best answers)
- Email notifications
- Custom colors for solved/unsolved indicator and best answer post highlighting
To be done
- Custom image as best answer icon
- Custom image/icon/shape for question indicator
- Best answers counter for every user (just like messages/likes counter)
- Integration with trophy system (at least adding best answers number in trophy conditionals)
- Create a permission for prohibiting question authors to mark their own questions as solved/unsolved
Screenshots
Question can be created if "Is question" checkbox is selected when creating thread:

All questions have a special indicator (solved/unsolved). Questions with best answers have a special icon which points directly to best answer post inside the question:

Question author or another user with permission can mark the whole question as solved and even mark specific post as best answer:

Best answer is highlighted:

All actions use alerts system (solving/unsolving questions and marking/unmarking best answers):

"Questions only" forums have a special node icon:

You can customize the color and shape of questions indicator and best answer highlighting:

Installation
- Download an addon archive and unpack it somewhere
-
Open
upload
folder and movesrc
folder to your forum root directory - In admin panel go to "Add-ons" section and install "Question Threads" addon
That's all!
Your forum now fully supports questions and answers!
What's New in Version 1.2.4 See changelog
Released
Previous addon update (1.2.3) was not allowing to create new nodes. This is fixed now
New featuresFixed bugs
- Added an option to mark already created ordinary thread as question when editing first post in the question
First two bugs were found by @Mr Lucky. They are fixed now!How to upgrade?
- Fixed an issue where best answer icon was replaced with horribly looking icon name text
- Fixed an error related to emailing system that appears after uninstalling addon
- Fixed another issue with questions converting to ordinary threads when editing first post in the question
- Fixed an issue where "Is question" checkbox was or was not selected incorrectly
- Fixed an annoing issue where saving forum settings with "This forum is for questions only" enabled would always start redundant "Converting threads to questions" process every time
- Download an addon archive and unpack it somewhere
- Open upload folder and move all folders there to your forum root directory (with overwriting if needed)
- In admin panel go to "Add-ons" section and upgrade "Question Threads" addon
- (Not likely to happen) If best answer icon disappeared after upgrading then go to "Admin CP -> Appearence -> Style properties -> Question threads colors" and select any best answer icon. Clear the cache (usually Ctrl + F5) of the thread list page.