Pages: [1]
Author Topic: number_format for stats  (Read 1758 times)
fernando gomez
Guest


Email
on: Apr 24, 08, 11:48 AM

i managed to make the res$ for gameplayes have the ","

for guest/members how would i do it?


also for the stats.php on ADMIN how to do it for all the settings gameplay, total amount of users etc.
Logged
fernando gomez
Guest


Email
Reply #1 on: Apr 24, 08, 11:53 AM

for the stats on page need these to have the format

   "STAT-GUESTS"      =>   $stats["ip"]-$stats["user_id"]+1,   //+1 because there is always 1 'user' with zero id
   "STAT-MEMBERS"      =>   $stats["user_id"]-1               //-1 for zero-id 'user'
));

and stats.php on admin folder for all stats
Logged
fernando gomez
Guest


Email
Reply #2 on: Apr 24, 08, 12:44 PM

read my email sergey, i explained the thumbnail bug follow the instructions so u can see what i mean. maybe u can find a fix
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #3 on: Apr 24, 08, 12:56 PM

this one?
Quote
Go to www.tetryx.com i have 2 games on featured. when you get the game "Android" hover your mouse over the game "SCGM 3" it wont work, BUT when you get the game "Circle Of Pain" it does work and it must be the description size? please check and find the bug out^^

sorry, but I don't see the bug... everything works identically no matter which game is inside the "featured" block (used IE7, FF2 and FF3)
Logged
fernando gomez
Guest


Email
Reply #4 on: Apr 24, 08, 01:06 PM

um... all my friends experience this? well i guess ill upgrade to firefox 3 or something

hope u can help me on the stats thing
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #5 on: Apr 29, 08, 12:11 AM

use number_format function:
Code:
"STAT-GUESTS" => number_format($stats["ip"]-$stats["user_id"]+1),
"STAT-MEMBERS" => number_format($stats["user_id"]-1)
« Last Edit: Apr 29, 08, 12:13 AM by Sergey » Logged
Pages: [1]
 
Jump to: