Zmiana licznika postow / tematow

Inne  Założony przez  MRWynt3l.

wersja skryptu MyBB: 1.8.4
adres forum: onlyskill.tk
na czym polega problem (screen, opis, komunikaty, nazwa
stylu/theme/szablonu): Witam,mam kolejny problem z ktorym znowu nie moge sobie poradzic ( musze sporo poczytac o css / html ).
Chciałbym zmienic licznik postow na taki jak tutaj: http://screenshooter.net/102245473/gtvydwm

kod z forumbit_depth2_forum

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="6%"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}" valign="top" style="width: 50%;">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor} countForum" valign="top" align="center" style="white-space: nowrap; width: 20%;">{$threads}{$unapproved['unapproved_threads']} Tematów<br />{$posts}{$unapproved['unapproved_posts']} Postów</td>
<td class="{$bgcolor}" valign="top"  align="right" style="white-space: nowrap; width: 24%; padding-right: 20px;">{$lastpost}</td>
</tr>


Proszę o pomoc,bardzo tego potrzebuje.
Gdy podajesz jakiś efekt zaczerpnięty z innej strony podawaj jej adres wtedy łatwiej jest pomóc niż po samym ss

Podmień na

<tr>
<
td class="{$bgcolor}align="center" valign="top" width="6%"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}id="mark_read_{$forum['fid']}"></span></td>
<
td class="{$bgcolor}valign="top" style="width: 50%;">
<
strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</
td>
<
td class="{$bgcolor} countForum" valign="top" align="center" style="white-space: nowrap; width: 20%;"><div class="num-icons num-threads" title="Ilość tematów">
{
$threads}{$unapproved['unapproved_threads']} Tematów
</div><br />
<
div class="num-icons num-posts" title="Ilość postów">
{
$posts}{$unapproved['unapproved_posts']} Postów
</div></td>
<
td class="{$bgcolor}valign="top"  align="right" style="white-space: nowrap; width: 24%; padding-right: 20px;">{$lastpost}</td>
</
tr

To do global.css
.num-icons.num-threads {
    
backgroundnone repeat scroll 0 0 #3d6e27;
    
displayinline-block;
}
.
num-icons.num-posts {
    
backgroundnone repeat scroll 0 0 #27526e;
    
displayinline-block;
}
.
num-icons {
    
color#fff;
    
font-size12px;
    
font-weightbold;
    
margin-right8px;
    
padding4px;
    
positionrelative;
    
text-aligncenter;
    
text-transformuppercase;
    
width80px;




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

1 gości