Problem with Forum site map

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

Problem with Forum site map

Postby Autinhyeu » Wed Aug 19, 2009 3:43 pm

Please see bug at here: http://www.phpbbvn.com/community/map.php?forum
Code: Select all
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3980: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3982: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3983: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3984: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)

i using latest version GYM Sitemaps & RSS MOD.
phpBB 3.0.5
some MOD installed: Dynamic Meta tag, Optimal title, last post topic title.

i think this MOD don't compatible with last post topic title MOD, i don't use Ultimate SEO URL, so i can't install No dupe MOD.

Thanks!

Autinhyeu

Edit: when i active URL Rewriting, sitemap don't work :(
http://www.phpbbvn.com/community/sitemapindex.xml.gz
my .htaccess file:
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
# HTML Global news & map
RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ /map.php?$1&start=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################

#####################################################
# GYM Sitemaps & RSS
# MTML Module additional modes
RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ /map.php?$2=$4&$1&start=$6 [QSA,L,NC]
# Main feeds & channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
# Module feeds
RewriteRule ^[a-z0-9_-]*-[a-z]+([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
# Module feeds without ids
RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 [QSA,L,NC]
# Module cat sitemaps
RewriteRule ^[a-z0-9_-]+-([a-z]+)([0-9]+)\.xml(\.gz)?$ /sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################

my host is Apache server, have support Rewrite...
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am

Advertisement

Re: Problem with Forum site map

Postby santocool » Wed Aug 19, 2009 5:37 pm

I think you didn't upload all the files or if you did then something's wrong. I'm new with phpbb but I cand handle it a little.

If you want I can help you.
santocool
 
Posts: 43
Joined: Fri Feb 20, 2009 4:56 pm

Re: Problem with Forum site map

Postby Autinhyeu » Wed Aug 19, 2009 6:00 pm

No, i use all MOD from this website 1 year ago, and i can exactly all i do, config, edit...
Another my site: http://www.autinhyeu.com/forum/ & http://www.yeunguoiviet.com/forum/ i had installed full SEO MOD ah here, but when i install only GYM Sitemap & RSS, it don't work: http://www.phpbbvn.com

Autinhyeu
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am

Re: Problem with Forum site map

Postby santocool » Wed Aug 19, 2009 6:41 pm

Full SEO MOD is working perfect in my site but I don't know what's happening with the sitemapindex.xml and that's important cuz I'd like to make it work with google so I can get more traffic.
santocool
 
Posts: 43
Joined: Fri Feb 20, 2009 4:56 pm

Re: Problem with Forum site map

Postby Autinhyeu » Wed Aug 19, 2009 6:46 pm

i know, but i don't add full SEO MOD at here 8)
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am

Re: Problem with Forum site map

Postby dcz » Sat Aug 22, 2009 10:42 am

The no dupe mod is not compatible with the last post topic title mod, since they are pretty much doing the same thing. The no dupe requires our Ultimate SEO URL mod.

For the sitemaps, it only looks like you activated URl rewriting in Gym's acp, but you did not added the required rewriterules in your .htaccess to do so. You can either deactivate url rewriting in GYM's acp (main tab) or add the required rewriterules, following the install instructions.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Problem with Forum site map

Postby Autinhyeu » Sat Aug 22, 2009 12:29 pm

dcz wrote:or add the required rewriterules, following the install instructions.

++

my .htaccess file:
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
# HTML Global news & map
RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ /map.php?$1&start=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################

#####################################################
# GYM Sitemaps & RSS
# MTML Module additional modes
RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ /map.php?$2=$4&$1&start=$6 [QSA,L,NC]
# Main feeds & channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
# Module feeds
RewriteRule ^[a-z0-9_-]*-[a-z]+([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
# Module feeds without ids
RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 [QSA,L,NC]
# Module cat sitemaps
RewriteRule ^[a-z0-9_-]+-([a-z]+)([0-9]+)\.xml(\.gz)?$ /sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################


wrong??? :shock:
sorry, but i had check all following the install instructions...
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am

Re: Problem with Forum site map

Postby dcz » Sun Aug 23, 2009 2:03 pm

you do not start mod_rewrite here, if you .htaccess is as it seems in forum/, then add :
Code: Select all
RewriteEngine On
# REWRITE BASE
RewriteBase /forum/

before the first rewriterule, you will most likely have to get rid of the right slash in each rewriterule, eg :
Code: Select all
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [QSA,L,NC]

becomes :
Code: Select all
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ gymrss.php?channels&$2&$4&$6 [QSA,L,NC]

and so on.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Problem with Forum site map

Postby Autinhyeu » Sun Aug 23, 2009 3:36 pm

Thanks so much, it's work now :lol:

Autinhyeu

Edit: can fix this problem??? http://www.phpbbvn.com/community/maps/forum/
Code: Select all
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_title
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 285: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3980: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3982: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3983: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3984: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am

Re: Problem with Forum site map

Postby dcz » Sun Aug 23, 2009 5:31 pm

oups, another bug when not using the Ultimate SEO url mod.

Please replace :
Code: Select all
                     $row['topic_title'] = censor_text($row['topic_title']);
                     if ($row['topic_status'] == ITEM_MOVED) {
                        $row['topic_id'] = $row['topic_moved_id'];
                     }
                     if (!empty($row['topic_id']) && !$row['forum_password']) {
                        $topic_id = (int) $row['topic_id'];
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                        $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id&amp;start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id]) ) . '#p' . $row['forum_last_post_id'];
                        $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id") . '" title="' . $row['topic_title'] . ' : ' . $row['forum_name'] . '">' . $row['topic_title'] . '</a>';
                     } else {   
                        $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;p=" . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
                        $last_post_link = '';
                     }

with :
Code: Select all
if ($row['topic_status'] == ITEM_MOVED) {
                        $row['topic_id'] = $row['topic_moved_id'];
                     }
                     if (!empty($phpbb_seo->seo_opt['no_dupe']['on']) && !empty($row['topic_id']) && !$row['forum_password']) {
                        $topic_id = (int) $row['topic_id'];
                        $row['topic_title'] = censor_text($row['topic_title']);
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                        $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id&amp;start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id]) ) . '#p' . $row['forum_last_post_id'];
                        $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id") . '" title="' . $row['topic_title'] . ' : ' . $row['forum_name'] . '">' . $row['topic_title'] . '</a>';
                     } else {
                        $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;p=" . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
                        $last_post_link = '';
                     }


