Ok I found a good script for all those Battlefield 2 groups. Just Download the following files and follow the readme in the zip.
First DB setup
open bf2_stats_config.php
look for
and add your info
// database config
$db_hostname = "localhost";
$db_name = "";
$db_login = "";
$db_pw = ""
To make it view live stats
look for
// main config
$conf_cache_time = 64*64*12; // in seconds; how long shall the data be cached in the database,
Make it all 0's like this 0*0*0
Stled off of CSS so completely adjustable to match your site
add to a php article
echo '<IFRAME src="http://wwwYOURSITE.com/bf2_stats/" width="100%" height="5000" marginwidth=0 marginheight=0 frameborder=0 scrolling=no></IFRAME>';
Make the height and width as needed for your site.
DEMO (http://www.porkrindstudios.com/forum/index.php?page=10)
Brainpecker's BF2 stats v2.12 -www.Brainpecker.com (http://www.brainpecker.com)
i cant get the whole stats into an article w/ out scrolling.
any way to achieve this?
mess with the height and width from this code
Quote from: humanporkrind on February 19, 2007, 02:17:20 AM
echo '<IFRAME src="http://wwwYOURSITE.com/bf2_stats/" width="100%" height="5000" marginwidth=0 marginheight=0 frameborder=0 scrolling=no></IFRAME>';
Make the height and width as needed for your site.
i did but my forum is only 800 wide and the stats pages arent fitting in an article even at 100% or 800 px
got a link
how do i get the images to show on this page?
/stats/bf2_stats_award_descr.htm
the properties of 1 of the images is -
http://upload.wikimedia.org/wikipedia/en/c/c2/BF2_Ribbon_Air_Defense.png
so im guessing that image/article no longer exists?
all that shows is a red X
right now i have links to http://ubar.bf2s.com/ from my site showing awards/etc but it would be awesome to have a custom page showing everything like ubar does but a page i can add to my site such as the ones u have for player stats..
any way to edit bf2_stats_award_descr.htm to achieve this?
i tried to download the bf2_stats_pictures.zip (822.27 KB - downloaded 2 times.) but it comes across as a 0 file and nothing in it. anyone else having that problem with it?
never mind on the above I went to brainpicker and got them from there.
February 26, 2007 ----------------------------------------------------------------------
Quote from: mythbuster on February 26, 2007, 06:01:02 AM
how do i get the images to show on this page?
/stats/bf2_stats_award_descr.htm
the properties of 1 of the images is -
http://upload.wikimedia.org/wikipedia/en/c/c2/BF2_Ribbon_Air_Defense.png
so im guessing that image/article no longer exists?
all that shows is a red X
right now i have links to http://ubar.bf2s.com/ from my site showing awards/etc but it would be awesome to have a custom page showing everything like ubar does but a page i can add to my site such as the ones u have for player stats..
any way to edit bf2_stats_award_descr.htm to achieve this?
Yes if you have a html editor you can set that page up anyway you want
Quote from: BCB on March 08, 2007, 04:02:05 PM
i tried to download the bf2_stats_pictures.zip (822.27 KB - downloaded 2 times.) but it comes across as a 0 file and nothing in it. anyone else having that problem with it?
Had no issue with it..... downloaded just fine. Might need to clear your cache
well ..yea.. i guess.. if i get all the images and upload them to my webhost and edit the source of EACH image in the page html..but i dont have the images..
let me upload to my server real quick and I will send you a link
i just realized i had the images on my site all the time...duhhhh... but after trying to edit the page in dreamweaver its just too much trouble to edit every single image..
why don't you just start a new page and call in what you need.