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

Guests: 42

185.25.x.x forum
207.46.x.x dilbertplus
216.244.x.x forum
3.16.x.x news
40.77.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
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 user
46.229.x.x forum
46.229.x.x forum
46.4.x.x dilbertplus
54.235.x.x forum
54.36.x.x dilbertplus
54.36.x.x dilbertplus
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 comment
54.36.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 lgsl
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum

Last Seen

4Rsercom Thu 21:49
Apophis01 Fri 10:15
Bommel Wed 09:39
frob Sat 21:14
ODDBALL118 Fri 17:07

Newest Members

Forums
[SOLVED] see the game's name like in admin panel?
KIKOFF
Sun Nov 21 2010, 07:55PM

Posts: 132
Joined: Thu Nov 18 2010, 08:18AM
Registered Member #6411
Hi, it is possible see the game's name in front as it appears in the admin panel?
ejem:
bfbc2 => Battlefield Bad Company 2


In lgsl_admin:
 ($lgsl_type_list as $type => $description)


How should be implemente this in lgsl_list and lgsl_details?

Saludos, KIKOFF

PD:excuse my bad English

Lo cortez, no quita lo valiente... ahhh... yes e107 Rock
KIKOFF
Mon Nov 22 2010, 03:20PM

Posts: 132
Joined: Thu Nov 18 2010, 08:18AM
Registered Member #6411
anyone know how?

Lo cortez, no quita lo valiente... ahhh... yes e107 Rock
Mac[PLATOoN]
Mon Nov 22 2010, 05:24PM
Posts: 75
Joined: Sun Nov 21 2010, 09:37AM
Registered Member #6416
you have stand alone or e107 version or which?

KIKOFF
Tue Nov 23 2010, 07:50AM

Posts: 132
Joined: Thu Nov 18 2010, 08:18AM
Registered Member #6411
Hi, mine is with e107.

Lo cortez, no quita lo valiente... ahhh... yes e107 Rock
Mac[PLATOoN]
Tue Nov 23 2010, 07:56AM
Posts: 75
Joined: Sun Nov 21 2010, 09:37AM
Registered Member #6416
the it is quite easy if you dont have too much servers...
put each server in a special zone and edit lgsl_config.php (in folder lgsl-files)
and serch something like this:
//[ e107 VERSION: TITLES - OTHER VERSIONS ARE SET BY THE CMS ]

$lgsl_config['title'][0] = "Game Server";
$lgsl_config['title'][1] = "Game Server";
$lgsl_config['title'][2] = "Game Server";
$lgsl_config['title'][3] = "Game Server";
$lgsl_config['title'][4] = "Game Server";
$lgsl_config['title'][5] = "Game Server";
$lgsl_config['title'][6] = "Game Server";
$lgsl_config['title'][7] = "Game Server";
$lgsl_config['title'][8] = "Game Server";


the first one will be zone0 so on list the title of the listing with the zones...

i used zones 1 to 3 for our servers and renamed [1] to [3] with name of server or game...

hope this is a help or hint...

KIKOFF
Tue Nov 23 2010, 08:15AM

Posts: 132
Joined: Thu Nov 18 2010, 08:18AM
Registered Member #6411
Hi Mac, thanks for your interest. But I am not referring to the zone.
I mean the game's name as it appears on the part of admininstracion, which is not the same as the lgsl_list lgsl_details.

An example administration:


And in front of the site:


Saludos, KIKOFF

Lo cortez, no quita lo valiente... ahhh... yes e107 Rock
Mac[PLATOoN]
Tue Nov 23 2010, 08:53AM
Posts: 75
Joined: Sun Nov 21 2010, 09:37AM
Registered Member #6416
hmmm i will take a look at code at home, but i am not that expert at that...

Mac[PLATOoN]
Tue Nov 23 2010, 01:51PM
Posts: 75
Joined: Sun Nov 21 2010, 09:37AM
Registered Member #6416
as i said i am no expert but in file lgsl_protocol there is an array, maybe it could be done by something like that....
in sql-database names are stored in the way you dont want to have them...

maybe rich could help? Would be very interested, too.

Mac[PLATOoN]
Tue Nov 23 2010, 03:41PM
Posts: 75
Joined: Sun Nov 21 2010, 09:37AM
Registered Member #6416
hmm maybe idea for workaround:
make little pictures with the text in it, transparent background and named like game type is shown....
so you could view the picture instead....


Xsfd (M.D.A)
Tue Nov 23 2010, 04:30PM

Posts: 90
Joined: Wed Aug 18 2010, 10:42AM
Registered Member #6225
KIKOFF

1) In lgsl_list.php or lgsl_detail.php
behind <?php
add:

if ($server['b']['type'] != $previous_type)
{
if (!isset($lgsl_type_list)) { $lgsl_type_list = lgsl_type_list(); }}


2) Find and replace {$server['b']['type']} to {$lgsl_type_list[$server['b']['type']]}

Website
KIKOFF
Tue Nov 23 2010, 05:30PM

Posts: 132
Joined: Thu Nov 18 2010, 08:18AM
Registered Member #6411
Thank you very much xsfd, the code works, and thank you to Mac



But i had to put code for lgsl_details after
global $lgsl_server_id;

  $server = lgsl_query_cached("", "", "", "", "", "sep", $lgsl_server_id);


And for lgsl_list after
foreach ($server_list as $server)


Again thank you very much and saludos, KIKOFF

Lo cortez, no quita lo valiente... ahhh... yes e107 Rock
Xsfd (M.D.A)
Tue Nov 23 2010, 07:18PM

Posts: 90
Joined: Wed Aug 18 2010, 10:42AM
Registered Member #6225
KIKOFF wrote ...

Thank you very much xsfd, the code works, and thank you to Mac



But i had to put code for lgsl_details after
global $lgsl_server_id;

  $server = lgsl_query_cached("", "", "", "", "", "sep", $lgsl_server_id);


And for lgsl_list after
foreach ($server_list as $server)


Again thank you very much and saludos, KIKOFF


ou! can you take me you lgsl_details.php please))?

Website
Mac[PLATOoN]
Wed Nov 24 2010, 02:33AM
Posts: 75
Joined: Sun Nov 21 2010, 09:37AM
Registered Member #6416
yeah i am interested too into list and details

i was only working on zone but would like to do some work on my list and details page too

KIKOFF
Wed Nov 24 2010, 11:56AM

Posts: 132
Joined: Thu Nov 18 2010, 08:18AM
Registered Member #6411
xsfd wrote ...

ou! can you take me you lgsl_details.php please))?

I have sent you a PM

Lo cortez, no quita lo valiente... ahhh... yes e107 Rock
xMin
Tue Mar 08 2011, 03:30PM
Posts: 86
Joined: Fri Mar 04 2011, 08:41AM
Registered Member #6619
@KIKOFF

Can you send me your lgsl_list.php and lgsl_pagination.php file please !? I have problems with pagination (PM-ed you about this..) and next previous on server list page.. PM me please!

I will add "Server list script by KIKOFF" with link to your site in footer of my lgsl site when it will be live..! You will see it!
 

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