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

Avatars in Report comments

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Appearance -> Templates -> report_view

Add the red code:

	<xen:foreach loop="$comments" value="$comment">
		<li class="primaryContent reportComment {xen:if '{$comment.is_moderator} || {$comment.is_admin}', reportCommentModerator}">
			<span style="float: left; margin-right: 10px;"><xen:avatar user="$comment" size="s" /></span>
			<xen:username user="$comment" /> <span class="muted"><xen:datetime time="$comment.comment_date" /></span>
			<xen:if is="{$comment.state_change}"><p class="statusChange">{xen:phrase status_changed}: {$comment.stateChange}</p></xen:if>
			<xen:if is="{$comment.message}"><blockquote>{xen:helper bodyText, $comment.message}</blockquote></xen:if>
The result:

Screen shot 2012-02-24 at 3.30.18 PM.png