Display your server stats with ease
Display your server stats with ease
Invader put together a php script that reads the stat files that are produced by the server and puts them into tables that are easy to read.
Here's the easy steps to follow if you have a PHP BB running:
-->Copy the stat.php file to the folder the PHP BB server is in
-->Copy the tpl file into the templates folder.
You'll also need to create symbolic links (in Linux) to your stats into the same folder so that the stats script can read them.
You may need to customize it for your own needs.
A screen shot is attached so you can see what it will look like.
Thanks for putting this together for our use, Invader!
Here's the easy steps to follow if you have a PHP BB running:
-->Copy the stat.php file to the folder the PHP BB server is in
-->Copy the tpl file into the templates folder.
You'll also need to create symbolic links (in Linux) to your stats into the same folder so that the stats script can read them.
You may need to customize it for your own needs.
A screen shot is attached so you can see what it will look like.
Thanks for putting this together for our use, Invader!
- Attachments
-
- stats.zip
- (1.55 KiB) Downloaded 615 times
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
To be honest, I'm yet more a fan of mine 'cause it's got graphs! (And it's W3C )
I couldent make mine up to XHTML standards or w/e, phpBB kinda screws that up as it is.
Anyways, this new version fixes some HTML mistackes & as well it allows you to grab stats from other servers, and also search for players in the other server's stats
Move stats.php to phpbb_root/stats.php
Move stats.tpl to phpbb_root/templates/{CURRENT TEMPLATE}/stats.tpl
Move stats_socket.tpl to phpbb_root/templates/{CURRENT TEMPLATE}/stats_socket.tpl
CHMOD stats.php to 777 and phpBB root dir to 777. To get other stats from other servers. Type the url in the Grab form. Example: http://www.site.com/server_stats/highscores.txt, click submit and boom
Enjoy
Anyways, this new version fixes some HTML mistackes & as well it allows you to grab stats from other servers, and also search for players in the other server's stats
Move stats.php to phpbb_root/stats.php
Move stats.tpl to phpbb_root/templates/{CURRENT TEMPLATE}/stats.tpl
Move stats_socket.tpl to phpbb_root/templates/{CURRENT TEMPLATE}/stats_socket.tpl
CHMOD stats.php to 777 and phpBB root dir to 777. To get other stats from other servers. Type the url in the Grab form. Example: http://www.site.com/server_stats/highscores.txt, click submit and boom
Enjoy
- Attachments
-
- stats.zip
- :)
- (2.87 KiB) Downloaded 569 times
Invader
Re: Display your server stats with ease
yes yes, this is a little late.BUt ive been trying to figure out how to put stats from my server onto my phpbb site.Its's great that i stumbled across this.But the problem is I dont really get how or what to do.Swampy wrote:Invader put together a php script that reads the stat files that are produced by the server and puts them into tables that are easy to read.
Here's the easy steps to follow if you have a PHP BB running:
-->Copy the stat.php file to the folder the PHP BB server is in
-->Copy the tpl file into the templates folder.
You'll also need to create symbolic links (in Linux) to your stats into the same folder so that the stats script can read them.
You may need to customize it for your own needs.
A screen shot is attached so you can see what it will look like.
Thanks for putting this together for our use, Invader!
I have a windows, i dont know where the phpbb folder woul dbe located either?
Wondering, if someone help explain to me clearer?
thanks in advance
i like mine
my stats page sucks. it uses bash scripts and the layout sucks and the navigation is confusing and it stinks. if you don't enter anything in the search link the stupid script yells at you and if your query (player you are searching) hasn't made the stats the script outputs an insult. it's live stats, too; but you have to reload yourself. i stink.
you can see the crappy page here >>> http://basementunderground.net/tron/
you can see the crappy page here >>> http://basementunderground.net/tron/
Last edited by wallpaper on Fri May 12, 2006 5:16 pm, edited 1 time in total.
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
We've finally finished the the CT Wild Fortress Stats page (for now).
You'll find it here:
http://forums.crazy-tronners.com/ladders.php?serv=wild
It only has data starting from a 2/3 weeks ago.
Man, some folk play a lot of tron.
You'll find it here:
http://forums.crazy-tronners.com/ladders.php?serv=wild
It only has data starting from a 2/3 weeks ago.
Man, some folk play a lot of tron.
Last edited by ed on Tue Oct 31, 2006 10:56 pm, edited 1 time in total.
Nixda's Ladder script ... currently uses file based cache to presort ladder text
Based on PHP and Perl.
http://www.armagetron.nixda.net/ladder/ ... tat.tar.gz
Based on PHP and Perl.
http://www.armagetron.nixda.net/ladder/ ... tat.tar.gz
Hi,
Maybe I'll set up a dedicated server soon, and I think a stat script is a really nice feature.
And I really love Tank Program's one ! Is it possible to have the sources ?
Maybe I'll set up a dedicated server soon, and I think a stat script is a really nice feature.
And I really love Tank Program's one ! Is it possible to have the sources ?
Last edited by RodiX on Mon Nov 27, 2006 7:38 am, edited 1 time in total.
RodiX
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
Thanks for expressing an interest. Someday I'll release all the sources . As soon as I figure out how to create a "private" thingy-majigger in SVN . (And yes I've not been paying near enough attention to the whole source management system debate.)RodiX wrote:Hi,
Maybe I'll set up a dedicated server soon, and I think a stat script is a really nice feature.
And I really love Tank Program's one ! Is it possible to have the sources ?