XF 2.2 Activity Summary counts

webbouk

Well-known member
Is it possible to remove all the counts from the top of the Activity Summary emails....

1601505524721.png

To me they appear confusing and could be construed as the forum only have a few members rather than being read as the number of members who've posted since the last activity.
 

Mr Lucky

Well-known member
From the email template activity_summary, remove this:

Code:
<xf:if is="$displayValues">
    <xf:macro template="activity_summary_macros" name="outer_header"
        arg-title="{{ phrase('summary_of_what_you_missed_recently') }}" />

    <xf:set var="$content">
        <table border="0" width="100%" cellpadding="0" cellspacing="0" class="statsContainer">
            <tr>
                <td class="statsGroup" align="center">
                    <xf:foreach loop="$displayValues" value="$value" if="$value.value != 0">
                        <div class="stat">
                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td class="stat-label" align="center">{$value.label}</td>
                                </tr>
                                <tr>
                                    <td class="stat-value" align="center">{$value.value|number_short}</td>
                                </tr>
                            </table>
                        </div>
                    </xf:foreach>
                </td>
            </tr>
        </table>
    </xf:set>

    <xf:macro template="activity_summary_macros" name="block"
        arg-content="{$content}" />
</xf:if>
 
Last edited:
Top