Zmiana wielkosci czcionki autora postu.

Założony przez  zasalata.

wersja skryptu MyBB:1.6.8
adres forum:cs-acord.y0.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Prosze o pomoc ;d Chcialbym zmniejszyc nazwe uzytkownika(tak aby pasowala do reszty tabeli, gdyz teraz jest za duza), wysrodkowac ja oraz zamiast tej kropki zrobic taki zielony pasek jak na ss nr2. Mysle ze do czcionki bedzie potrzebny szablon postbit_classic wiec go wklejam :)

[Obrazek: 34eqkaf.png]
[Obrazek: xBP.png]

(2 ss znalazlem na forum. Jezeli uzytkownik nie zgadza sie z publikowaniem go to prosze o pw. usune :))

oto postbit:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <span class="smalltext">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
            {$post['user_details']}{$post['newpoints_postbit']}
        </span>
    </td>
    <td class="{$altbg}" valign="top">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">{$post['steamprofile']}
                {$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}
            <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                {$post['iplogged']}
            </div>
        </td></tr>
    </table>
</td>
</tr>
<tr>
    <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="left" ><span class="smalltext"><a href="gg:{$post['sr_gadu']}"><object data="http://status.gadu-gadu.pl/users/status.asp?id={$post['sr_gadu']}&styl=0" type="image/png" width="20" height="20"><object data="./images/sr_plugins/plims/no_gadu.png" type="image/png" width="18" height="18">&nbsp;</object></object></a>
<a href="http://ludzie.tlen.pl/{$post['sr_tlen']}/" target="_blank"><object data="http://status.tlen.pl/?u={$post['sr_tlen']}&t=1" type="image/gif" width="18" height="18"><object data="./images/sr_plugins/plims/no_tlen.png" type="image/png" width="18" height="18">&nbsp;</object></object></a>
<a href="skype:{$post['sr_skype']}?chat"><object data="http://mystatus.skype.com/smallicon/{$post['sr_skype']}" type="image/png" width="18" height="18"><object data="./images/sr_plugins/plims/no_skype.png" type="image/png" width="16" height="16">&nbsp;</object></object></a>
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
                <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
            </tr>
        </table>
    </td>
</tr>
</table>
1.
<strong><span class="largetext">{$post['profilelink']}</span></strong
zamień na:
<strong>{$post['profilelink']}</strong

2. https://webboard.pl/thread-30695.html
1. ...lub znajdź klasę 'largetext' w swoim szablonie CSS i dodaj bądź zmień font-size.
u mnie to nie dziala. ten napis online wchodzi pod nick.
A myślisz że klasa jest tworzona tylko dla jednego elementu? A szczególnie taka. Zmieniając jej wartość, może zmienić wartość jeszcze x innym elementom, co będzie niepożądanym działaniem.
(11.08.2012, 09:40)zasalata napisał(a): u mnie to nie dziala. ten napis online wchodzi pod nick.

Bo musisz dopasować pozycję ręcznie do swoich tabelek!
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.



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

1 gości