Results 1 to 10 of 1618

Threaded View

  1. #1
    Community Contributor
    Join Date
    Nov 2011
    Posts
    3,012

    Cool [BF4] Stats webpage for XpKiller's Stats Logger Plugin (Updated 11-6-2017)

    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
    You must use a PHP delimiter if you wish to use single quotes within the following fields.
    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
    For example:
    // 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
    Note: Some web server providers (such as GoDaddy) use the same value for database name and database user name.


    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
    For example:
    // 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/master
    Last edited by ty_ger07; 07-04-2018 at 00:36.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •