- Headline
- viewing and enlarging the page especially since I've increased my default avatar sizing
- Short Description
- Download and Discuss Premium, BusinessHide avatar on deleted posts for staff 13.37 version on NullPro Community. It is rar Extention type and 487 bytes File size. From Hide avatar on deleted posts for staff have 2 Description Attachments, 8 Views.
I didn't like how the avatars on deleted posts were viewing and enlarging the page especially since I've increased my default avatar sizing. By editing the following, you can hide the avatar and reduce the page scrolling size making it easier to manage.
Edit template: post_macros
Replace
BEFORE:
AFTER:
Edit template: post_macros
Code:
<div class="message-cell message-cell--user">
<xf:macro template="message_macros" name="user_info_simple" arg-user="{$post.User}" arg-fallbackName="{$post.username}" arg-includeMicrodata="{$includeMicrodata}" arg-itemProp="author" />
</div>
Code:
<xf:if is="!$post.message_state == 'deleted'">
<div class="message-cell message-cell--user">
<xf:macro template="message_macros" name="user_info_simple" arg-user="{$post.User}" arg-fallbackName="{$post.username}" arg-includeMicrodata="{$includeMicrodata}" arg-itemProp="author" />
</div>
</xf:if>
BEFORE:
AFTER: