XF 1.4 Hide Quick Reply in ONE Thread

m1ne

Well-known member
As the title states.
I guess it'll be something in extra.css or a template conditional, just need pointing in the right direction.

Thanks!
 
In thread_view
Find:
PHP:
<xen:if is="{$canQuickReply}">
    <xen:include template="quick_reply">
        <xen:set var="$formAction">{xen:link 'threads/add-reply', $thread}</xen:set>
        <xen:set var="$lastDate">{$lastPost.post_date}</xen:set>
        <xen:set var="$lastKnownDate">{$thread.last_post_date}</xen:set>
        <xen:set var="$showMoreOptions">1</xen:set>
        <xen:set var="$multiQuoteAction">{xen:link 'threads/multi-quote', $thread, 'formId=#QuickReply'}</xen:set>
    </xen:include>
</xen:if>
Replace with
PHP:
<xen:if is="{$canQuickReply} && {$thread.thread_id} != 420">
    <xen:include template="quick_reply">
        <xen:set var="$formAction">{xen:link 'threads/add-reply', $thread}</xen:set>
        <xen:set var="$lastDate">{$lastPost.post_date}</xen:set>
        <xen:set var="$lastKnownDate">{$thread.last_post_date}</xen:set>
        <xen:set var="$showMoreOptions">1</xen:set>
        <xen:set var="$multiQuoteAction">{xen:link 'threads/multi-quote', $thread, 'formId=#QuickReply'}</xen:set>
    </xen:include>
</xen:if>
420 is your thread id
 
Code:
<xen:if is="{$canReply} && {$thread.thread_id} != 999999">
                    <xen:if is="{$xenOptions.multiQuote}"><a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}"
                        data-messageid="{$post.post_id}"
                        class="MultiQuoteControl JsOnly item control"
                        title="{xen:phrase toggle_multi_quote_tooltip}"><span></span><span class="symbol">{xen:phrase multiquote_add}</span></a></xen:if>
                    <a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}"
                        data-postUrl="{xen:link posts/quote, $post}"
                        data-tip="#MQ-{$post.post_id}"
                        class="ReplyQuote item control reply"
                        title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
                </xen:if>

(y)
in post template
 
Top Bottom