sidebox jak dodac panel

Założony przez  Mareczin.

wersja skryptu MyBB:1.6x
adres forum:eurotruckedition.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Mam pytanie jak dodać do wplecionego ręcznie bez pluginów sidebox ostatnie wątki,zerknicie najlepiej na forum oto index:
strony głównej chodzi o oto jak dodać drugi panel aby pokazywał ostatnie wątki.
<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>
SLAVOO napisał 27.09.2013, 19:47:
Nie pisz pogrubioną czcionką.
Tu masz:
<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>
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
No dobra ale chodzi aby zrobić panel który pokazuję nowe tematy a nie newsy.Możesz pomóc?
Setki razy było na forum.

Instalujesz plugin: https://webboard.pl/thread-42250.html
Zamiast tego fragmentu kodu który podałem dodajesz zmienne z linka wyżej, czyli:

{$topStats['LastThreads']} - ostatnie tematy
{$topStats['MostViews']} - najczęściej wyświetlane tematy
{$topStats['Posters']} - użytkownicy z największą ilością tematów
{$topStats['Reputation']} - użytkownicy z największą reputacją
{$topStats['Timeonline']} - użytkownicy z najdłuższym czasem online
{$topStats['NewestUsers']} - najnowsi użytkownicy
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI



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

1 gości