[BL] Briggers810
Addicted
I've recently put a modification up that shows any reports/approved posts that need doing and such on the index page.
But as I'm using 3.0.6 there's also the chance for members to report PMs that they've received, so I was wondering how I would go about getting it so that any PMs that are reported, a notice like "there is 1 reported PM to review." or something like that.
Here's the code I'm using for the MCP on index thing in the index_body.html file of the templates:
But as I'm using 3.0.6 there's also the chance for members to report PMs that they've received, so I was wondering how I would go about getting it so that any PMs that are reported, a notice like "there is 1 reported PM to review." or something like that.
Here's the code I'm using for the MCP on index thing in the index_body.html file of the templates:
Code:
<!-- IF S_HAS_REPORTS or S_HAS_UNAPPROVED_POSTS -->
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong>{L_INFORMATION}:</strong>
<!-- IF S_HAS_REPORTS --><a href="{U_MCP_REPORTS}">{L_REPORTS_TOTAL}</a><!-- ENDIF -->
<!-- IF S_HAS_REPORTS and S_HAS_UNAPPROVED_POSTS --> • <!-- ENDIF -->
<!-- IF S_HAS_UNAPPROVED_POSTS --><a href="{U_MCP_QUEUE}">{L_UNAPPROVED_TOTAL}</a><!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->







