Webboard

Pełna wersja: problem z rangą graficzną
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Stron: 1 2
wersja skryptu MyBB: MyBB 1.6.9
adres forum: www.csnext.eu
na czym polega problem (screen, opis, komunikaty): http://imageshack.us/photo/my-images/805/nfx.png/

Problem polega na tym ,że gdy dodaję rangę graficzną dodaję się ona po lewej od avatara.(screen na górze)
Pokaż szablon postbit_classic
Przepraszam ,że robię tutaj taki bałagan ,ale jest nowy i średnio ogarniam.

Kod:
{$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="170px" valign="top" style=" background: #383737; white-space: nowrap; text-align: center; border-left: 1px solid #3F3F3F; "><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <strong><span class="largetext">{$post['profilelink']}</span></strong><br /><div style="padding: 5px; background: #383737; border-radius: 0px 0px 4px 4px;">
        <span class="smalltext" style="font-size: 10px;">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
            <div style="text-align: left;">{$post['user_details']}</div>
        </span>
{$post['onlinestatus']}
</div>
    </td>
    <td class="{$altbg}" valign="top" style="border-right: 1px solid #3F3F3F;">
        <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']}" style="padding: 5px 0 5px 0;">
                {$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; border-left: 1px solid #3F3F3F"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle; border-right: 1px solid #3F3F3F">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td><div class="dane">
                                            <ul>
                                              <li>{$post['button_email']}</li>
                                              <li>{$post['button_pm']}</li>
                                              <li>{$post['button_www']}</li>
                                              <li>{$post['button_find']}</li>
                                              <li>{$post['button_rep']}</li>
                                            </ul>
                                           </div></td>
                                           <td>
                                           <div class="ikony">
                                         <ul>
                                                                <li>{$post['button_warn']}</li>
                                                                <li>{$post['button_report']}</li>
                                                                <li>{$post['button_multiquote']}</li>
                                                                <li>{$post['button_quote']}</li>
                                                                <li>{$post['button_quickdelete']}</li>
                                                                <li>{$post['button_spam']}{$post['button_edit']}</li>
                                                                 <li>{$post['button_reply_pm']}{$post['button_replyall_pm']}</li>
                                                           </ul>
                                           </div></td>
            </tr>
        </table>
        </table>
    </td>
</tr>
</table>
Zamianka:
Ranga pod avatarem:
Kod:
{$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="170px" valign="top" style=" background: #383737; white-space: nowrap; text-align: center; border-left: 1px solid #3F3F3F; "><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <strong><span class="largetext">{$post['profilelink']}</span></strong><br /><div style="padding: 5px; background: #383737; border-radius: 0px 0px 4px 4px;">
        <span class="smalltext" style="font-size: 10px;">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['useravatar']}<br />
            {$post['groupimage']}
            <div style="text-align: left;">{$post['user_details']}</div>
        </span>
{$post['onlinestatus']}
</div>
    </td>
    <td class="{$altbg}" valign="top" style="border-right: 1px solid #3F3F3F;">
        <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']}" style="padding: 5px 0 5px 0;">
                {$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; border-left: 1px solid #3F3F3F"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle; border-right: 1px solid #3F3F3F">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td><div class="dane">
                                            <ul>
                                              <li>{$post['button_email']}</li>
                                              <li>{$post['button_pm']}</li>
                                              <li>{$post['button_www']}</li>
                                              <li>{$post['button_find']}</li>
                                              <li>{$post['button_rep']}</li>
                                            </ul>
                                           </div></td>
                                           <td>
                                           <div class="ikony">
                                         <ul>
                                                                <li>{$post['button_warn']}</li>
                                                                <li>{$post['button_report']}</li>
                                                                <li>{$post['button_multiquote']}</li>
                                                                <li>{$post['button_quote']}</li>
                                                                <li>{$post['button_quickdelete']}</li>
                                                                <li>{$post['button_spam']}{$post['button_edit']}</li>
                                                                 <li>{$post['button_reply_pm']}{$post['button_replyall_pm']}</li>
                                                           </ul>
                                           </div></td>
            </tr>
        </table>
        </table>
    </td>
</tr>
</table>

Ranga nad avatarem:
Kod:
{$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="170px" valign="top" style=" background: #383737; white-space: nowrap; text-align: center; border-left: 1px solid #3F3F3F; "><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <strong><span class="largetext">{$post['profilelink']}</span></strong><br /><div style="padding: 5px; background: #383737; border-radius: 0px 0px 4px 4px;">
        <span class="smalltext" style="font-size: 10px;">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}<br />
            {$post['useravatar']}<br />
            <div style="text-align: left;">{$post['user_details']}</div>
        </span>
{$post['onlinestatus']}
</div>
    </td>
    <td class="{$altbg}" valign="top" style="border-right: 1px solid #3F3F3F;">
        <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']}" style="padding: 5px 0 5px 0;">
                {$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; border-left: 1px solid #3F3F3F"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle; border-right: 1px solid #3F3F3F">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td><div class="dane">
                                            <ul>
                                              <li>{$post['button_email']}</li>
                                              <li>{$post['button_pm']}</li>
                                              <li>{$post['button_www']}</li>
                                              <li>{$post['button_find']}</li>
                                              <li>{$post['button_rep']}</li>
                                            </ul>
                                           </div></td>
                                           <td>
                                           <div class="ikony">
                                         <ul>
                                                                <li>{$post['button_warn']}</li>
                                                                <li>{$post['button_report']}</li>
                                                                <li>{$post['button_multiquote']}</li>
                                                                <li>{$post['button_quote']}</li>
                                                                <li>{$post['button_quickdelete']}</li>
                                                                <li>{$post['button_spam']}{$post['button_edit']}</li>
                                                                 <li>{$post['button_reply_pm']}{$post['button_replyall_pm']}</li>
                                                           </ul>
                                           </div></td>
            </tr>
        </table>
        </table>
    </td>
</tr>
</table>
wkleiłem ten kod ,ale nic się nie stało.
A zapisałeś szablon po wklejeniu?
tak ,pewnie
No to raczej nie zapisałeś jednak bo kod jest dobry.
zapisałem ,nie jestem taki tępy. Wklejam go i niestety jest cały czas tak samo.
Ja nie piszę, że jesteś tępy, tylko stwierdzam fakt, że kod jest dobry a u Ciebie w szablonie tego <br /> nie widzę.
Pokombinuj z <br /> w tym <span> ie.
Kod PHP:
<span class="smalltext" style="font-size: 10px;">
            {
$post['usertitle']}<br />
            {
$post['userstars']}
            {
$post['groupimage']}<br />
            {
$post['useravatar']}<br />
            <
div style="text-align: left;">{$post['user_details']}</div>
        </
span
Nie wiem czy to nie jest za dużo ,ale mam forum testowe z tym samym stylem. Mógłbym Ci tam podać swoje dane i ty byś zobaczył w czym jest rzecz. Bardzo Cię o to proszę ,jeżeli to jest za dużo rozumiem ,wielkie dzięki za pomoc.
A na tym stylu testowym też jest źle?
Podaj passy do konta admina i adres.
tak

http://ooaw.xaa.pl/index.php

login:Encore hasło:ler5t00
A który to styl? Nazwa, bo tam jest z 7 czy 8
to jest: csv2
Stron: 1 2