Niepoprawne wyświetlanie Wątków / Postów - forumbit_depth1_cat

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

wersja skryptu MyBB: 1,6,3
adres forum: http://samsung-mobile.com.pl
nazwa stylu: Light_ky ( http://mods.mybb.com/view/light-ky )
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):


Po podmianie kodu szablonów według mini poradnika:
(31.08.2011, 13:05)klocek napisał(a): Szablony i style -> Opis działu -> forumbit_depth1_cat

Zamień swój kod tym:
<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>Info</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

Szablony i style -> Opis działu -> forumbit_depth2_forum

Zastąp swój kod tym:
<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">Wątkó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>

Mój styl nie chce do końca współpracować (jedna z kategorii jest wyświetlana błędnie). Poniżej screen:

   

Dołączam również kodzik strony głównej:
http://www10.zippyshare.com/v/47815812/file.html
pass archiwum: 5mc0mpl

Liczę, że znajdzie się osoba, która będzie potrafiła problem rozwiązać.

Pozdrawiam,
elroyalo
Zobacz ten:

forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" 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>Podsumowanie</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

forumbit_depth2_cat
<tr>
<td class="{$bgcolor}" align="center" valign="middle" width="1" style="background: #191919;"><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="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="middle" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
forumbit_depth2_forum:
<tr>
<td class="{$bgcolor}" align="center" valign="middle" width="1" style="background: 191919#;"><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="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" style="background: #1e1e1e" valign="middle" align="center" style="white-space: nowrap; font-size: 11px;">Wątków: {$threads}{$unapproved['unapproved_threads']} <br /> Postów: {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" style="background: #1e1e1e" valign="middle" align="right" style="white-space: nowrap;">{$lastpost}</td>
</tr>


Pozdrawiam!
Niestety, poniżej screenshot oraz kod strony:
http://samsung-mobile.com.pl/url/34
http://samsung-mobile.com.pl/url/35
Mi wszystko wyświetla się w porządku :)
Ponieważ kolego Ty widzisz styl dla Gości/Użytkowników (z reklamami etc.), natomiast wersja dla Teamu oraz wybranych grup ma wprowadzone nieco zmian, po zastosowaniu kodu od XmaX efekt widoczny jest na screenshocie.
Dziwne trochę.
Wina może leżeć po stronie ilości poddziałów, lub nazwy, która zawiera znak: "/". Ale mimo to tak nie powinno to wyglądać. Nie edytowałeś czasem jeszcze jakiegoś pliku, który odpowiada za ten widok? np. widok poddziałów.
Mi ten kod bez problemu działa (kolor jest wpisany w szablonie: style="background: #191919") jak by co ;)


Pozdrawiam!
ja miałem identyczny wygląd przez jakiś plugin, ale nie pamiętam już nazwy, wyłączyłem go i było ok
Cenna uwaga, sprawdzę w wolnej chwili i edytuję post opisując rezultaty mych działań.



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

1 gości