2007-05-19, 10:03 AM
This is just a code modification that i made early today.
find in global.php:
and add these lines after that:
and open your footer template and add this where u want to show the sitemap.Bottom will be the best.
You can see a demo at http://forum.vitadin.net
If someone can make a plugin for this please link back to the plugin description..
find in global.php:
// Send page headers
send_page_headers();
and add these lines after that:
//seoarchive mod START by FiKa
$say = "0";
$farsiv = "<center><table cellpadding=\"0\" cellspacing=\"0\" width=\"600\" id=\"table1\" height=\"132\"><tr><td width=\"600\" height=\"132\"><font size=\"1\"><p align=\"center\">Sitemap done by <a href=\"http://chat.vitadin.net\" target=_blank>Vitadin Chat</a><br />\n";
$query = $db->query("SELECT tid, subject FROM ".TABLE_PREFIX."threads ORDER BY lastpost DESC LIMIT 100");
while ($thread = $db->fetch_array($query)) {
++$say;
$farsiv .= "<a href=\"archive/index.php/thread-$thread[tid].html\"><span style=\"text-decoration: none\"> [$say] </span></a>";
}
$farsiv .= "</p></td></tr></table></center>";
//seoarchive mod END by fika
and open your footer template and add this where u want to show the sitemap.Bottom will be the best.
{$farsiv}
You can see a demo at http://forum.vitadin.net
If someone can make a plugin for this please link back to the plugin description..