
*The download link is at the bottom of this post*
Previous versions:
v3.0 by w1lla
v2.3 by sn3p
v1.9b by Cypher80 (original author)
Version 3.1
This now has support for Stunts mode, so all you Stunts server hosters can now have proper functioning stats !!
I'd like to give a big thanks to W1lla for testing it out for me and also for adding a couple of new info cells under Server Stats, which are:
Current Ladder Mode under the Server tab & Number of CP's under the Challenge tab.
Thanks a lot for all your help W1lla, it was very much appreciated

Also added in this version is a Server Banners tab under Server Stats, made by lidor5353
so a thanks goes out to you as well

In this version, a new line was also added into the config which is:
Code: Select all
$stunt[$i] = 0; // 0 = false; 1 = true;
---------------------------------------------------------------------------------------------------------------------------------------------------
For anyone that didn't know, W1lla previously released version 3.0 of these stats and the updates in that version were as follows:
TMX Smilies in author Comments.
Fixed hyperlinks where in author comments stood Link and not the real url.
Added how many awards a track has on TMX.
Visit TMX track on TMX webpage.
Edited ENG.php in languages folder for updates.
Download First offline record on TMx of the occuring track.
Dedimania read-only access:
Shows first 10 world records and on which server it is made.
---------------------------------------------------------------------------------------------------------------------------------------------------
Version 3.2
Changed deprecated ereg_replace and eregi_replace functions to preg_replace in serverstats.php
and playerstats.php
Updated all language files so there is now no missing translations.
Updated includes/tmx_get.php to fix broken links on the TMX info page (Thanks W1lla)
Updated pages/tmx_info.php to show correct page layout if $tmx_info = 2; is used in config.php
Removed checkpoints column in pages/trecords.php because cp times were not able to be displayed
correctly.
The following files were also updated although i'm not sure they're still being used, but
they were using deprecated ereg_replace and eregi_replace functions which have now been
replaced with preg_replace functions:
includes/playername.php
includes/servername.php
includes/comment.php
includes/trackname.php
Version 3.3
playerstats.php (stripFormatting Function added)
includes/tmfdatafetcher.inc.php (Added v1.5b)
pages/search_players.php (Updated so the tables match the players page)
pages/search_tracks.php (Updated so the tables match the tracks page)
I was unable to use the ARIALUNI.TTF font in the end - you can find the reason for that in this post
Version 3.4
The credit for this update goes completely to Assembler Maniac, all banner problems should be fixed now. Some nicknames however will still display funny characters (but no TM formatting codes) and this is due to the fact (as Nocturne pointed out) that the supplied fonts aren't able to handle the scope of characters that some players use in their nicknames. This Post from Noc details a few fonts that could be better to use. Below is a summary of the changes that Assembler Maniac made (Also included in the readme)
playerstats.php
serverstats.php
Changed both files to use ONE stripping function (stripFormatting) for all player, track and
server name variables.
Code is also easier to read (spaces added for clarity within string manipulation and assigns).
A few vars renamed to reflect their content:
$servername -> $sname_stripped
$servername1 -> $sname_tmtags
(same for track & player)
Version 3.5
The updates for this version are as follows:
pages\tmx_info.php and includes\tmx_get.php (Updated to show TMX World Record) Thanks W1lla
All language files (Updated with World Record and No record found translations as well as a blank space to be used in player banners)
playerstats.php (Removed the word "server" from statsboxes 2 and 3, then added a blank space into statsbox 2 to make these banners look nicer) Thanks for the tip AM

includes\ColorParser.php (Added isset checks for certain array items) Thanks AM
index.php (Version changes and download link)
config.php (version change)
img\statsbox\serverstats.png (changed image for TMF and renamed the old image to serverstats_tmn.png)
readme.txt (Updated some out of date information)
I have to say, this version has relied heavily on input from W1lla and Assembler Maniac so thanks a lot guys its really appreciated

Version 3.6
The updates for this version are as follows:
pages\dedimania_info.php (Updated with an easier to read layout and links to selected players Dedimania stats) Thanks W1lla and TheM
pages\search_players.php (Added result limits per page and next & previous buttons) Thanks W1lla
pages\search_tracks.php (Added result limits per page and next & previous buttons) Thanks W1lla
All language files (Updated translations for the new Dedimania info page)
index.php (Version changes and download link)
config.php (version change)
---------------------------------------------------------------------------------------------------------------------------------------------------
A full changelog can be found in the included readme file.
Please post any comments/suggestions/improvements/bug reports about this and i'll do my best to answer all queries.
The download can be found Here
The download is also mirrored Here
View a working example of the site Here