Skocz do zawartości

Zablokowane Usuwanie komunikatu z panelu administratora o braku klucza lub wygasłej licencji


RumcajsJumper

Rekomendowane odpowiedzi

Aby wyłączyć komunikaty o braku wpisanego klucza licencyjnego:
pre_1340817326__2012-06-27_19-14-35.png

Lub wygasłej licencji:

pre_1340817293__2012-06-27_19-14-10.png

Przechodzimy kolejno do
admin > skin_cp > cp_skin_global.php
Odszukujemy w tym pliku:

if( !$this->settings['ipb_reg_number'] )

{

$this->lang->words['license_missing_info'] = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] . 'app=core&module=tools&section=licensekey' );

$extra_class = 'force_license';

$license_html = <<<HTML

<div id='license_notice_force'>

<h4>{$this->lang->words['license_missing_header']}</h4>

<p>{$this->lang->words['license_missing_info']}</p>

</div>

HTML;

}

else

{

$licenseData = $this->cache->getCache( 'licenseData' );


if( ( !$licenseData OR !$licenseData['key']['_expires'] OR $licenseData['key']['_expires'] < IPS_UNIX_TIME_NOW and $licenseData['key']['_expires'] != -1 ) AND !IPSCookie::get( 'ignore-license-notice' ) )

{

$extra_class = 'expired_license';

$license_html = <<<HTML

<div id='license_notice_expired'>

<div class='right'><a id='license-close' href='#'>Close</a></div>

<h4>{$this->lang->words['license_expired_header']}</h4>

<p>{$this->lang->words['license_expired_info']}</p>

</div>

HTML;

}

}

i zmieniamy go na:

/*

if( !$this->settings['ipb_reg_number'] )

{

$this->lang->words['license_missing_info'] = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] . 'app=core&module=tools&section=licensekey' );

$extra_class = 'force_license';

$license_html = <<<HTML

<div id='license_notice_force'>

<h4>{$this->lang->words['license_missing_header']}</h4>

<p>{$this->lang->words['license_missing_info']}</p>

</div>

HTML;

}

else

{

$licenseData = $this->cache->getCache( 'licenseData' );


if( ( !$licenseData OR !$licenseData['key']['_expires'] OR $licenseData['key']['_expires'] < IPS_UNIX_TIME_NOW and $licenseData['key']['_expires'] != -1 ) AND !IPSCookie::get( 'ignore-license-notice' ) )

{

$extra_class = 'expired_license';

$license_html = <<<HTML

<div id='license_notice_expired'>

<div class='right'><a id='license-close' href='#'>Close</a></div>

<h4>{$this->lang->words['license_expired_header']}</h4>

<p>{$this->lang->words['license_expired_info']}</p>

</div>

HTML;

}

}

*/

Gotowe :)

 

Źródło: forum.invisionize.pl

POSZUKUJE WSPÓLNIKÓW / OPIEKUNÓW - NA SERWERKI CS:GO!

:!!: Skontaktuj się ze mną po więcej szczegółów :!!:

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 tygodnie później...

Wiadomość wygenerowana automatycznie

 

temat_zamkniety.png
Powód: brak zainteresowania, zamykam

 

Jeżeli się z tym nie zgadzasz raportuj ten post a moderator lub administrator rozpatrzy go ponownie.
Z pozdrowieniami.
Administracja CSowicze.pl

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 rok później...

 

Wiadomość automatyczna

 

Temat został przeniesiony z

"Sprawy ogólneSprawy dotyczące forumArchiwum"

do

"Archiwum ForumTematy Archiwalne".

46eb1ed9cbe7d5fa853e8ae5bd972479.gif

Przeczytaj Regulamin!

arrow_state_grey_right.png

Odwiedź mnie!

arrow_state_grey_right.png

W razie problemów, napisz do mnie!

arrow_state_grey_right.png

Zobacz moją galerię!

arrow_state_grey_right.png

Reklamuj naszą sieć innym!

arrow_state_grey_right.png

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie