• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Hide Quick Reply in ONE Thread

Solidus

Well-known member
#1
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!
 

batpool52!

Well-known member
#2
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
 

Solidus

Well-known member
#4
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