While a regular user could access the SITEMAP, this extension is really aimed at Admins. In other words, it provides you the ability to tell Google/Yahoo, which FORUMS, etc to scrape and how often you allow them to do so.
Code: Select all
// Topics with more that 1 Page
if ( $topic_row['topic_posts_approved'] > $this->config['posts_per_page'] )
{
$start = 0;
$pages = $topic_row['topic_posts_approved'] / $this->config['posts_per_page'];
for ($i = 1; $i < $pages; $i++)
{
$start = $start + $this->config['posts_per_page'];
$url_data[] = array(
'url' => $this->board_url . '/viewtopic.' . $this->php_ext . '?f=' . $id . '&t=' . $topic_row['topic_id'] . '&start=' . $start,
'time' => $topic_row['topic_last_post_time'],
'row' => $topic_row,
'start' => $start
);
}
}