1
Mods & Plugins (Requests & Discussions) / Number format {total_hits}
« on: January 01, 2016, 08:03:15 PM »
Using mod more statistics for users.
Wondering if we can make {total_hits} number format. IE. XX,XXX not XXXXXX.
Big thanks.
EDIT: Figured it out on my own.
In stats.php find:
$total_hits = "".$lang['total_hits']."<B> ".$row['sum']."</B>\n";
Replace with:
$total_hits = "".$lang['total_hits']."<B> ".number_format($row['sum'])."</B>\n";
Wondering if we can make {total_hits} number format. IE. XX,XXX not XXXXXX.
Big thanks.
EDIT: Figured it out on my own.
In stats.php find:
$total_hits = "".$lang['total_hits']."<B> ".$row['sum']."</B>\n";
Replace with:
$total_hits = "".$lang['total_hits']."<B> ".number_format($row['sum'])."</B>\n";