Top 5 reputacji - zmiana kolorystyki

Założony przez  C0ld.

wersja skryptu MyBB: 1.6.12
adres forum: http://endless-game.hol.es/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Jak dodać prefixy do top 5 ?
Snake_ napisał 26.04.2014, 18:27:
Poprawiam nieco tytuł. [Obrazek: modnotice_howto.png]
do global css dodaj np

.rep {
display: inline-block;
height: 16px;
line-height: 16px;
padding: 0 5px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
color: white;
text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
background-image: url(http://tut4you.pl/images/tut4you/lime/highlight.png);
background-repeat: repeat-x;
background-position: 0 -1px;
}

W szablonie topStats_ReputationRow zamien zawartosc na

<tr><td class="trow1">
            <img src="{$tpl['avatar']}" alt="" style="float: left;width: {$tpl['avatar_width']}px;margin-right: 5px;"/>
            <span style="margin-top: 7px;float: left;">{$tpl['profilelink']}</span>
            <span class="rep" style="float: right;margin-right: 5px;margin-top: 7px;background:darkgreen;">{$tpl['reputation']}</span>
            </td></tr>

Powinno byc ok
Nie działa :(
W ogóle nie widać zmian jakie wprowadziłeś...


Wykonaj to jeszcze raz i do CSS dodaj:
background-colorlime
(za lime możesz wstawć swój kolor).
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
u mnie jest ok a. on ze nie dziala cos zle robisz
Wygląda to tak:
http://zapodaj.net/302805622565d.png.html
Wgrales jakies przerobione staty top5?
Nie ?
https://webboard.pl/thread-42250.html <-- TO
<tr><td class="trow1">
            <img src="{$tpl['avatar']}" alt="" style="float: left;width: {$tpl['avatar_width']}px;margin-right: 5px;"/>
            <span style="margin-top: 7px;float: left;">{$tpl['profilelink']}</span>
            <span class="rep" style="float: right;margin-right: 5px;margin-top: 7px;background:darkgreen;">{$tpl['reputation']}</span>
            </td></tr>

Zobacz to

U siebie mam tak samo zrobione jak tobie powiedzialem

http://polish-zone.pl/index.php
Coś ruszyło wygląda to teraz tak:
http://zapodaj.net/fcf621e220e9a.png.html

topstats_reputation_row zmieniłem na taki:
<tr>
<
td class="trow1">
<
img src="{$avatar_rep}alt="" style="float: left;width: {$width}px;margin-right: 5px;"/>
<
a href="member.php?action=profile&uid={$id_rep}style="margin-top: 7px;float: left;">{$top_rep_username}</a>
<
span class="prefix" style="float: right;margin-right: 5px;margin-top: 6px; background-color: green; color:white; font-weight:bold;">{$reputacji}</span
</
td>
</
tr


Oki działa tylko jak zmienić kolor tej liczby 0
<tr>
<td class="trow1">
<img src="{$avatar_rep}" alt="" style="float: left;width: {$width}px;margin-right: 5px;"/>
<a href="member.php?action=profile&uid={$id_rep}" style="margin-top: 7px;float: left;">{$top_rep_username}</a>
<span class="rep" style="float: right;margin-right: 5px;margin-top: 6px; background-color: green; color:white; font-weight:bold;">{$reputacji}</span>
</td>
</tr>

a tak zobacz

Masz stary plugin od topki
Mam. W Topstats.php zmieniłem z grey na white :D
A jak dodać te prefixy do "Najwięcej Wyświetleń"
topstats_mostviews_threads_row:
<tr>
            <
td class="trow1">
            <
img src="{$mostviews_autor_avatar}alt="" style="float: left;width: {$width}px;margin-right: 5px;"/>
            <
a href="showthread.php?tid={$id_thread}">{$mostviews_title}</a>
            <
span style="float: right;margin-right: 5px;margin-top: 0px;">{$views}</span><br>
            <
a href="member.php?action=profile&uid={$id_threader}">{$mostviews_autor}</a> - {$mostviews_date}
            </
td>
            </
tr
1 problem = 1 wątek
Rusz glowa troche analogi
<tr>
            <td class="trow1">
            <img src="{$mostviews_autor_avatar}" alt="" style="float: left;width: {$width}px;margin-right: 5px;"/>
            <a href="showthread.php?tid={$id_thread}">{$mostviews_title}</a>
            <span class="rep" style="float: right;margin-right: 5px;margin-top: 0px;background-color: green;">{$views}</span><br>
            <a href="member.php?action=profile&uid={$id_threader}">{$mostviews_autor}</a> - {$mostviews_date}
            </td>
            </tr>



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

1 gości