Lack of interest Warning Count Below Avatar

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Ozzy47

Well-known member
Below a users avatar in the post but I would like to see a warning count for users with active warnings. And if you click on the number of warnings that would show detailed information about the warnings.
 
Upvote 1
This suggestion has been closed. Votes are no longer accepted.
You can add this in message_macros template where you wish to show up

Code:
<xf:comment>START Add Warnings</xf:comment>
        <xf:if is="$xf.visitor.canViewWarnings() && $user.warning_points != 0">
            <dl class="pairs pairs--justified">
                    <dt>{{ phrase('warnings') }}</dt>
                <dd>
                    <a href="{{ link('members', $user) }}#warnings" class="fauxBlockLink-linkRow u-concealed">
                    <span style="color: #9b0000;">{$user.warning_points|number}</span>
                    </a>
                </dd>
            </dl>
        </xf:if>
    <xf:comment>END Add Warnings</xf:comment>
 
Back
Top Bottom