4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: IndoX on January 01, 2016, 08:03:15 PM
-
Using mod more statistics for users (http://www.4homepages.de/forum/index.php?topic=3303.0).
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";