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

Disable Sig in XX forums ?

Jake Bunce

XenForo moderator
Staff member
#3
Admin CP -> Appearance -> Templates -> message

Add the red code:

Code:
		<xen:if is="{$visitor.content_show_signature} && {$message.signature} && {$thread.node_id} != 3">
			<div class="baseHtml signature ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
		</xen:if>
You need to specify the node_id.

Or to exclude multiple forums:

Code:
		<xen:if is="{$visitor.content_show_signature} && {$message.signature} && !in_array({$thread.node_id}, array(1,2,3))">
			<div class="baseHtml signature ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
		</xen:if>
 

tafreehm

Well-known member
#5
Admin CP -> Appearance -> Templates -> message

Add the red code:

Code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature} && {$thread.node_id} != 3">
<div class="baseHtml signature ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
</xen:if>
You need to specify the node_id.

Or to exclude multiple forums:

Code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature} && !in_array({$thread.node_id}, array(1,2,3))">
<div class="baseHtml signature ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
</xen:if>
I inserted following code at the bottom of template. but no result.
Code:
<!-sig blocked -->
        <xen:if is="{$visitor.content_show_signature} && {$message.signature} && !in_array({$thread.node_id}, array(231,257,331,661,685,348,349,634,258,684,613,543,679,620,622,623,624,625,627,471,555,256,265,247,286,464,586,589,389,533,387,388,605,556,617,630,375,658,638,673))">
            <div class="baseHtml signature ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
        </xen:if>
<!-sig blocked -->