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

Guests: 47

112.5.x.x comment
151.80.x.x forum
185.25.x.x rss
207.46.x.x comment
216.244.x.x dilbertplus
220.181.x.x forum
31.184.x.x forum
36.250.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 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 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 forum
5.255.x.x forum
54.163.x.x forum
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 forum
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x download
54.36.x.x forum
54.36.x.x dilbertplus
66.249.x.x forum
66.249.x.x forum
78.46.x.x dilbertplus
88.212.x.x forum
91.242.x.x forum

Last Seen

Wussie Thu 15:55
Dodgeitorelse Mon 16:49
85filip58 Wed 12:06
Bommel Mon 18:20
Apophis01 Wed 12:35

Newest Members

Forums
Separated Server List
Capu
Fri Jan 13 2017, 08:13AM
Posts: 2
Joined: Fri Jan 13 2017, 08:02AM
Registered Member #8596
Hi!
I´ve a little question separating the server list in LGSL...
My list is about 12 servers with a zone for each game type. Now I want to separate the list with a headline for each game.
For Example:

.
Headline CS:GO
.
lgsl serverlist zone 1
.
Headline L4D2
.
lgsl serverlist zone 2

and so on...

I tried my best, but HTML/PHP is not mine Do you have an idea for a simple solution?
Wussie
Fri Jan 13 2017, 06:14PM

Posts: 437
Joined: Sun Mar 22 2009, 06:53AM
Registered Member #4938
Hello
A very basic implementation for your index.php might be like this:

<html xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <title>Live Game Server List</title>
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
    <meta http-equiv='content-style-type' content='text/css' />
    <link rel='stylesheet' href='lgsl_style.css' type='text/css' />
  </head>
  <body>
    <h1 style='margin-top:30px'>CS:GO</h1>
<?php  global $output$lgsl_server_id;
  
$output "";
  
$lgsl_zone_number 1;
  require 
"lgsl_files/lgsl_zone.php";
  echo 
$output;
?>
    <h1 style='margin-top:30px'>L4D2</h1>
<?php
  $output 
"";
  
$lgsl_zone_number 2;
  require 
"lgsl_files/lgsl_zone.php";
  echo 
$output;
  unset(
$output);
?>
</body>
</html>

You will have to learn some HTML and PHP however.

Not working for you?
Don't forget to share the IP/ports of the offending server so that people can do tests and help you.
Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!
Website
Capu
Mon Jan 16 2017, 03:26AM
Posts: 2
Joined: Fri Jan 13 2017, 08:02AM
Registered Member #8596
Thx Wussie!
Working fine! You're right, some PHP knowledge is advantageous... Working on it!
lukenlow
Fri May 11 2018, 09:10AM
Posts: 4
Joined: Fri May 11 2018, 08:04AM
Registered Member #8865
Thanks for the help! I knew what exactly on this site I can help with my problem 192.168.1.1
CoZmicShReddeR
Tue May 15 2018, 01:05PM
Posts: 54
Joined: Sun Dec 18 2005, 06:42AM
Registered Member #908
Is there a way to disable the link back from the map pic? Like where it says "CLICK TO VIEW SERVER DETAILS"

I just want to show the server information with map pic and players no return to main server list

Website
Wussie
Thu May 17 2018, 04:44PM

Posts: 437
Joined: Sun Mar 22 2009, 06:53AM
Registered Member #4938
You can disable the link by removing the href attribute from the <a> element, like for example in lgsl_list.php:
find
<a href='".lgsl_link($server['o']['id'])."' style='text-decoration:none'>

and replace with
<a style='text-decoration:none'>


There is no link on the map pic as far as I know.

Not working for you?
Don't forget to share the IP/ports of the offending server so that people can do tests and help you.
Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!
Website
CoZmicShReddeR
Sun May 20 2018, 11:11AM
Posts: 54
Joined: Sun Dec 18 2005, 06:42AM
Registered Member #908
Wussie wrote ...

You can disable the link by removing the href attribute from the <a> element, like for example in lgsl_list.php:
find
<a href='".lgsl_link($server['o']['id'])."' style='text-decoration:none'>

and replace with
<a style='text-decoration:none'>


There is no link on the map pic as far as I know.


First off thanks for the quick response @Wussie


When you hover over the map pic when using

<?php
$url1=$_SERVER['REQUEST_URI'];
header("Refresh: 10; URL=$url1");
global $lgsl_zone_number, $output;
$lgsl_zone_number = 5;
$output = "";
require "lgsl_files/lgsl_zone.php";
echo $output;

You can click on the map pic it will goto the servers information with map pic and player info

I am using inframe to show the servers I wanted to just show the users and map pic without any of the links back

inframe looks bad without any special coding it loads the entire page in a sidebar



I added your edits didn't change anything for that issue... I did clear my browser cache am assuming the edit was for another area

Website
Wussie
Tue May 22 2018, 04:18PM

Posts: 437
Joined: Sun Mar 22 2009, 06:53AM
Registered Member #4938
My suggestion was not meant as a solution to your specific issue, but as an example of how to remove the href attribute from the <a> tag, resulting in disabling that link.
You will probably have to edit your lgsl_zone.php, look for
<a href='".lgsl_link($server['o']['id'])."'>
and like I said, replace with
<a>


Not working for you?
Don't forget to share the IP/ports of the offending server so that people can do tests and help you.
Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!
Website
CoZmicShReddeR
Tue May 22 2018, 09:05PM
Posts: 54
Joined: Sun Dec 18 2005, 06:42AM
Registered Member #908
Wussie wrote ...

My suggestion was not meant as a solution to your specific issue, but as an example of how to remove the href attribute from the <a> tag, resulting in disabling that link.
You will probably have to edit your lgsl_zone.php, look for
<a href='".lgsl_link($server['o']['id'])."'>
and like I said, replace with
<a>



Beautiful! Thank you Thank you!



@Wussie Woot Woot!

Website
abc123456
Sat May 26 2018, 03:20AM
Posts: 102
Joined: Sat May 26 2018, 03:12AM
Registered Member #8888
[ REQUIRES ADMIN APPROVAL ]
 

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