Statistics Website

Helping Topics
Post Reply
User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

Statistics Website

#1

Post by Mohamed Alaa » 9 Months Ago

As we have too many plugins running MySQL so we thought that we should provide a script to gather all those information in 1 page.


| You will need:
  1. A server running PHP & MySQL.
  2. Level System (Optional).
  3. Escapes (Optional).
  4. Infects (Optional).

First of all, you will need to edit config.php for those information:
  • Code: Select all

        // Host to connect to
        define("DB_HOST", "localhost");
    
        // Database user
        define("DB_USER", "root");
    
        // User's password
        define("DB_PASSWORD", "");
    
        // Database name
        define("DB_DATABASE_NAME", "test");
    
        // Name of the table where all information stored in such as: escape coins, steamid, etc..
        define("TABLE_NAME", "test");
    
        // Are you using level system and want to view level information?
        define("USING_LEVELS", false);
    
        // Are you using infects counter and want to view infects?
        define("USING_INFECTS", true);
    
        // Are you using escapes counter and want to view infects?
        define("USING_ESCAPES", true);
    
        // How many players you want to view in the home page
        define("MAX_PLAYERS", 3);

Once done, head to: yourwebsitedns/stats/

If everything is being done correctly, you should see something like in this screenshot:
  • screen.png
If you have faced any issues, just comment down below.

| Download:
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#2

Post by Mohamed Alaa » 2 Months Ago

Updated.
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 401
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#3

Post by Muhammet20 » 2 Months Ago

Nice Work Bro, Thanks this is will help me too much, i waiting this from a long time
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest