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

XF 1.3 Show quote from ignored user


Well-known member
Currently the ignore system adds the 'ignored' class to the message blockquote and through css, this is then hidden.

I'd like to leave an indication (not the whole original message) that a message is in response to a quote from an ignored user though.

So this is the code currently...

<blockquote class="messageText ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">
<xen:include template="ad_message_body" />
   {xen:raw $message.messageHtml}
So if the message/quote is from an ignored user, the whole blockquote is hidden.

I thought I could do something like...

<blockquote class="messageText ugc baseHtml">
  <xen:include template="ad_message_body" />
  <xen:if is="{$message.isIgnored}">
     You are ignoring content by this member
  <xen:else />
     {xen:raw $message.messageHtml}
That doesn't seem to have any effect though. Any ideas?

Last edited: