• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Remove Avatar From Quick Reply and Thread Preview

Remove Avatar From Quick Reply

DRE

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

Raitsa

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

Raitsa

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

UKD

Active member
#8
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.
 

Shelley

Well-known member
#10
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.png