This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

BFBC2 Stats


  • Author URI:
  • Copyright: Released under GNU GENERAL PUBLIC LICENSE

This is a sidebar widget I wrote for Battlefield Bad Company 2 players to show their short stats on their
blog pages. Stats are powered by

If you have any problems, please feel free to contact me using the contact form on my website.

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 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.


  • Widget preview.
  • Widget settings in admin panel.


Installation is very simple like any other widgets or plugins.

  1. Upload the bfbc2-stats folder along with all its files to the /wp-content/plugins/ directory
  2. 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.
  3. Activate the plugin through the “Plugins” menu in WordPress
  4. From Apperaence/Widgets drag and drop BFBC2 stats widget to your sidebar where you want it to appear.


There are no reviews for this plugin.

Contributors & Developers

“BFBC2 Stats” is open source software. The following people have contributed to this plugin.


Translate “BFBC2 Stats” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • 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!)


  • Some Fixes


  • Fixed image path bugs


  • Added platform, favorite kit and veteran status
  • Added favorite weapon
  • Checks cURL functions status to prevent fatal errors
  • Code improvements


  • Fixed ratio calculation bug
  • Added rank progress bar
  • Fixed cross browser display issues


  • First public release