I have a proposal about the RSS feeds of forum smf,
to be accessible from any location of the site.
in the file includes/my_header.php we add this code:
if (mxModuleAllowed('Forum')) {
$boardname = 'Forum';
include('modules/' . $boardname . '/mx_SSI.php');
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', 'modules.php?name=', $boardname ,'&type=rss;action=.xml" />';
}
or simply:
if (mxModuleAllowed('Forum')) {
echo '
<link rel="alternate" type="application/rss+xml" title="' . htmlspecialchars($GLOBALS['sitename']) . ' - ' . _FORUM . '" href="modules.php?name=Forum&type=rss;action=.xml">
';
}
and delete this line from modules/Forum/smf/Themes/default/index.template.php
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';
thx :)