Webboard

Pełna wersja: Dodanie widgetu powoduje rozjechanie forum
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: MyBB 1.6.11 [PL]
adres forum: www.cs-farbex.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki): jak dodaje widgety to się robi białe pomiędzy tabelą serwerów a ShoutBoxe'm . Jeśli dodam 2 widget to wogóle ucieka całe forum w prawo plugin to : MyBB-TopStats-master
screen : [Obrazek: 63410246293877168968.png]
pokaz szablon index
link do indexu i szablonu : http://speedy.sh/XdfQT/indexistyl.rar
<facepalm>

Pokaż zawartość ACP → Style i szablony → Szablony → 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>
</head>
<body>
{$header}

<table border="0" cellspacing="1" cellpadding="3" class="tborder">
<tr>
<td class="thead" colspan="8">
<strong>Serwery Nawalamy.pl</strong>
</td>
</tr>
<td class="tcat" colspan="0"><span class="smalltext"><strong><center>Nazwa:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong><center>IP:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong><center>Sloty:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong><center>Monitor:</strong></span></td>
<td class="tcat" colspan="0"><span class="smalltext"><strong><center>Platforma:</strong></span></td>
<tr>
<td class="trow2"> <span class="smalltext"><center>-------------</span></td>
<td class="trow2"> <span class="smalltext"><center>-------------</span></td>
<td class="trow2"> <span class="smalltext"><center>--</span></td>
<td class="trow2"> <span class="smalltext"><center><img src="http://cache.www.gametracker.com/server_info/188.1126.34.75:21456/b_350_20_FFAD41_E98100_000000_591F11.png" border="0" width="350" height="20" alt=""/></a></span></td>
<td class="trow2"> <span class="smalltext"><center>S/NS</span></td>
</tr>
<td class="trow2"> <span class="smalltext"><center>------------</span></td>
<td class="trow2"> <span class="smalltext"><center>------------</span></td>
<td class="trow2"> <span class="smalltext"><center>--</span></td>
<td class="trow2"> <span class="smalltext"><center><img src="http://cache.www.gametracker.com/server_info/31.186.8.18:27029/b_350_20_FFAD41_E98100_000000_591F11.png" border="0" width="350" height="20" alt=""/></a></span></td>
<td class="trow2"> <span class="smalltext"><center>S/NS</span></td>
<tr>
<td class="trow2"> <span class="smalltext"><center>------------</span></td>
<td class="trow2"> <span class="smalltext"><center>------------</span></td>
<td class="trow2"> <span class="smalltext"><center>--</span></td>
<td class="trow2"> <span class="smalltext"><center><img src="http://cache.www.gametracker.com/server_info/213.189.52.47:27096/b_350_20_FFAD41_E98100_000000_591F11.png" border="0" width="350" height="20" alt=""/></a></span></td>
<td class="trow2"> <span class="smalltext"><center>S/NS</span></td>
</tr>
<tr>
<td class="trow2"> <span class="smalltext"><center>-----------------</span></td>
<td class="trow2"> <span class="smalltext"><center>-----------------</span></td>
<td class="trow2"> <span class="smalltext"><center>--</span></td>
<td class="trow2"> <span class="smalltext"><center><img src="http://cache.www.gametracker.com/server_info/194.24.174.194:27046/b_350_20_FFAD41_E98100_000000_591F11.png" border="0" width="350" height="20" alt=""/></a></span></td>
<td class="trow2"> <span class="smalltext"><center>S/NS</span></td>
</tr>
</table>
<br/>
{$dvz_shoutbox}
<br/>
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" style="padding-right: 20px" >
</td>
<td valign="top" width="170">
<table border="0" cellspacing="0" cellpadding="4" class="tborder">
<tr>
<td class="thead"><strong>TYTUŁ</strong></td>
</tr>
<tr>
<td class="trow1">{$topStats['LastThreads']}</td>
</tr>
</table><br />
</td>
</tr>
</table>
{$inferno_shoutbox}{$forums}
{$boardstats}





<br style="clear: both" />
{$footer}
</body>
</html>
Odszukaj w kodzie {$dvz_shoutbox} i wstaw przed {$forums}

btw. dla TopStats nie jest potrzebna nowa tabelka, ale to szczegół.
już zrobiłem sam .