in gym_sitemaps/display/display_forum.php.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Problem with Forum site map

Postby Autinhyeu » Sun Aug 23, 2009 8:41 pm

still error: http://www.phpbbvn.com/community/maps/forum/
Code: Select all
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /gym_sitemaps/display/display_forums.php on line 284: Undefined index: topic_status
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3980: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3982: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3983: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3984: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am

Re: Problem with Forum site map

Postby dcz » Mon Aug 24, 2009 8:16 am

Oh, then try to replace :
Code: Select all
                         $row['topic_title'] = censor_text($row['topic_title']);
                         if ($row['topic_status'] == ITEM_MOVED) {
                            $row['topic_id'] = $row['topic_moved_id'];
                         }
                         if (!empty($row['topic_id']) && !$row['forum_password']) {
                            $topic_id = (int) $row['topic_id'];
                            // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                            $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
                            // www.phpBB-SEO.com SEO TOOLKIT END
                            $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id&amp;start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id]) ) . '#p' . $row['forum_last_post_id'];
                            $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id") . '" title="' . $row['topic_title'] . ' : ' . $row['forum_name'] . '">' . $row['topic_title'] . '</a>';
                         } else {   
                            $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;p=" . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
                            $last_post_link = '';
                         }

with :
Code: Select all
                     if (!empty($phpbb_seo->seo_opt['no_dupe']['on']) && !empty($row['topic_id']) && !$row['forum_password']) {
                        if ($row['topic_status'] == ITEM_MOVED) {
                           $row['topic_id'] = $row['topic_moved_id'];
                        }
                        $topic_id = (int) $row['topic_id'];
                        $row['topic_title'] = censor_text($row['topic_title']);
                        // www.phpBB-SEO.com SEO TOOLKIT BEGIN
                        $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
                        // www.phpBB-SEO.com SEO TOOLKIT END
                        $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id&amp;start=" . @intval($phpbb_seo->seo_opt['topic_last_page'][$topic_id]) ) . '#p' . $row['forum_last_post_id'];
                        $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id") . '" title="' . $row['topic_title'] . ' : ' . $row['forum_name'] . '">' . $row['topic_title'] . '</a>';
                     } else {
                        $last_post_url =  append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;p=" . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
                        $last_post_link = '';
                     }

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Re: Problem with Forum site map

Postby Autinhyeu » Mon Aug 24, 2009 9:21 am

work great ;)
thank you
Autinhyeu
PR0
PR0
 
Posts: 85
Joined: Sat Aug 09, 2008 8:33 am


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 7 guests