Link to ModThis file adds an extra action to your SMF installation '?action=sitemap' that will show a sitemap to your visitors and bots. It will not show boards to a user that its not supposed to. So a guest will not see hidden boards. It also has added support for SMF queryless urls and Pretty Urls mod. Admin options for 1.1.x can be found under Features and Options and for 2.0 under Configuration > Modifications > Sitemap.
If you have Joomla!/Mambo and are running this with Orstio's Bridge, the sitemap will see that and format your links accordingly, and if you are using Joomla SEF, it will convert them as well.
Also included is the option to display an XML sitemap for use with Google Sitemaps. On any of the sitemap pages, simply click the 'XML' link at the bottom for the XML version. If you wish to submit your site to Google Sitemaps, you will need to use this link. Google does not like SEF formatted URLs for the sitemap because it won't show the sitemap in the root directory. Using the link as provided will.
A working version can be seen at
http://www.airridetalk.com/forum/sitemapChange Log:
2.0.0: Complete rewrite of the mod
1.2.2/1.3.0: Added support for Pretty Urls mod, changed username on topic display to Display name, rather than username. 1.2.2 is the last update for the 1.1.x series of SMF. All future development will continue on 1.3.0 in support of SMF 2.0.
1.2.1: With lots of new things comes bugs. Some error checking wasn't done, which caused an incorrect number of pages to be displayed, and thus causing sql errors.
1.2.0: Lots of new things... a few options in the admin panel under Features and Options. Limit the number of topics on the sitemap, disallow non-admin access to the XML sitemap link, and collapse the child boards to reduce the size of the sitemap display. A few bug fixes as well, primarily with the queryless_urls setting.
1.1.3: Fixed file a tad more, and fixed uninstaller to remove files added
1.1.2: Updated files to follow SMF coding guidelines more closely
1.1.1: Added Link Tree information and Who information
1.1: Added XML support
1.0: Initial Release
If you have Tiny Portal installed with 1.1.8, you may need to manually edit index.template.php.
Replace
', theme_copyright(), ' <br />', tportal_version() , '
</td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
with
', theme_copyright(), ' <br />', tportal_version() , '
<span class="smalltext" style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"> | <a href="'.$scripturl.'?action=sitemap">Sitemap</a></span>
</td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">