Tematy i odpowiedzi

Inne  Założony przez  Kamol69.

wersja skryptu MyBB:1.6.12
adres forum:24hcs.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witam na screenie zaznaczylem kolorem,wie ktoś jak zrobic tam Tematów:XXX i Postów:XXX

http://screenshooter.net/9324831/idmmfiw
Pokaż zawartość szablonu forumbit_depth2_forum (Opis działu).
Pomoc poza forum - odpłatnie.
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}"  class="gzero right">{$forum['name']}<span class="tl"><i></i>Tematów: {$threads}<br />Postów: {$posts}</span></a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"></td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
Tam funkcję od wyświetlania tematów niby miałeś, nie wiem czemu nie działa.

Zobacz tak:

<tr>
<
td class="{$bgcolor}align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>
<
td class="{$bgcolor}valign="top">
<
strong><a href="{$forum_url}"  class="gzero right">{$forum['name']}</strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</
td>
<
td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">Tematów: {$threads}{$unapproved['unapproved_threads']}</td>
<
td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">Postów: {$posts}{$unapproved['unapproved_posts']}</td>
<
td class="{$bgcolor}valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</
tr
Pomoc poza forum - odpłatnie.
Dzięki działa
Masz +

A da sie żeby to było jedno pod drugim a nie obok siebie?
Tematów: 2 Postów: 2 Teraz pokazuje tak
Zobacz:

<tr>
<
td class="{$bgcolor}align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>
<
td class="{$bgcolor}valign="top">
<
strong><a href="{$forum_url}"  class="gzero right">{$forum['name']}</strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</
td>
<
td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">Tematów: {$threads}{$unapproved['unapproved_threads']}<br />Postów: {$posts}{$unapproved['unapproved_posts']}</td>
<
td class="{$bgcolor}valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</
tr
Pomoc poza forum - odpłatnie.
Działa dzięki
Można zamknąć
Snake_ napisał 23.04.2014, 20:12:
[Obrazek: modnotice_thx.png]

Nie pisz zbędnych postów
U mnie jest jak coś tak:

[Obrazek: Il0qkNZ.png]

Więc jest trochę źle. Jak ty albo ktoś inny tak ma to zmień na:

<tr>
<
td class="{$bgcolor}align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>
<
td class="{$bgcolor}valign="top">
<
strong><a href="{$forum_url}"  class="gzero right">{$forum['name']}</strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</
td>
<
td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap">Tematów: {$threads}{$unapproved['unapproved_threads']}<br />Postów: {$posts}{$unapproved['unapproved_posts']}</td>
<
td class="{$bgcolor}valign="top" align="center" style="white-space: nowrap"></td>
<
td class="{$bgcolor}valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</
tr

Powinno być dobrze.
Pomoc poza forum - odpłatnie.



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

1 gości