Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 25

164.132.x.x user
178.63.x.x user
180.76.x.x lgsl
180.76.x.x forum
217.182.x.x forum
217.182.x.x forum
220.181.x.x forum
46.161.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x lgsl
51.255.x.x forum
51.255.x.x forum
51.255.x.x lgsl
51.255.x.x forum
54.224.x.x forum
68.180.x.x forum
68.180.x.x forum

Last Seen

Dodgeitorelse Wed 21:14
adneycandy Mon 11:03
ESO2017 Fri 04:11
Marylee Jones Fri 02:36
Ericka Burke Fri 01:12

Newest Members

Forums
Need total players code
RAFFAK
Fri Apr 26 2013, 11:07AM
Posts: 4
Joined: Fri Apr 26 2013, 11:03AM
Registered Member #7694
Hello. I installed LGSL latest version. Perfect thing, works great. I want include as well into website from the LGSL:

Players: xx Max Players: xx

So I will do Players: players/max players

How much I tried anything else, all was showing not good information. This one is perfect. Please help me.
game_stats.eu
Sat Apr 27 2013, 02:46PM

Posts: 15
Joined: Sun Jan 13 2013, 08:23AM
Registered Member #7520
<?
 $server_list 
lgsl_query_group();
 
$total lgsl_group_totals($server_list);
 echo 
" Servers:         {$total['servers']}
        Servers Online:  
{$total['servers_online']}
        Servers Offline: 
{$total['servers_offline']}
        Players:         
{$total['players']}
        Max Players:     
{$total['playersmax']} ";
?>

RAFFAK
Mon Apr 29 2013, 04:46AM
Posts: 4
Joined: Fri Apr 26 2013, 11:03AM
Registered Member #7694
Nothing. Is showing white empty page
Dodgeitorelse
Mon Apr 29 2013, 05:25AM
Posts: 244
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
that is generally due to an incorrect single quote(') or double quote(") or missing semi colon (;)

lack of effort on your part requires less effort on my part
Website
Dodgeitorelse
Mon Apr 29 2013, 05:25AM
Posts: 244
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
show your code so we can have a look

lack of effort on your part requires less effort on my part
Website
RAFFAK
Mon Apr 29 2013, 01:52PM
Posts: 4
Joined: Fri Apr 26 2013, 11:03AM
Registered Member #7694
I just created with this code php file. I opened in browser and nothing
game_stats.eu
Mon Apr 29 2013, 03:01PM

Posts: 15
Joined: Sun Jan 13 2013, 08:23AM
Registered Member #7520
<?PHP
define
("inc"true);
define('IN_VALID'true);
require (
"lgsl/lgsl_files/lgsl_class.php");
 
$server_list lgsl_query_group();
 
$total lgsl_group_totals($server_list);
 echo 
" Servers:         {$total['servers']}
        Servers Online:  
{$total['servers_online']}
        Servers Offline: 
{$total['servers_offline']}
        Players:         
{$total['players']}
        Max Players:     
{$total['playersmax']} ";
?>
game_stats.eu
Mon Apr 29 2013, 03:04PM

Posts: 15
Joined: Sun Jan 13 2013, 08:23AM
Registered Member #7520
http://game-stats.eu/test.php
RAFFAK
Tue Apr 30 2013, 07:45AM
Posts: 4
Joined: Fri Apr 26 2013, 11:03AM
Registered Member #7694
Thank you! Works great! Was bad directory. Perfect!
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org