Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Problem with 'server viewer v1.1 by webkolo'server viewer


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
1 odpowiedź w tym temacie

#1 Labrinth

    Nowy

  • Nowy

Reputacja: 0
Nowy

  • Postów:2
Offline

Napisano 17.08.2015 11:07

Sorry if I posted in the wrong section, but I am not polish and i can barely use this forum

So, i installed server viewer v1.1 by webkolo (http://amxx.pl/topic...1-by-webkolopl/). I modified the lgsl_config.php, i connected it to the database. The problem is when i add a server to the list.

 

It looks like this

(i 'blurred' the ip)

Spoiler

 

Why it looks like that?

 

I tried to add a server, but i dont really know what those means (i tried with google translate too)

Spoiler

 

 

Can you guys explain me what those things mean?

--------------------------------------

I modified lgsl_config.php as in the 'tutorial':

$lgsl_config['url_path'] = "http://public_html/serverviewer/admin/"; // pełna ścieżka do folderu /admin/ skryptu.
------>
No idea if i did the path correctly but it seems to work
$lgsl_config['db']['user']         = "myuser"; // login
$lgsl_config['db']['pass']        = "mypass"; // haslo
$lgsl_config['db']['db']        = "myDATABASE"; // nazwa bazy danych

I set this with my custom database.
This was easy, i think this is correct. I just wanted to point out this thing too.
    $lgsl_config['feed']['url']        = "http://mysite.com/serverviewer/admin/lgsl_feed.php"; // nie zmieniaj, bÄ™dzie pomagać w utrzymywaniu statusu serwera

In the 'note' field he told me not to change it, but it doesn`t work if i leave it as default(it was his site). So i had to change it with my site.

 

 And i don`t know what to do.

 

I saw that i can link it with IPB, but i don`t want to. Does it need to be linked with IPB in order to work?

 

I tried to add it on my IPB like he said in the tutorial

Krok 4: podłączenie listy serwerów pod IPB

Zaloguj się do ACP na forum: Wygląd -> Style i szablony -> IP.Board -> Główne szablony -> globalTemplate

Znajdź:
                <!-- ::: CONTENT ::: -->


Dodaj pod:
                <php>
                    require "./serverviewer/table.php";
                </php>
                {$output}

W pliku lgsl_config.php jest sekcja [ SERVERVIEWER: IP.BOARD - KONFIGURACJA ], gdzie można ustawić listę serwerów.

But, after i added that , the site went blank (white page). I tried to recache the skin, but it was still blank until i removed it.

 

Btw, i got IPB 3.4.8 , i read that it`s compatibile.

 

 

I hope you guys can explain this to me and help me out !

Sorry for my bad english.

Have a nice day!


  • +
  • -
  • 0

#2 Arnn

    Zaawansowany

  • Użytkownik

Reputacja: 40
Pomocny

  • Postów:82
  • GG:
  • Imię:Daniel
  • Lokalizacja:TG
Offline

Napisano 25.10.2015 16:27

Please do not change to you website:

$lgsl_config['feed']['url']        = "http://mysite.com/serverviewer/admin/lgsl_feed.php"; // nie zmieniaj, bÄ™dzie pomagać w utrzymywaniu statusu serwera

 

Use default:

$lgsl_config['feed']['url'] = "http://webkolo.pl/others/serverviewer/admin/lgsl_feed.php"; // nie zmieniaj, będzie pomagać w utrzymywaniu statusu serwera

 

 


  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych