Battlefield 2 Stats
Description:
This plugin creates a function which outputs your Battlefield 2 profile statistics. The data is fetched via a XML feed from BF2S.com. It’s intended for your sidebar, but can also be used on a WordPress page.
It’s fully configurable via an options page in the WordPress admin area and only requires that you add the plugin’s output function to your theme’s sidebar to get it working.
To see it in action, look to your right in my sidebar, just below the weather.
Download:
This plugin has been moved!
You can now find it at the WordPress.org plugin database.
Support / Feature Request Forum:
http://www.viper007bond.com/wordpress-plugins/forums/viewforum.php?id=20
Donate
If you enjoy this plugin, please consider sending a few bucks my way. I’ve spent a lotta time on this plugin and all donated money will be put towards paying off my college loans and such. :)
Configuration Page Screenshot
Click for a larger version.
Change Log:
- v1.14: Complete recode of the ranks code due to stupidity on my part when it was first coded. Also various bug fixes and improved error handling. Please make sure to upload the new image file as well.
- v1.13: BF2S.com no longer allows the use of playernames, so this plugin now reflects that change. You can only use PIDs now. Also new are some minor improvements and bug fixes.
- v1.12: WordPress Widgets support and long term logging added. Now if an error occurs, you’ll actually be able to see it later on rather than just at the time it occured. Also some various bug fixes I believe (hard to remember what I changed, lol).
- v1.11: Localization support added. Now all of you non-English bloggers can display your stats in whatever language you wish. Also added are thousands seperators in the numbers (for easier reading) and unit abbreviations to the playtime (example: Playtime: 236h:06m:04s). You can toggle the use of that though.
- v1.10: Ranks introduced in the BF2 v1.2 patch added as well as many new features / improvements including an optional update checker that connects to my website every once in a while to look for a new version.
- v1.02: More improvements in the rank percentages (you can now choose from two percent types) as well as a widget for WP-Dash. You can also now use your player name to fetch your stats rather than only your PID.
- v1.01: Major “percentage to next rank” improvements. Basically, I wasn’t correctly calculating the percenteage in v1.00.



Any plan for a BF2142 plugin?
Jeff on November 9th, 2006 at 1:30 PM wrote:
EA is currently not allowing websites to pull data from their feed, so at this point, it looks unlikely.
I want to display more than 1 player on my weblog and not only mine. Is there a way to do that?
Kultivate on January 9th, 2007 at 2:19 AM wrote:
Not with my plugin, no. I had plans to support them, but dropped them after I stopped playing BF2 and moved on to 2142 and other games.
Try the official BF2S.com leaderboard API: http://jrm.cc/extras/mlb/ (see the readme)
Please add an option that grabs the “Last Battle on …”-date.
Oliver on March 28th, 2007 at 9:35 AM wrote:
All information that’s available in the feed I use is currently available for display in the plugin.
BF2S.com has just released a new, separate feed that contains nearly ALL data in your profile, however due to the age of this game and other priorities I have, this plugin is probably at it’s final release and will never be updated again.
im getting ready for bf2!!!!!!!!! :D
im getting ready for bf2!!!!!!!!!!!!!!!!!!!!!!!!!!! :D
ive got the same problem as other people, i play on ranked servers but my stats dont update. my nicks are 0_basalt_0 and BASALTWOLF.