This will add Invites Sent: to the Advanced Statistics block so it will show how many invites in total ur members have sent
blocks/Advancestats_block.php
Find
SAVE AND UPLOAD
Enjoy
blocks/Advancestats_block.php
Find
$result = mysql_query("SELECT SUM(downloaded) AS totaldl FROM users");
while ($row = mysql_fetch_array ($result)) {
$totaldownloaded = $row["totaldl"];
}Add below//Invites sent mod by fozshell
$result = mysql_query("SELECT SUM(invitees) AS total FROM users");
while ($row = mysql_fetch_array ($result)) {
$totalinvites = $row["total"];
}
Find
echo "<br><small>".T_("MESSAGES_SENT").":<b> " . $nmessages . "</b></small>";
Add below
echo "<br><small>".T_("INVITES_SENT").":<b> " . $totalinvites . "</b></small>";
SAVE AND UPLOAD
languages/english.php
Find at bottom
?>
Add beffore
$LANG["INVITES_SENT"] ="Invites Sent";SAVE AND UPLOAD
Enjoy
