UPDATE:
Changes: June 8, 2006
* Fixed the formatting for BF2s compare link
* BF2s compare now supports up to 8 players
* Removed the 'frame buster' javascript snippet
* Added an option to replace the Country flag for those that are inncorrect. (See config.php for help)View the Standalone Leader Board.
Un-zip to a folder of your choice, and upload it to your server.
Open the config.php script, and customize the leader board as you see fit. All the formatting, text, colors, etc, are defined in this file. I tried to make things as simple as possible, for those that aren't familiar with PHP coding. Read the comments for explanations!
To change the language, open the localization.php script to convert the text. All the text displayed in the leader board is in this file. You shouldn't have to edit the API, or the index.php script. (Unless you want to mod it yourself)
If you want to run a cron job, point it to the xmlcron.php script. You should not execute this more than once every two hours! For example:
The original API has been modified a bit, nothing too extensive though. I've added curl support, to replace the wrapper Chuy used in his version. I'm still using the file cache system, rather than an SQL option. You may have to manually chmod the cache folder to 777, in case the API doesn't.
You can get the script here: msc-mlb-standalone.zip
You can get the Nuke module here: msc-mlb-nuke.zip
Any comments or suggestions? This is the thread.
Changes: June 8, 2006
* Fixed the formatting for BF2s compare link
* BF2s compare now supports up to 8 players
* Removed the 'frame buster' javascript snippet
* Added an option to replace the Country flag for those that are inncorrect. (See config.php for help)View the Standalone Leader Board.
Un-zip to a folder of your choice, and upload it to your server.
Open the config.php script, and customize the leader board as you see fit. All the formatting, text, colors, etc, are defined in this file. I tried to make things as simple as possible, for those that aren't familiar with PHP coding. Read the comments for explanations!
To change the language, open the localization.php script to convert the text. All the text displayed in the leader board is in this file. You shouldn't have to edit the API, or the index.php script. (Unless you want to mod it yourself)
If you want to run a cron job, point it to the xmlcron.php script. You should not execute this more than once every two hours! For example:
Code:
* */2 * * * /usr/bin/php /home/<username>/public_html/subfolder/xmlcron.php >/dev/null
You can get the script here: msc-mlb-standalone.zip
You can get the Nuke module here: msc-mlb-nuke.zip
Any comments or suggestions? This is the thread.


