MX sitemap code error

Support for the phpBB2 SEO mods released in the phpBB2 SEO Toolikt forum.

Moderator: Moderators

MX sitemap code error

Postby asiaexpat » Sat Aug 11, 2007 12:06 pm

My forum shows error at bottom of pages such as

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

line 33 is part of mx sitemap code

Code: Select all
//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
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Advertisement

Postby SeO » Sat Aug 11, 2007 12:12 pm

Juste replace :

Code: Select all
format_url


with

Code: Select all
$phpbb_seo->format_url


Should be it.
It's because of the mod rewrite update.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby asiaexpat » Sat Aug 11, 2007 12:18 pm

thanks--
seems to have solved the problem
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am


Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests