Battlefield Bad Company 2 Stats Widget
Posted by Freelander | Filed under Plugins
Version 1.2 Released!
This is a WordPress Widget I wrote for Battlefield Bad Company 2 players to show their short stats on their WordPress blog pages. Stats are powered by bfbcs.com. Unfortunately they are not real time, so if the plugin doesn’t show your stats, I recommend you to go to bfbcs.com, search your player name and click add queue button to get yourself added into update queue, although the script itself should put you into the update queue automatically.
Installation
Installation is very simple like any other WordPress widgets or plugins.
- Upload the bfbc2-stats directory along with all its files to the /wp-content/plugins/ directory
- Connect to your webroot using a ftp client. Open bfbc2-stats directory, locate and make “cache” directory writable by the webserver or simply chmod it to 777.
- Activate the plugin through the “Plugins” menu in WordPress
- From Appearance/Widgets drag and drop BFBC2 stats widget to your sidebar where you want it to appear.
Widget Settings
- Title: Enter a title if you want to change the default title which is “My BFBC2 Stats”

- Playername: Enter your player name exactly as you use in the game.
- Platform: Select your platform: PC, XBOX360 or PS3
- Cache Time: Stats are cached in the cache directory for faster page load and reduce unnecessary connection request to bfbcs.com everytime you connect to your page. Enter a cache time if you like or keep the default value 3600 seconds (1 hour). I don’t reccomend setting this value to a lower number like 60 secs as it may slow down your page loading time.
Support
If you have any problems, feel free to contact me using the contact link on the top menu!
Demo
A live demo of this widget is on the sidebar!
Tip
If you want to display this widget (or any of your widgets) on specific pages only, I recommend you to install widget-logic.
Download Version 1.2
Click to download from WordPress Plugin Directory!
Changelog
v1.2.3 (28 September 2010)
* Now servers without cURL support can use the plugin.
* Added some css to override various theme styles.
* Fixed the broken plugin page link on the admin plugins page. (Thanks to Richard for pointing out!)
v1.2 (03 June 2010)
* Added platform, favorite kit and vetaran status
* Added favorite weapon
* Checks cURL functions status to prevent fatal errors
* Code improvements
v1.1 (18 May 2010)
* Fixed ratio calculation bug
* Added rank progress bar
* Fixed cross browser display issues
v1.0 (14 May 2010)
* First public release




ShareThis



February 15th, 2011 at 11:13 PM
U should make something like this for mw2
haha btw ur site is SOOOO awsome!
wish i could make it that awsome :$
September 1st, 2011 at 10:39 AM
hello,i want to know if there is a code that i can use to adapt this plug in to the pages…i want to show a list of players.
And you will do something like this for BF3?i hope!!
September 5th, 2011 at 6:43 PM
You can display the stats of a single player only. I’m planning to make a plugin for BF3 too and hope this feature will be included in it.