INFORMATION
The function of this script is to show the statistics of the server in real time, this means that if people are connected, the amount of connected will rise automatically without having to reload the page.
INSTALLATION
Inside the .rar file you will find 3 files: "index.php", "stats_config.php" and "stats_functions.php"
* Copy the files "stats_config.php" and "stats_functions.php" to the main root of the site (htdocs or public_html)
* Open the stats_config.php file with a notepad or your favorite editor and edit the connection data to your database.
* Open the index.php file and copy its contents and paste it under the template styles. For example
We will look for the area in which our site says the online, for example:
****IMPORTANT***
IF YOU USE HOSTING CPANEL DO NOT OPEN THE WEBSITE UNTIL YOU HAVE MADE ALL THE STEPS, BUT THE RISKS HAVE BEEN BLOCKED BY THE SERVER.
The result to be derived is not obtained from any php, it can be extracted from a <span>, <div>, etc.
* Using the example below we must delete the php code and add the following code: id = "online"
We will stay as follows:
If for these coincidences does not have a similar code, simply put
The function of this script is to show the statistics of the server in real time, this means that if people are connected, the amount of connected will rise automatically without having to reload the page.
INSTALLATION
Inside the .rar file you will find 3 files: "index.php", "stats_config.php" and "stats_functions.php"
* Copy the files "stats_config.php" and "stats_functions.php" to the main root of the site (htdocs or public_html)
* Open the stats_config.php file with a notepad or your favorite editor and edit the connection data to your database.
* Open the index.php file and copy its contents and paste it under the template styles. For example
PHP:
<link rel="stylesheet" href="template/<?=$core['config']['template'] ?>/css/coreStyle.css">
HERE PASTE THE CODE
We will look for the area in which our site says the online, for example:
PHP:
<td>Usuarios en Linea</td><td style="color:#00ff00;"><? echo $usersOnline; ?> </td>
****IMPORTANT***
IF YOU USE HOSTING CPANEL DO NOT OPEN THE WEBSITE UNTIL YOU HAVE MADE ALL THE STEPS, BUT THE RISKS HAVE BEEN BLOCKED BY THE SERVER.
The result to be derived is not obtained from any php, it can be extracted from a <span>, <div>, etc.
* Using the example below we must delete the php code and add the following code: id = "online"
We will stay as follows:
PHP:
<td>Usuarios en Linea</td><td style="color:#00ff00;" id="online"></td>
If for these coincidences does not have a similar code, simply put
PHP:
<span id="online">
DEMO
DOWNLOADS
Credits:
inax123
Please, NO MIRRORS.
Only the statistics of online users, if you want customs apart send an email to inax123@gmail.com or send private message.
DOWNLOADS
You must be registered to see links
Credits:
inax123
Please, NO MIRRORS.
Only the statistics of online users, if you want customs apart send an email to inax123@gmail.com or send private message.
Last edited by a moderator: