Question Threads

xF2 Add-on Question Threads 2.1.2

No permission to download
The bug with "Upgrade" install should be fixed now.
Fixed bugs
  • Fixed a bug during installation process (many thanks to @marquisite)
Question Threads 2.1.0 was rewritten from scratch. It is compatible with previous addon version but only works with XF 2.1 and above! If you are upgrading from version 2.0.2 read the instructions below!

Upgrading from Question Threads 2.0.2
  1. Make a backup of database!
  2. Disable (not delete!) old Question Threads 2.0.2 addon
  3. Add $config['CMTV_QT']['upgrade_install'] = true; line in src/config.php file
  4. Install new Question Threads 2.1.0 addon
  5. Delete old Question Threads 2.0.2 addon
  6. Delete added line in src/config.php file
  7. Check addon permissions
New features
  • Now marking question as "Solved" and selecting best answer creates a news feed entry which is displayed in "Latest activity"
  • Fully reorganized style properties
Changes
  • Improved addon stability, better code quality
  • Question and best answer marks are now correctly displaing everywhere
  • XF 2.1 and PHP 7+ are required now to install the addon
Fixed bugs
  • Question and best answer marks are displaying correctly in tags search pages
  • Users with zero best answers will not appear in "Most best answers" list (@katsulynx)
  • Fixed some bugs with threads merging (@Recep Baltaş)
Now you can't merge two questions with best answers.

Question Threads properties are fully depend on target thread. The result of merging a solved question with best answer to a simple thread will be a simple thread.
New features
  • Added permission: "Mark own post in question as best answer" which is set to No by default
Fixed bugs
  • Question and best anwer marks are displaying correctly in "What's new" page
The addon is rewritten from scratch. See the updated resource page for details.

UPGRADING FROM 1.2.5
  1. Backup your forum (both database and files) Seriously!
  2. Go to your forum root and remove these three folders: src/addons/QuestionThreads, js/questionthreads and styles/fonts/questionthreads
  3. Download addon version 2.0.0 and move contents from upload folder to your forum root
  4. In admin panel go to "Addons" section and upgrade the addon
  5. After updating click on cog at the right and select "Rebuild"
    1521389020451-png.171324
  6. After rebuilding return to ACP main page. You will see an yellow message at the top saying there is a job to complete. Click the link in that message and it will automatically recalculate best answers for all users.
    1521389685028-png.171326
Fixed bugs
  • Fixed an issue where the best answer icon is not changing in style settings @bolibick
  • Fixed an issue where the best answer icon would stay "diamond" after changing it in style settings @bolibick
  • Fixed an issue where an option to convert thread to question was appearing when editing every post in that thread (not only when editing first post)
How to upgrade?
  1. Download an addon archive and unpack it somewhere
  2. Open upload folder and move all folders there to your forum root directory (with overwriting if needed)
  3. In admin panel go to "Add-ons" section and upgrade "Question Threads" addon
Important! If you can't upgrade an addon and seeing "Version mismatch" message than you need to execute one simple SQL query (for example, it can be done via phpMyAdmin):
Code:
UPDATE `xf_addon` SET `version_id` = 1020470 WHERE `title` = "Question Threads"
This is happening because I screwed up version id for previous (1.2.4) release.
Previous addon update (1.2.3) was not allowing to create new nodes. This is fixed now.
Fixed bugs
  • Fixed an issue where the question in questions only forum would become an ordinary thread after editing in threads list page
  • Phrases "Best answer" and "Not the best answer" can be translated via phrases now!
  • Like
Reactions: h7km
xenforo_com_community_attachments_notifications_update_png_160739__.png


Notifications Update 1.2 is here!
  • Like
Reactions: Mecha and Anthrax
731Threads
2,287Messages
63,878Members
brandvisionLatest member
Back