I'll add it when I next update the tracker, some time in August. But if you can't wait that long, just look at the code in stats.php for the driver flag/name and move it to where you want it.
Thought I'd stick to my word and get this out in August, a lot of changes built up over the past few months. Haven't had time to get the docs updated, so just ask questions here about the new stuff if you need help. The old version of the tracker is available on dropbox so you can use WinMerge and compare the two if you wish.
Changelog to 24-08-2012
Web tracker
Updated country flags to respect correct aspect ratio, added all European and other highly populated countries (now 83 countries in total)
Various code optimisations
All images now have $trackerRoot in their src attribute
$raceClassName[‘Example Class’] = colour - ability to define css class names for each row of a car class (default grey, others red/green/blue/darkred/purple/orange) for table striping and row hover
Where $numClasses = 1 but multiple classes are defined, class colours etc. are used but standings are combined as one class.
Updated numbers before $colspanExtra
mobile.php for race and qualifying is included although not enabled by default - produces this
Teams which are disqualified are sorted behind all other teams but ahead of those who are DNS regardless of $sortStatus
Pre-session standings in qualifying/practice are now sorted by car number
$qualElimination sorts standings by each team’s max race_id
Empty time strings and the “h” indicating hours, are hidden by default
header.php
miles remaining added to lap based races
$standingStart expanded to accept: “formation” for races with a formation lap + standing start or an integer for multiple formation laps + rolling start - false still counts as a 1 lap rolling start
final lap text will be shown in the race status in lap based races
“— Race” text added to h2 event name
stats.php
$raceFocus = driver/team - added to display either team or driver name first
$showCars - can remove car display column
$showPrev - displays previous lap time
Previous/best lap now highlights a drivers best lap (default colour blue) if not a team or class/race best
Difference column now highlights those teams who are less than 1 second behind
Driver percent, race laps and total driving time now only show when there is more than 1 driver
Non-standing starts now affect the total laps, percentage and driving time per driver
stats2array.php
Fixed a bug where DT and SG penalties from earlier sessions would show up
Once a team’s data is filtered to ensure only one driver is actually driving, the array is unset
$raceControl needs to be true for racecontrol.html to be produced
teamstats.php
Various fixes as per stats.php
Added car number and colouring to teamstatscomparison
unfiltered.php
Filter_laps and raw_laps will display if both are present variables.php
trim() function used on names, usernames and countries
css/tracker.css
text colour changed to #222
id based table striping replaced by nth-of-type(4n+1)
various other improvements
qualifying/qstats.php
Various fixes as per stats.php qualifying/qstats2array.php
$qualElimination finds a team’s latest race_id and uses that to sort the standings
Fixed a bug where an two or more equal laps by a team meant fastest_lap_on was wrong
$raceControl needs to be true for racecontrol.html to be produced
qualifying/qteamtats.php
Various fixes as per qstats.php and teamstats.php
Added a driver column to list of laps, only for first lap, best lap and when there is a driver change
Race/class and team best laps are only indicated when they match fastest_lap_on
Nothing in those files seem out of the ordinary (though I will fix the prev lap column). Were there two qualifying sessions or something? What happens if you set $allRaceids to true?
Ok, I'm getting a bit annoyed now. So any help would be appreciated. Something is clearly wrong on the DB side of things but can't figure out how to fix it. Tried to check how to change the version but that is beyond me.
Your MySQL isn't setup correctly. If its setup to listen on a socket, then your PHP isn't setup for that configuration. Else, it [MySQL] might not be setup to listen via TCP.
For the tl;dr: Sysadmin tasks should be left to sysadmins.
I am curious because I am unsure how to change any of what you just said.
info from web host:
•Server: Localhost via UNIX socket
•Software: MySQL
•Software version: 5.5.30-cll-lve - MySQL Community Server (GPL)
•Protocol version: 10
•User: (sensored)@localhost
• Server charset: UTF-8 Unicode (utf8)
What's the contents of your php.ini file? Are you trying to run the tracker locally with a remote MySQL server? If so, it's possible that your remote MySQL server doesn't permit connections from non-local sources, or requires a whitelist of permissible IP addresses (for security).
If you really can't figure it out, find me on the #ndr or #liveforspeed IRC channels.