That's the thing, the theme changed significantly between RC1 and final...
In the line --> $only_childs_array = array(1,2);
You specify which board IDs this should occur. Of course this needs to be complemented with proper permissions on said board.
Anyway, this is doable with an easy file edit, look at the attachment
In MessageIndex.template.php find:
if (!empty($options['show_board_desc']) && $context['description'] != '')
echo '
<p class="description_board">', $context['description'], '</p>';
Add before:$only_childs_array = array(1,2);
if (!in_array($context['current_board'], $only_childs_array))
{
Find: echo '
<div class="pagesection">
', template_button_strip($normal_buttons, 'right'), '
<div class="pagelinks">', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' <a href="#top"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
</div>';
}
Add after:}
else
{
if ($context['user']['is_logged'])
{
echo '
<div id="posting_icons" class="floatleft">
<ul class="reset">
<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_some.png" alt="" /> ', $txt['new_posts'], '</li>
<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_none.png" alt="" /> ', $txt['old_posts'], '</li>
<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_redirect.png" alt="" /> ', $txt['redirect_board'], '</li>
</ul>
</div>';
}
}
In the line --> $only_childs_array = array(1,2);
You specify which board IDs this should occur. Of course this needs to be complemented with proper permissions on said board.
0 commentaires:
Enregistrer un commentaire