ya tenias codigo de algun otro portal:
// If link set in admin interface show extra [home] button .
if (!empty($settings['pdx_forum_button']))
{
// Show the extra [homepage] button.
echo '<li><a href="', $settings['pdx_forum_button'], '">' , $txt[103] , '</a></li>';
// Show the extra [forum] button.
echo '<li><a class="' , $current_action == 'home' ? 'active' : '' , '" href="', $scripturl, '">' , $txt['pdx_forum_button_forum'] , '</a></li>';
}
else
{
// Show the default [home] button.
echo '<li><a class="' , $current_action == 'home' ? 'active' : '' , '" href="', $scripturl, '">' , $txt[103] , '</a></li>';
}
lo borré y agregué el código de simpleportal:
// Show the [home] button.
global $modSettings;
echo '<li><a class="' , $current_action=='home' ? 'active' : '' , '" href="', ($modSettings['sp_portal_mode'] == 3 && empty($context['disable_sp']) ? $modSettings['sp_standalone_url'] : $scripturl), '">' , $txt[103] , '</a></li>';
// Show the [forum] button.
if (empty($context['disable_sp']) && in_array($modSettings['sp_portal_mode'], array(1, 3)))
echo '<li><a class="' , $current_action == 'forum' ? 'active' : '' , '" href="', $scripturl . ($modSettings['sp_portal_mode'] == 1 ? '?action=forum' : ''), '">', empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'], '</a></li>';