Welcome to FPS Gamer

Gaming, Server Administration, Linux

If you play in one of my game servers, do not forget to check your stats here

If you are also interested in games, linux or want to follow my blog, register now not to miss anything!

Member Login

Lost your password?

Registration is closed

Sorry, you are not allowed to register by yourself on this site!

You must either be invited by one of our team member or request an invitation by email at info {at} yoursite {dot} com.

Note: If you are the admin and want to display the register form here, log in to your dashboard, and go to Settings > General and click "Anyone can register".

Battlefield Bad Company 2 Stats Widget

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

  1. Upload the bfbc2-stats directory 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 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”battlefield bad company 2 widget settings
  • 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

download

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

3 Responses to “Battlefield Bad Company 2 Stats Widget”

  1. jorricks Says:

    U should make something like this for mw2 :P
    haha btw ur site is SOOOO awsome!
    wish i could make it that awsome :$

  2. erry Says:

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

  3. Freelander Says:

    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.

Leave a Reply

*