Posts: 4 Joined: Sat Jun 23 2012, 07:13AM Registered Member #7260
Is it possible to display the complete server list only for the zones? Like "LGSL&lgsl_zone_number=2", so it will only display servers which are in zone2
The zone number links with zones set in the LGSL admin area.
So in your case you will need to insert the above lines of code inside your web page, enclosed within "<?php" and "?>", and don't forget to make $lgsl_zone_number = 2 if you want servers in zone 2 to be displayed. And yes, you can have multiple servers in one zone, which will be all displayed together. Have fun!
Posts: 4 Joined: Sat Jun 23 2012, 07:13AM Registered Member #7260
Thank you for the fast answer. But I don't mean the Blocks. I want to show only zones at the global list, thats why I spoke from lgsl_list I want to use zones at this: So I can show seperate serverlists with zones settings. Easiest way would be with given parameter Like "http://www.destinationunreal.com/modules.php?name=LGSL&lgsl_zone_number=2"
Posts: 160 Joined: Sun Mar 22 2009, 06:53AM Registered Member #4938
Ok, I get it: you want servers displayed as list and not as blocks. This is how you do it: First you edit lgsl/index.php: insert the following code BEFORE the line starting with "if":
if (isset($_GET['lgsl_zone_number']) && is_numeric($_GET['lgsl_zone_number'])) { $lgsl_zone_number = $_GET['lgsl_zone_number']; }
Then you edit lgsl/lgsl_files/lgsl_list.php: find the first line beginning with "$server_list =" and replace the whole line with: