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

Guests: 13

112.111.x.x forum
112.111.x.x forum
175.44.x.x forum
175.44.x.x forum
176.9.x.x user
180.76.x.x forum
220.181.x.x forum
220.181.x.x dilbertplus
36.248.x.x forum
5.254.x.x forum
50.17.x.x forum
66.249.x.x forum
91.236.x.x comment

Last Seen

Zipps Tue 03:33
TacTicToe Mon 22:33
Dodgeitorelse Mon 19:45
xMin Mon 17:18
»Stefan Mon 16:57

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