Is there a permission to prevent users creating question-threads in specific forums?
Would love to have only a help/questions section that has the question feature enabled.
The addon is rewritten from scratch. See the updated resource page for details.
UPGRADING FROM 1.2.5
- Backup your forum (both database and files) Seriously!
- Go to your forum root and remove these three folders:
src/addons/QuestionThreads
,js/questionthreads
andstyles/fonts/questionthreads
...
<xf:if is="{{ $thread.QT_question && $thread.QT_best_answer_id }}">
<a href="{{ link('threads/bestAnswer', $thread) }}" class="my_button">Go to best answer!</a>
</xf:if>
Yes it does. It is the main purpose of best answer mark in thread list and it is working already for all threads.Does it have "go to solution" button?
$thread
in my example):<xf:if is="{{ $thread.QT_question && $thread.QT_best_answer_id }}">
<a href="{{ link('threads/bestAnswer', $thread) }}" class="my_button">Go to best answer!</a>
</xf:if>
post_macros
find this code:<div class="message-attribution-opposite">
<xf:if is="{{ $post.isFirstPost() && $thread.QT_question && $thread.QT_best_answer_id }}">
<a href="#post-{$thread.QT_best_answer_id}">Go to best answer!</a>
</xf:if>
<xf:if is="$hasActionBarMenu">
<a class="actionBar-action actionBar-action--menuTrigger"
data-xf-click="menu"
title="{{ phrase('more_options')|for_attr }}"
role="button"
tabindex="0"
aria-expanded="false"
aria-haspopup="true">•••</a>
<div class="menu" data-menu="menu" aria-hidden="true" data-menu-builder="actionBar">
<div class="menu-content">
<h4 class="menu-header">{{ phrase('more_options') }}</h4>
<div class="js-menuBuilderTarget"></div>
</div>
</div>
</xf:if>
</xf:if>
:<xf:if is="{{ $post.isFirstPost() && $thread.QT_question && $thread.QT_best_answer_id }}">
<a href="#post-{$thread.QT_best_answer_id}" clas="actionBar-action">Go to best answer!</a>
</xf:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.