Zwijany panel boczny - nie wyświetla się obok działów

Błąd   Założony przez  Tefauen.

wersja skryptu MyBB: 1.6.x
adres forum: http://ap-rp.xaa.pl/
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Zrobiłem zwijane panele za pomocą tego poradnika: https://webboard.pl/wiki.php?zwijany-pan...posob.html . Lecz mam jeden problem. Forum i panele nie sklejają się ze sobą. Jak kończy się forum dopiero wtedy zaczynają się panele. Zobaczcie sobie na stronce. Proszę o bardzo szybką pomoc.
Matslom napisał 30.06.2013, 12:19:
Poprawiłem tytuł wątku. Przeczytaj jak należy poprawnie je tytułować -> [Obrazek: modnotice_howto.png]
Dzieję się tak datego, że jest zle dodany kod do szablonu Index, popraw kod.
@DirkOne, niech pokaże ten szablon. ACP -> Style i Szablony -> Szablony -> Twój_Szablon -> Strona Główna -> index
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.buttons {
    background: url(images/arrowright.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url(images/arrowleft.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
<div class="myshoutbox_abcd" style="float: left;width: 79%;">
{myshoutbox_abcd}
</div>
<div class="forums" style="float: left;width: 79%;">
{$forums}
</div>
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Status Serwera
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><a href="http://www.game-state.eu/79.133.208.200:8079/"><img src="http://www.game-state.eu/79.133.208.200:8079/160x270_FFFFFF_575757_.png" alt="www.Game-State.eu" style="border-style: none;" /></a>
</br>
<b>IP:</b> <i>79.133.208.200:8079</i>
</br><a href= "samp://79.133.208.200:8079/" ><img src="http://www.iv.pl/images/26503504916289950681.png"></a></center>
</td>
</tr>
</table>
</div>

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Szybkie Newsy
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><b>29.06.2013</b> - <i>Wielka metamorfoza forum gotowa!</i> //<u>Tefauen</u></center>
<center><b>28.06.2013</b> - <i>Konto premium już aktywne! Zapraszamy do zakupu!</i> //<u>Tefauen</u></center>
</td>
</tr>
</table>
</div>

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Reklamy
</strong></td>
</tr>
<tr>
<td class="trow1">
<center>Brak. Aby wykupić reklamę napisz do TefaueN'a na PW. (180x80)</center>
</td>
</tr>
</table>
</div>

<br class="clear" />
{$boardstats}

<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>

Najlepiej dajcie to wszystko gotowe do wklejenia.
Zamień CAŁY index na ten:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.buttons {
    background: url(images/arrowright.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url(images/arrowleft.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<tr>
<td class="trow1">
You can put some news stuff here
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
<br class="clear" />
{$boardstats}

<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
Ale jak zmienie to nie będę miał wtedy moich paneli. A ja chce z moimi panelami.
No to na ten:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.buttons {
    background: url(images/arrowright.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url(images/arrowleft.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Szybkie Newsy
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><b>29.06.2013</b> - <i>Wielka metamorfoza forum gotowa!</i> //<u>Tefauen</u></center>
<center><b>28.06.2013</b> - <i>Konto premium już aktywne! Zapraszamy do zakupu!</i> //<u>Tefauen</u></center>
</td>
</tr>
</table>
</div>

<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Status Serwera
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><a href="http://www.game-state.eu/79.133.208.200:8079/"><img src="http://www.game-state.eu/79.133.208.200:8079/160x270_FFFFFF_575757_.png" alt="www.Game-State.eu" style="border-style: none;" /></a>
</br>
<b>IP:</b> <i>79.133.208.200:8079</i>
</br><a href= "samp://79.133.208.200:8079/" ><img src="http://www.iv.pl/images/26503504916289950681.png"></a></center>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Reklamy
</strong></td>
</tr>
<tr>
<td class="trow1">
<center>Brak. Aby wykupić reklamę napisz do TefaueN'a na PW. (180x80)</center>
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
<br class="clear" />
{$boardstats}

<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
Dalej to samo, nic nie naprawiło się. + usunelo sb, wkleiłem stare.

Edit: Tylko zamiast pierwszo forum to pierwszo się panele pokazują, a jak się skończą to wtedy forum.
Spróbuj coś takiego:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.buttons {
    background: url(images/arrowright.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}

.clickedbuttons {
    background: url(images/arrowleft.png) no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
}
</style>
</head>
<body>
{$header}
<div class="myshoutbox_abcd" style="float: left;width: 79%;">
{myshoutbox_abcd}
</div>
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Status Serwera
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><a href="http://www.game-state.eu/79.133.208.200:8079/"><img src="http://www.game-state.eu/79.133.208.200:8079/160x270_FFFFFF_575757_.png" alt="www.Game-State.eu" style="border-style: none;" /></a>
</br>
<b>IP:</b> <i>79.133.208.200:8079</i>
</br><a href= "samp://79.133.208.200:8079/" ><img src="http://www.iv.pl/images/26503504916289950681.png"></a></center>
</td>
</tr>
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Szybkie Newsy
</strong></td>
</tr>
<tr>
<td class="trow1">
<center><b>29.06.2013</b> - <i>Wielka metamorfoza forum gotowa!</i> //<u>Tefauen</u></center>
<center><b>28.06.2013</b> - <i>Konto premium już aktywne! Zapraszamy do zakupu!</i> //<u>Tefauen</u></center>
</td>
</tr>
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 19%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<td class="thead"><strong>
Reklamy
</strong></td>
</tr>
<tr>
<td class="trow1">
<center>Brak. Aby wykupić reklamę napisz do TefaueN'a na PW. (180x80)</center>
</td>
</tr>
</table>
</div>
<div class="forums" style="float: left;width: 80%;">
{$forums}
</div>
<br class="clear" />
{$boardstats}

<dl class="forum_legend smalltext">
    <dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Już nie kombinuj z tym tylko dodaj od nowa ten cały panel, w index ten kod odpowiada

Cytat:<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
<tr>
<td class="trow1">
TUTAJ WŁASNY KOD, TEKST, PANEL
</td>
</tr>
</table>

W miejscu
Cytat:<td class="trow1">
You can put some news stuff here
</td>
daj swój np kod czy tam box i tyle, z każdym panelem postępujesz tak samo.



Użytkownicy przeglądający ten wątek:

1 gości