i downloaded and ftp'd the bf2 signature to my server and i look up my sigs and i t loads fine but if i refresh the page or try to use it i get nothing http://tehclan.net/bf2sig/sig.php?id=264609321 any idea what the problem is/could be? it has created the xml files for each user but it just doesnt want to load them after the initial load this page loaded the sigs once http://tehclan.net/index.php?site=players
i changed it to '/statsxml' and it worked again but when i refreshed they was gone =edit= i have a temporary fix but i dont like it i have set it to grab stats from the server to 10 seconds instead of 6hrs because it wont load from cache at all
u are amazin lol ty bug fixed and now i can set it back to 6hours instead of 10seconds lol thanks a bunch mate ^^ rebz but we already know im never satisfied lol how do i get the overall kill death ratio on the sig i have read the readme and i cant find what to add. i pormise ill stop askin what may seem like stupid questions after this
You have to change /themes/default/theme.php goto line 101 and change $award_y = 112; to $award_y = 124; and goto line 175 and uncomment and change //imagestring($image_out, 2, 10, 64, "KDR: ".round($namedstats['kill']/$namedstats['deth'], 1), $white); to imagestring($image_out, 2, 10, 112, "KDR: ".round($namedstats['kill']/$namedstats['deth'], 1), $white);
that worx =] ty lmao i lied about havin no more questions is there a way to.. 1) show kdr on bf2statistics 2) get rid of bronze/silver medals when you have the gold?
i added Code: Kill/Death ratio to player.php but it just says n/a and i cant find any way to get rid of old badges when you get the new one
kdr is not a valid key, try this one: echo number_format( $stats->getstat('kill') / $stats->getstat('deth'), 2 ) or printf( "%.2f", $stats->getstat('kill') / $stats->getstat('deth') )
works great thank you both fixesworked a treat lol i tried to do the kdr part myself maybe i should stick to askin questions im good at that
one of the guys in our newly started multi-gamin community is well impressed with the stats system and pointed out that the badges they dont have should be viewable but greyed out like the unlocks at the bottom is there a way to do this also? I apologise for the never endin questions :|
This is a little bit too much work. Try another webfrontend. http://www.madcows.se/forum/index.php?action=tpmod;dl=item3