Webboard

Pełna wersja: Jak usunąć "Poddziały w..." z podglądu działu
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.8
adres forum: ak-cs.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Po ustaleniu nazwy działu na:
[Obrazek: 1.png]

Po wejściu w ten dział:
[Obrazek: 2.png]

Oczywiście wyśrodkowałem nazwę.
Mam pytanie czy jest możliwość usunięcia jej lub jakoś poprawy jej?
Jak i usunięcia "moderowanie przez:..."

Z góry dziękuję za pomoc.
Pozdrawiam.
Pokaż forumdisplay oraz forumdisplay_threadlist (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Widok działu).
(25.09.2013, 21:12)GiboneKPL napisał(a): [ -> ]Pokaż forumdisplay oraz forumdisplay_threadlist (ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Widok działu).

forumdisplay:
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$moderatedby}

{$rules}
{$subforums}
{$threadslist}
{$usersbrowsing}
{$footer}
</body>
</html>


forumdisplay_threadlist:

Kod:
<div><span style="color: #323232; font-size: 26px;">{$foruminfo['name']}</span></div>
<div class="float_left">
    {$multipage}
</div>
<div class="float_right" style="margin-bottom: 10px;">
    {$newthread}

</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    <tr>
        <td class="thead" colspan="{$colspan}">
<div id="menuDzialu">
            <div style="float: left;">
                <span class="smalltext2">

<strong>
<span {$lastpostACTIVE}><a  href="{$sorturl}&amp;sortby=lastpost&order=desc&datecut=9999">Ostatnio zaktualizowane</a></span>&nbsp;&nbsp;
<span {$startACTIVE}><a  href="{$sorturl}&amp;sortby=started&order=desc&datecut=9999">Data dodania</a></span>&nbsp;&nbsp;
<span {$odpACTIVE}><a  href="{$sorturl}&amp;sortby=replies&order=desc&datecut=9999">Liczby odpowiedzi</a></span>&nbsp;&nbsp;
<span {$viewsACTIVE}><a  href="{$sorturl}&amp;sortby=views&order=desc&datecut=9999">Liczby wyświetleń</a></span>&nbsp;&nbsp;
</strong>
            </div>
            <div style="float: right;">
<span class="na_thead"><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}"  style="font-size: 11px;">{$lang->markforum_read}</a></span>  
<span class="na_thead"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}"  style="font-size: 11px;">{$add_remove_subscription_text}</a></span>{$clearstoredpass}
</span>
            </div>
</div>
        </td>
    </tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder_kat" style="clear: both;">
    <tr>
        <td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
        <td class="tcat" align="center" width="1%"> </td>
        <td class="tcat" align="right" width="13%"> </td>
        <td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
        {$inlinemodcol}
    </tr>
    {$selectall}
    {$announcementlist}
    {$threads}

</table>
<div class="float_left">
    {$multipage}
</div>
<div class="float_right" style="margin-top: 10px;">
    {$newthread}
</div>
<br style="clear: both;" />
<br />


<div class="float_right" style="text-align: right;">
    {$inlinemod}
</div>
<br style="clear: both" />
{$inline_edit_js}
Zamień forumdisplay na ten:
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
{$rssdiscovery}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$rules}
{$subforums}
{$threadslist}
{$usersbrowsing}
{$footer}
</body>
</html>

oraz forumdisplay_threadlist na ten:
Kod:
<div class="float_left">
{$multipage}
</div>
<div class="float_right" style="margin-bottom: 10px;">
{$newthread}

</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="{$colspan}">
<div id="menuDzialu">
<div style="float: left;">
<span class="smalltext2">

<strong>
<span {$lastpostACTIVE}><a href="{$sorturl}&amp;sortby=lastpost&order=desc&datecut=9999">Ostatnio zaktualizowane</a></span>&nbsp;&nbsp;
<span {$startACTIVE}><a href="{$sorturl}&amp;sortby=started&order=desc&datecut=9999">Data dodania</a></span>&nbsp;&nbsp;
<span {$odpACTIVE}><a href="{$sorturl}&amp;sortby=replies&order=desc&datecut=9999">Liczby odpowiedzi</a></span>&nbsp;&nbsp;
<span {$viewsACTIVE}><a href="{$sorturl}&amp;sortby=views&order=desc&datecut=9999">Liczby wyświetleń</a></span>&nbsp;&nbsp;
</strong>
</div>
<div style="float: right;">
<span class="na_thead"><a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}" style="font-size: 11px;">{$lang->markforum_read}</a></span>
<span class="na_thead"><a href="usercp2.php?action={$add_remove_subscription}subsc​ription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}" style="font-size: 11px;">{$add_remove_subscription_text}</a></span>{$clearstoredpass}
</span>
</div>
</div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder_kat" style="clear: both;">
<tr>
<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center" width="1%"> </td>
<td class="tcat" align="right" width="13%"> </td>
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$announcementlist}
{$threads}

</table>
<div class="float_left">
{$multipage}
</div>
<div class="float_right" style="margin-top: 10px;">
{$newthread}
</div>
<br style="clear: both;" />
<br />


<div class="float_right" style="text-align: right;">
{$inlinemod}
</div>
<br style="clear: both" />
{$inline_edit_js}

Oraz jeszcze pokaż forumdisplay_subforums :)
Moderowane przez znikło, git xD

Kod PHP:
<span style="font-size: 26px; color: $5a5a5a; margin-bottom: 10px;">{$lang->sub_forums_in}</span><br>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="thead" colspan="5" align="left">Subfora</td>
</
tr>
</
table>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder_kat">
{
$forums}
</
table>
<
br /> 
Zamień na ten:
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="left">Subfora</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder_kat">
{$forums}
</table>
<br />