Jak usunąć liczbę postów i wątków w działach na stronie głownej.

Założony przez  pawelt89.

Tak jak w temacie.
Jak usunąć liczbę postów i wątków w działach na stronie głownej:

to chce usunąć:
[Obrazek: 224.jpg]

aby wyglądało tak:
[Obrazek: 162.jpg]
matc napisał 15.12.2008, 23:59:
Przenoszę do odpowiedniego działu.
1. edytuj szablon "forumbit_depth1_cat".
znajdź tam linijkę:
<td class="thead" colspan="5">
zamień na
<td class="thead" colspan="3">
usuń to:
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>

2. edytuj szablon "forumbit_depth2_cat"
usuń to:
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

3. edytuj szablon "forumbit_depth2_forum"
usuń to:
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>

i powinno grać (w domyślnym szablonie działa)
TO ja się podepnę pod temat :) jak usunąć tabelkę "ostatni post " ?
Edytuj szablon forumbit_depth1_cat:
Znajdź linijkę:
<td class="thead" colspan="5">
Zmień na:
<td class="thead" colspan="4">
Usuń; (w szablonie forumbit_depth1_cat)
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
Edytuj szablon forumbit_depth2_forum:
Usuń;
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
Cybul zrobiłem tak jak napisałeś :) niestety nie tak to ma wyglądać

[Obrazek: ml20090625_213504.png]
Jesteś pewien, że w szablonie forumbit_depth2_forum usunąłeś poniższą linijkę?
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>

Najlepiej podam Ci całości szablonów, które Ja mam i działa wszystko.
Szablon forumbit_depth2_forum:
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" 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}">{$forum['name']}</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">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
</tr>

Szablon forumbit_depth1_cat:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="4">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />



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

1 gości