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

Guests: 49

151.80.x.x forum
173.212.x.x forum
176.48.x.x forum
207.46.x.x forum
216.244.x.x top
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.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 forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
5.196.x.x forum
52.11.x.x forum
54.145.x.x forum
54.186.x.x forum
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x lgsl
54.36.x.x forum
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x forum
54.36.x.x user
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x dilbertplus
66.249.x.x user
95.163.x.x news

Last Seen

mrstipfan Wed 10:54
Nouton^ Wed 10:12
Wussie Mon 01:59
Dodgeitorelse Mon 16:49
85filip58 Wed 12:06

Newest Members

Forums
How to add titles above columns and fix L4D version bug?
Ettans
Mon Mar 16 2009, 08:22AM
Posts: 2
Joined: Mon Mar 16 2009, 08:15AM
Registered Member #4918
Hi! I'm having trouble with adding titles above the server list and also the game-version is acting weird. It usually shows for 1-3 servers and sometimes it doesn't show up at all.

Current server list:


How I want it to be:


From those images you can also see that only 2 servers have the version slot filled in.

Code for displaying version, in lgsl_list.php:


<td title='Server version' style='white-space:nowrap; text-align:right'>
{$server['e']['version']}
</td>


If anyone can help me out here, I'd really appreciate it.

-Ettans


Edit: I got the title thing done, but still having trouble with versions.
Website
Rich
Fri Mar 20 2009, 09:56PM
Posts: 1717
Joined: Wed Nov 26 2003, 04:30PM

s = standard info
e = extra info
p = player info

You need to edit the lgsl_list.php and change

lgsl_query_cached_all("s");
to
lgsl_query_cached_all("se");

As version will be 'extra' that is not requested, you would only see it where the server details have been viewed and the 'extra' would then be placed into the cache for a short time.
Website
Ettans
Tue Mar 24 2009, 02:59PM
Posts: 2
Joined: Mon Mar 16 2009, 08:15AM
Registered Member #4918
Thank you very much Richard!
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