zmiana licznika postow / tematow

Inne  Założony przez  MRWynt3l.

wersja skryptu MyBB: 1.8.3
adres forum: creative.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witam , chciałym zrobic takie liczniki postow / tematow http://scr.hu/2ga4/czmr2 ale niewiem jak , jezeli ktos ma taki kod na taki efekt czy moglby podac kod z instrukcja zamieszczenia :) ?

podam jeszcze szablon forumbit_depth2_forum

<tr style="background-color: #f1f1f1;"><td>
<table cellspacing="0" cellpadding="4" border="0" align="left" width="100%" class="backtrow" style="font-size:14px; position: relative;">
<tbody>
<tr>
<td align="center" valign="middle" width="1"><div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-quote-right"></i></div></td>
  
<td valign="middle">
<a id="fadehover" href="{$mybb->settings['bburl']}/syndication.php?fid={$forum['fid']}&amp;limit=15"><img src="images/vienna/rss.png" alt="RSS" title="RSS" /></a>
  <strong><a href="{$forum_url}"><strong>{$forum['name']}</strong></a></strong>
  
<div class="smalltext">{$forum_viewers_text} {$forum['description']} {$modlist} {$subforums}</div></td>
  
<td align="right" valign="midle" style="white-space: nowrap">
<font color="#b4b4b4">{$threads}{$unapproved['unapproved_threads']} </font> &nbsp; &nbsp;  <br />
<font color="#b4b4b4">Topics</font> &nbsp; &nbsp;
</td>
  
<td align="left" width="25%" valign="middle" style="white-space: nowrap;">{$lastpost}</td>
</tr>
</tbody>
</table>
</td>
</tr>

Bardzo prosze o pomoc jest mi to bardzo potrzebne :D
<tr style="background-color: #f1f1f1;"><td>
<table cellspacing="0" cellpadding="4" border="0" align="left" width="100%" class="backtrow" style="font-size:14px; position: relative;">
<tbody>
<tr>
<td align="center" valign="middle" width="1"><div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-quote-right"></i></div></td>
  
<td valign="middle">
<a id="fadehover" href="{$mybb->settings['bburl']}/syndication.php?fid={$forum['fid']}&amp;limit=15"><img src="images/vienna/rss.png" alt="RSS" title="RSS" /></a>
  <strong><a href="{$forum_url}"><strong>{$forum['name']}</strong></a></strong>
  
<div class="smalltext">{$forum_viewers_text} {$forum['description']} {$modlist} {$subforums}</div></td>
  
<td align="right" valign="midle" style="white-space: nowrap">
<span style="background: #396c27; padding: 5px; font-size: 11px; color: #fff; text-transform: uppercase;">{$threads}{$unapproved['unapproved_threads']} tematów</span>
<span style="background: #396c27; padding: 5px; font-size: 11px; color: #fff; text-transform: uppercase; margin-left: 5px;">{$posts}{$unapproved['unapproved_posts']} postów</span>
</td>
  
<td align="left" width="25%" valign="middle" style="white-space: nowrap;">{$lastpost}</td>
</tr>
</tbody>
</table>
</td>
</tr>

Coś w ten deseń, dodałem Ci potrzebne elementy, teraz trzeba tylko to wystylować odpowiednio.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?
Wszystko ładnie ale czy dalo by sie zrobic zeby zrobic 2-3 cm odstepu od tego http://scr.hu/2ga4/ueebp zeby wygladało jak tu: http://scr.hu/2ga4/yp9gk
Znajdź
<td align="right" valign="midle" [b]style="white-space: nowrap"[/b]>
<span style="background: #396c27; padding: 5px; font-size: 11px; color: #fff; text-transform: uppercase;">{$threads}{$unapproved['unapproved_threads']} tematów</span>
<span style="background: #396c27; padding: 5px; font-size: 11px; color: #fff; text-transform: uppercase; margin-left: 5px;">{$posts}{$unapproved['unapproved_posts']} postów</span>
</td>

Pogrubiony fragment zamień na:
style="white-space: nowrap; padding-right: 20px;"

20px zmieniasz wg. uznania na interesującą Cię odległość.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?
Wielkie dzięki za pomoc ;D
A jak dodac takie prostakatne liczniki do tego kodu ?

<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>

Prosze o pomoc !



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

1 gości