AACGC BFBC2 Stats
The AACGC BFBC2 Stats plugin allows users to enter their BFBC2 username in their profile and displays their total BFBC2 game stats on your website. Includes a page that shows list of users with theirs game info, a scrolling menu with list of users and their BFBC2 game rank, shows custom badge in profiles above users signature area, and displays custom mini badge in forum posts. There is a hug variety of settings so you can adjust the layout to best fit your website. All badges and list page link to user's BFBC2 Detailed Stats page that shows their entire game stats.

IMPORTANT:
Uses 2 e107 Exteneded user fields called user_bfbc2 & user_bfbc2type that you must create in the extended user fields area of your e107 admin cpanel. The extended user field is what allows users to enter their BFBC2 username and Platform in their profiles, without these this plugin will not work.

NOTES:
Profile badges may not work if you have a custom theme with an altered user_template or if you use an alternate profiles plugin.
Forum badges may not work if you have a custom theme with an altered forum_viewtopic_template.
Supports Gold Orbs Plugin from Father Barry for usernames

This plugin was created by AACGC & Powered by bfbcs.com
Our Other Sites:
Getting Started:
Creator:
AACGC
Arthor:
M@CH!N3
Website:
http://www.aacgc.com
Type:
Plugin
Created:
2010
Download:
Bug Tracker:
Forums:
Plugin Details & Layout:

What Stats Are Shown For Each User?
This plugin displays user BFBC2 stats in several areas of your site if enabled. The menus, user profiles, and forum posts are limited in what is shown to save space and loading. The user's BFBC2 Detail page built into this plugin shows the most information and all badges link to the detail page for each user.

User BFBC2 detail page:
shows everything you can think of from a users BFBC2 player however you can enable or disable what you want to show. It shows Weapon Stats, Vehicle Stats, Kit Stats, Team Stats, Insignas, Pins, Achievments, all with detailed information such as kills, deaths, k/d ratio, shots fired, shots hit, time, distance, and much more...

User profiles:
show a custom badge created that shows the users's BFBC2 Username, Platform, Rank Image, Rank Name, Score, Level, and has a view details button that links to their BFBC2 Detail stats page on your site.

Forums:
show a custom badge that shows users Rank Image, Rank Name, mini platform icon, and a view details button that links to their BFBC2 Detail stats page on your site.

User list menu:
shows User Rank, User Score, User Level, User Kills, User Death, User K/D Ration, User Time, & User Last Updated with options to enable or disbale each one.

What Layouts Are Available?
There are several settings you can adjust to change the layout of the user list page, user list menu, and user detail pages. Most of the options are what to show and what not to show so you can get the user list menu to fit in tight areas or to keep the user list page from stretching your site, however for the user's detail page you have options to use expanding sections, set location of the buttons that control the expanding sections, and option to adjust the height of each expanding section.

Other Stats With This Plugin
This plugin also comes with a Global Stats menu that shows the total number of servers, players, and online players for PC, Xbox360, and PS3. You can enable or disable each stats shown in the admin settings.


Extended User Fields:

Creating The user_bfbc2 Extended Field
This is an important part of this plugin, without this field this plugin will not work and if not created properly the plugin will not work properly!
In your e107 Admin Cpanel, click User Extended Fields.

Click Add New Field and enter the contents below:

Field name: user_bfbc2
Field text: BFBC2 Username
Field Type: Text Box
Required: No - show on signup page
Applicable: Members
Read access: Members
Write Access: Members
Allow user to hide: No

Creating The user_bfbc2type Extended Field

This is an important part of this plugin, without this field this plugin will not work and if not created properly the plugin will not work properly!
In your e107 Admin Cpanel, click User Extended Fields.

Click Add New Field and enter the contents below:

Field name: user_bfbc2type
Field text: BFBC2 Platform
Field Type: Radio Buttons
Values: Windows , PS3 , Xbox360 (make sure each value is seperate and starts with a capitol letter)
Required: No - show on signup page
Applicable: Members
Read access: Members
Write Access: Members
Allow user to hide: No


Plugin Requirements:

PHP Version Required:
This Plugin uses what is called the json_decode function to call member stats from the bfbcstats.com website. This code funstion was added to PHP Version 5.2 and higher. If your not using PHP Version 5.2 or higher then this plugin will not work. You must update your PHP before using this plugin.