Results 1 to 10 of 1641
Threaded View
-
20-11-2013, 21:54 #1
- Join Date
- Nov 2011
- Posts
- 3,053
[BF4] Stats webpage for XpKiller's Stats Logger Plugin
The full featured stats webpage!
BF4 Stats Web Page Overview
web_stats_index.jpg
web_stats_demo.jpg
web_stats_banner.jpg
Features:
- Easy setup.
- Individual server or combined server stats.
- Country stats.
- Map stats.
- Player stats.
- Weapon stats.
- Dog tag stats.
- Game server stats.
- Live scoreboard.
- Top players list / leaderboard.
- Player name search.
- Top players of the Week.
- Suspicious players search.
- Server chat log.
- Stats signature images.
- Gametracker-style server banners.
- Battlelog theme.
Demo
https://egc-la.evga.com/battlefield/index.php
Prerequisites
This webpage code requires the use of a stats database which is created by XpKiller's BF4 Chat, GUID, Stats and Mapstats Logger Plugin version 1.0.0.2 or newer. If you need help with XpKiller's stats logging plugin, you must seek assistance in XpKiller's thread.
For best compatibility with this code, use the following settings in XpKiller's PRoCon logging plugin:
"Enable Statslogging?" : Yes
"Enable Weaponstats?" : Yes
"Enable Livescoreboard in DB?" : Yes
"tableSuffix" : None (empty)
"MapStats ON?" : Yes
"Session ON?" : Yes
"Save Sessiondata to DB?" : Yes
"Log playerdata only (no playerstats)?" : No
This webpage code also requires that you have access to a web server running a modern version of PHP and that you have permission to modify files on the web server.
Additional Info
GitHub:
http://tyger07.github.io/BF4-Server-Stats
Installation Steps:
Download the following file:
https://github.com/tyger07/BF4-Serve...zipball/master
Extract the files.
You may change the appearance of the page by modifying the stats.css file in the common folder.
Fill in the required parameters before using this code. You must place the necessary data between the the following single quotation marks ('').
Note: You may not include single quotation marks (') in the following fields. For instance, you may not call your clan 'Ty_ger07's Clan' as it will create a PHP compilation error.
For example, this would not work:
// CLAN NAME
$clan_name = 'Ty_ger07's Clan'; // your gaming clan or organization name
For example, this would work:
// CLAN NAME
$clan_name = 'Ty_ger07\'s Clan'; // your gaming clan or organization name
You must fill in the following information in the config.php file found in the config folder
1) Input your stats database host, stats database user name, stats database password, and stats database name.
Code:// DATABASE INFORMATION DEFINE('HOST', ''); // database host address DEFINE('PORT', '3306'); // database port - default is 3306 DEFINE('NAME', ''); // database name DEFINE('USER', ''); // database user name - sometimes the same as the database name DEFINE('PASS', ''); // database password
// DATABASE INFORMATION
DEFINE('HOST', '100.200.300.400'); // database host address
DEFINE('PORT', '3306'); // database port - default is 3306
DEFINE('NAME', 'database'); // database name
DEFINE('USER', 'user'); // database user name - sometimes the same as the database name
DEFINE('PASS', 'pass'); // database password
2) Input your clan name as you would like it to appear in the stats pages.
Code:// CLAN NAME $clan_name = ''; // your gaming clan or organization name
// CLAN NAME
$clan_name = 'MyClan'; // your gaming clan or organization name
3) Input your desired banner image URL if you want one other than the default to be displayed.
Code:// PAGE BANNER $banner_image = './images/bf4-logo.png'; // your desired page banner
4) Enter the URL which you would like users to redirect to if they click your banner image.
Code:// BANNER LINK $banner_url = 'http://tyger07.github.io/BF4-Server-Stats/'; // where clicking the banner will take you
Enjoy!
(if you want to donate, ask me how)
Changelog:
Refer to: https://github.com/tyger07/BF4-Serve...commits/masterLast edited by ty_ger07; 25-07-2018 at 09:41.