Remove Avatar From Quick Reply and Thread Preview

Remove Avatar From Quick Reply

DRE

Well-known member
8thos submitted a new resource:

Remove Avatar From Quick Reply (version 1.0) - Remove Avatar From Quick Reply And Thread Preview

Template: quick_reply

Find:

<xen:include template="message_user_info">
<xen:map from="$visitor" to="$user" />
<xen:set var="$isQuickReply">1</xen:set>
</xen:include>

Replace:

<xen:comment>
<xen:include template="message_user_info">
<xen:map from="$visitor" to="$user" />
<xen:set var="$isQuickReply">1</xen:set>
</xen:include>
<xen:comment>

To Remove From Thread Preview:

EXTRA.CSS

Add:

.previewTooltip .avatar {
display:none;
}

Read more about this resource...
 
Got this:

The following templates contained errors and were not saved: quick_reply: 1) Template tags are not well-formed. <xen:comment> was not closed.
 
Should be:

<xen:comment>
<xen:include template="message_user_info">
<xen:map from="$visitor" to="$user" />
<xen:set var="$isQuickReply">1</xen:set>
</xen:include>
</xen:comment>
 
Should be:

<xen:comment>
<xen:include template="message_user_info">
<xen:map from="$visitor" to="$user" />
<xen:set var="$isQuickReply">1</xen:set>
</xen:include>
</xen:comment>

Thanks, I noticed this too also and was about to put it here for members to see.
 
  • Like
Reactions: DRE
Edited. Thanks!

Neat adjustment @DRE

Adding the following will give you the same result without the need to edit the template.

Adding the following in EXTRA.CSS

I wasn't sure whether this affected anywhere else so I included specific pages .thread_view & .conversation_view. Eitherway, liking the adjustment and just hid mine also. Excellent work @DRE


Code:
.thread_view #QuickReply, .conversation_view #QuickReply {margin-left: 0;}
.thread_view .quickReply .messageUserInfo, .conversation_view .quickReply .messageUserInfo  {display: none;}

Screenshot_19.webp
 
Top Bottom