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

Guests: 17

112.111.x.x forum
119.63.x.x user
157.56.x.x user
173.208.x.x forum
175.44.x.x forum
175.44.x.x forum
178.255.x.x forum
188.165.x.x forum
192.80.x.x forum
199.21.x.x forum
27.159.x.x forum
36.248.x.x forum
46.118.x.x forum
66.249.x.x user
66.249.x.x forum
72.44.x.x forum
94.181.x.x forum

Last Seen

Wussie Wed 13:43
game_stats.eu Wed 11:58
Hostprofil Wed 11:42
palyarmerc Wed 09:10
Zipps Wed 06:42

Newest Members

Forums
List players in list view?
Alibot
Sun May 04 2008, 11:12PM
Posts: 6
Joined: Sun May 04 2008, 11:04PM
Registered Member #4031
I'm using the latest standalone version of LGSL in Joomla (not 1.5, hence the standaloneness).

I've modified the table to have a show/hide link to display the players (see an example here under Server Status: http://www.wohclan.com)...click List Players. This isn't LGSL...but this is the effect I'm trying to get.

This is my test page running LGSL: http://www.wohclan.com/index.php?option=com_content&task=section&id=5&Itemid=29

The error is (you only see the error in IE...it seems to work in FF):
Warning: Invalid argument supplied for foreach() in /home/.pouncival/wohclan/wohclan.com/lgsl/lgsl_files/lgsl_list.php on line 78


Line 78 is:

                foreach ($server['p'] as $player)



What do I need to put in the lgsl_list.php file to make it know what the players are?

Thanks for your help!!
Website
Alibot
Sun May 04 2008, 11:23PM
Posts: 6
Joined: Sun May 04 2008, 11:04PM
Registered Member #4031
Oh...one other thing. The error only appears -sometimes- in IE...

It should appear the first time you go, but if you refresh it goes away. Very confusing! :S
Website
Alibot
Sun May 04 2008, 11:38PM
Posts: 6
Joined: Sun May 04 2008, 11:04PM
Registered Member #4031
One more update...it -does- happen in FF too. You just have to refresh a bunch of times or load the site without having FF open.
Website
Rich
Tue May 06 2008, 09:50AM
Posts: 1700
Joined: Wed Nov 26 2003, 04:30PM

The list only requests basic info.

You need to change the "s" request to "sp"
Website
Alibot
Tue May 06 2008, 10:01PM
Posts: 6
Joined: Sun May 04 2008, 11:04PM
Registered Member #4031
Solved. Thanks so much!!
Website
 

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