Aby wyłączyć komunikaty o braku wpisanego klucza licencyjnego: Lub wygasłej licencji: 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§ion=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§ion=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