phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
MX sitemap code error

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

MX sitemap code errorPosted: Sat Aug 11, 2007 12:06 pm    Post subject: MX sitemap code error

My forum shows error at bottom of pages such as

http://www.asia-expatsforum.com/phpBB2/china-expat-forum-vf11.html

line 33 is part of mx sitemap code

Code:
//Begin mx_Sitemaps Auto link Add On http://www.phpbb-seo.com/
$mx_forum_id =( isset($HTTP_GET_VARS[POST_FORUM_URL]) )? intval($HTTP_GET_VARS[POST_FORUM_URL]) : 0;
$root_url = 'http://www.asia-expatsforum.com/phpBB2/';
if ( $mx_forum_id != 0 )
{
   [b]$mx_link_tmp = append_sid($root_url . format_url($forum_row['forum_name']) . '-fmp' .$mx_forum_id . '.html');[/b]
   $link_title = $forum_row['forum_name'].' - Map';
   $mx_sitemap_link = '<a href="'.$mx_link_tmp.'" class="copyright" title="'.$link_title.'">'.$link_title.'</a>';
   $mx_sitemap_link .= '<br /><a href="'.append_sid($root_url . 'forum-map.html').'" class="copyright" title="Forum Map">Forum Map</a>';
   $mx_sitemap_link .= '<br /><a href="'.append_sid($root_url . 'sitemaps.html').'" class="copyright" title="'.$board_config['sitename'].' : Site Map">Site Map</a>';
}
else
{
   $mx_sitemap_link = '<a href="'.append_sid($root_url . 'forum-map.html').'" class="copyright" title="Forum Map">Forum Map</a>';
   $mx_sitemap_link .= '<br /><a href="'.append_sid($root_url . 'sitemaps.html').'" class="copyright" title="'.$board_config['sitename'].' : Site Map">Site Map</a>';
}
//End mx_Sitemaps Auto link Add On http://www.phpbb-seo.com/
//

i have highligted the code that returns the error
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

MX sitemap code errorPosted: Sat Aug 11, 2007 12:12 pm    Post subject: Re: MX sitemap code error

Juste replace :

Code:
format_url


with

Code:
$phpbb_seo->format_url


Should be it.
It's because of the mod rewrite update.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

MX sitemap code errorPosted: Sat Aug 11, 2007 12:18 pm    Post subject: Re: MX sitemap code error

thanks--
seems to have solved the problem
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: