| :: |
| Author |
Message |
Stokerpiller
Joined: 24 May 2007 Posts: 43
|
Posted: Wed Mar 05, 2008 9:22 am Post subject: How do I move the phpbbseo image link |
|
|
Hello
I would like to move the phpbb-seo image link down under this:
[ Time : 0.114s | 14 Queries | GZIP : Off ]
How can this be done? |
|
|
| Back to top |
|
 |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 709
|
Posted: Thu Mar 06, 2008 12:33 pm Post subject: Re: How do I move the phpbbseo image link |
|
|
Move this statement within overall_header.html:
| Code: | | <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> |
|
_________________ Dan Kehn |
|
| Back to top |
|
 |
Stokerpiller
Joined: 24 May 2007 Posts: 43
|
Posted: Thu Mar 06, 2008 2:54 pm Post subject: Re: How do I move the phpbbseo image link |
|
|
| Sorry, I didn't get that? |
|
|
| Back to top |
|
 |
MathieuM. phpBB SEO Team


Joined: 10 Feb 2008 Posts: 252 Location: Rhône-Alpes
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 709
|
Posted: Thu Mar 06, 2008 10:02 pm Post subject: Re: How do I move the phpbbseo image link |
|
|
Oops, that's what I meant... footer.  |
_________________ Dan Kehn |
|
| Back to top |
|
 |
Stokerpiller
Joined: 24 May 2007 Posts: 43
|
Posted: Thu Mar 06, 2008 10:06 pm Post subject: Re: How do I move the phpbbseo image link |
|
|
Well, that much I figured out
The thing is that I cant find the seo.png in overall_footer.html
Therefore I cant figure out where to move the debug output to get the result of seo.png down under that? |
|
|
| Back to top |
|
 |
MathieuM. phpBB SEO Team


Joined: 10 Feb 2008 Posts: 252 Location: Rhône-Alpes
|
Posted: Thu Mar 06, 2008 10:20 pm Post subject: Re: How do I move the phpbbseo image link |
|
|
You won't find the phpbb-seo.png in overall_footer.html. It's in "phpbb_seo/phpbb_seo_class.php" :
| Code: | if ($img) {
$output = '<div style="padding-top:5px; text-align: middle"><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="phpBB SEO"/></a></div>';
} else {
$output = '<div style="padding-top:5px" text-align: middle"><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '">phpBB SEO</a></div>';
} |
Mathieu. |
_________________ [ Site phpBB SEO ] [ Téléchargements ] [ L'annuaire SEO ] [ Venez vous présenter ] [ Fonction Recherche ]
---------------------------
[ phpBB SEO Site ] [ Downloads ] [ SEO Directory ] [ Introduce yourself ] [ Search function ] |
|
| Back to top |
|
 |
TomaS PR1

Joined: 08 Jun 2007 Posts: 188
|
|
| Back to top |
|
 |
Stokerpiller
Joined: 24 May 2007 Posts: 43
|
Posted: Mon Mar 10, 2008 11:45 am Post subject: Re: How do I move the phpbbseo image link |
|
|
Well, deleting only that part resulted in a debug error.
My code look like this: | Code: | function seo_end($return = false, $img = true) {
global $user, $config;
if ($img) {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="phpBB SEO"/></a>';
} else {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '">phpBB SEO</a>';
}
if ($return) {
return $output;
} else {
$user->lang['TRANSLATION_INFO'] .= $output;
}
return;
} |
If I delete this part: | Code: | if ($img) {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '"><img src="' . $this->seo_path['phpbb_url'] . 'images/phpbb-seo.png" alt="phpBB SEO"/></a>';
} else {
$output = '<br /><a href="http://www.phpbb-seo.com/" title="' . ( strpos($config['default_lang'], 'fr') !== false ? 'Optimisation du Référencement' : 'Search Engine Optimization') . '">phpBB SEO</a>';
}
if ($return) {
return $output;
} else {
$user->lang['TRANSLATION_INFO'] .= $output;
} | It seems to be working fine.
Am I right about that?
Off course I am replacing it with a link in the footer.
You have done a great job with this SEO mod  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13099
|
|
| Back to top |
|
 |
Stokerpiller
Joined: 24 May 2007 Posts: 43
|
Posted: Wed Mar 12, 2008 3:09 pm Post subject: Re: How do I move the phpbbseo image link |
|
|
Thanks for Your help.
I got it to work the way I wanted now  |
|
|
| Back to top |
|
 |
|
|