Our Other Sites:
Getting Started:
AACGC MOH Stats
The AACGC MOH Stats plugin allows users to enter their Medal of Honor 2010 username in their profile and displays their total MOH game stats on your website. Includes a page that shows list of users with their game info, a scrolling menu with list of users and brief MOH game stats, shows custom badge in profiles above users signature area, and displays custom mini badge in forum posts. All badges and list page link to user's MOH Detailed Stats page that shows their entire game stats on your site.

IMPORTANT:
Uses 2 e107 Exteneded user fields called user_moh & user_mohtype 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 MOH 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 mohstats.com
Creator:
AACGC
Arthor:
M@CH!N3
Website:
http://www.aacgc.com
Type:
Plugin
Created:
2011
Download:
Bug Tracker:
Forums:
Plugin Details & Layout:

What Stats Are Shown For Each User?
This plugin displays user MOH 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 MOH Detail page built into this plugin shows the most information and all badges link to the detail page for each user.

User MOH detail page:
shows everything you can think of from a users MOH player. It shows Weapon Stats, Vehicle Stats, Kit Stats, Team Stats, Ribbons, Medals, Achievments, all with detailed information such as kills, deaths, k/d ratio, Kills per min, time, and much more...

User profiles:
show a custom badge created that shows the users's MOH Username, Platform, Score, skill, and more with a view details button that links to their MOH Detail stats page on your site.

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

User list menu:
shows name, score, skill, platform, and is clickable to the user's MOH detail page.

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


Extended User Fields

Creating The user_moh 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! This will allow users to add their MOH username and platform in their profiles so their stats can be shown. Please note that if a user adds an invalid MOH name it will not shown in the plugin, this keeps it from showing blank spots for users who add random characters.

In your e107 Admin Cpanel, click User Extended Fields.

Click Add New Field and enter the contents below:

Field name: user_moh
Field text: MOH 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_mohtype 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_mohtype
Field text: MOH Platform
Field Type: Radio Buttons
Values: PC , 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.