[PremodSEO] Jak usunąć link do phpbb-seo.com ?
: 23 czerwca 2012, 00:48
Witam, chciałbym w Premodzie usunąc link na dole do phpbbseo i umieścić ich w normalnej stopce razem z phpbb - tak czytam jak to usunąć i sam nie wiem, wiem tyle ze chodzi o plik phpbb_seo_class.php i ten fragment:
Czyli co mam to wywalić całkowicie? Nie popsuje mi to nic z optymalizacją ? Może głupie pytanie ale wolałbym się upewnić szczerze mówiąc nie mam gdzie przetestować teraz. Gdzies jeszcze wyczytałem, że wystarczy zmienić function seo_end($return = false) na true ale sam nie wiem czy to wystarczy. Prosże o wskazówkę to chyba juz moja ostatnia prośba 
Kod: Zaznacz cały
/**
* seo_end() : The last touch function
* Note : This mod is going to help your site a lot in Search Engines
* We request that you keep this copyright notice as specified in the licence.
* If You really cannot put this link, you should at least provide us with one visible
* (can be small but visible) link on your home page or your forum Index using this code for example :
* <a href="http://www.phpbb-seo.com/" title="Search Engine Optimization">phpBB SEO</a>
*/
function seo_end($return = false) {
global $user, $config;
if (empty($this->seo_opt['copyrights']['title'])) {
$this->seo_opt['copyrights']['title'] = strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization';
}
if (empty($this->seo_opt['copyrights']['txt'])) {
$this->seo_opt['copyrights']['txt'] = 'phpBB SEO';
}
if ($this->seo_opt['copyrights']['img']) {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . $this->seo_opt['copyrights']['title'] . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="' . $this->seo_opt['copyrights']['txt'] . '"/></a>';
} else {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . $this->seo_opt['copyrights']['title'] . '">' . $this->seo_opt['copyrights']['txt'] . '</a>';
}
if ($return) {
return $output;
} else {
$user->lang['TRANSLATION_INFO'] .= $output;
}
return;
}