Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Szerokość postu

Inne  Założony przez  Gynter.

wersja skryptu MyBB:1.6.4
adres forum:g-zone.eu
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Witam, gdzie ustawić szerokość postu ? Mam np. forum o szerokości 90% a post 60%, jak to zmienić ?
elroyalo napisał 16.11.2011, 20:15:
By uzyskać pomoc podaj adres forum.
W ACP wejdź w zakładkę style i szablony -> po lewej zmień na szablony -> wybierz swój styl -> odszukaj grupy opis posta -> wklej tu zawartość szablonu postbit.
<br />{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="0" cellpadding="0" class="thead">
    <tr>
        <td class="thead" height="26px" width="57px" align="left" valign="top"><img src="{$theme['imgdir']}/theadl.gif" alt=""></img></td>
                <td class="thead" width="100%">
                    <div class="float_right">
                        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                    </div>
                    <div><strong>{$thread['subject']}</strong></div>
                </td>
<td height="26px" width="57px" align="left" valign="top"><img src="{$theme['imgdir']}/theadr.gif" alt=""></img></td>
    </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
    <tbody>
        <tr>
            <td class="tcat">
                <div class="float_left smalltext">
                    {$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </div>
                {$post['posturl']}
            </td>
        </tr>

        <tr>
            <td class="trow1" width="100%" style="border-left: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9;">
                <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <tr>
                        <td class="post_avatar" width="1" style="{$post['avatar_padding']}">
                            {$post['useravatar']}
                        </td>
                        <td class="post_author">
                            <strong><span class="promem">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
                            <span class="smalltext">
                                {$post['usertitle']}<br />
                                {$post['userstars']}
                                {$post['groupimage']}
                            </span>
                        </td>
                        <td class="smalltext post_author_info" width="165">
                            {$post['user_details']}
                        </td>
                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td class="trow2" width="100%" style="border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9;">
                <span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

                <div class="post_body" id="pid_{$post['pid']}">
                    {$post['message']}
                </div>
                {$post['attachments']}
                {$post['signature']}

                <div class="post_meta" id="post_meta_{$post['pid']}">
                {$post['iplogged']}
                </div>
            </td>
        </tr>

        <tr>
            <td class="trow1" width="100%" style="border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 1px solid #d9d9d9;">
                <div class="author_buttons float_left">
                    {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
                </div>
                <div class="post_management_buttons float_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']}
                </div>
            </td>
        </tr>
    </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tfootm">
    <tr>
        <td align="left" valign="top" height="8px" width="8px"><img src="{$theme['imgdir']}/tfootl.gif" alt=""></img></td>
        <td height="8px" width="100%"></td>
        <td align="left" valign="top" height="8px" width="8px"><img src="{$theme['imgdir']}/tfootr.gif" alt=""></img></td>
    </tr>
</table>
<br />{myadvertisements[zone_3]}
Czy na pewno ma być tak, że belka z nazwą tematu (ta niebieska) ma się powtarzać przy każdym poście?

Co do długości posta - to powinno zadziałać.
<br />{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="0" cellpadding="0" class="thead">
    <tr>
        <td class="thead" height="26px" width="57px" align="left" valign="top"><img src="{$theme['imgdir']}/theadl.gif" alt=""></img></td>
                <td class="thead" width="100%">
                    <div class="float_right">
                        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                    </div>
                    <div><strong>{$thread['subject']}</strong></div>
                </td>
<td height="26px" width="57px" align="left" valign="top"><img src="{$theme['imgdir']}/theadr.gif" alt=""></img></td>
    </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tbody>
        <tr>
            <td class="tcat">
                <div class="float_left smalltext">
                    {$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </div>
                {$post['posturl']}
            </td>
        </tr>

        <tr>
            <td class="trow1" width="100%" style="border-left: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9;">
                <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <tr>
                        <td class="post_avatar" width="1" style="{$post['avatar_padding']}">
                            {$post['useravatar']}
                        </td>
                        <td class="post_author">
                            <strong><span class="promem">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
                            <span class="smalltext">
                                {$post['usertitle']}<br />
                                {$post['userstars']}
                                {$post['groupimage']}
                            </span>
                        </td>
                        <td class="smalltext post_author_info" width="165">
                            {$post['user_details']}
                        </td>
                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td class="trow2" width="100%" style="border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9;">
                <span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

                <div class="post_body" id="pid_{$post['pid']}">
                    {$post['message']}
                </div>
                {$post['attachments']}
                {$post['signature']}

                <div class="post_meta" id="post_meta_{$post['pid']}">
                {$post['iplogged']}
                </div>
            </td>
        </tr>

        <tr>
            <td class="trow1" width="100%" style="border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 1px solid #d9d9d9;">
                <div class="author_buttons float_left">
                    {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}
                </div>
                <div class="post_management_buttons float_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']}
                </div>
            </td>
        </tr>
    </tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tfootm">
    <tr>
        <td align="left" valign="top" height="8px" width="8px"><img src="{$theme['imgdir']}/tfootl.gif" alt=""></img></td>
        <td height="8px" width="100%"></td>
        <td align="left" valign="top" height="8px" width="8px"><img src="{$theme['imgdir']}/tfootr.gif" alt=""></img></td>
    </tr>
</table>
<br />{myadvertisements[zone_3]}
Teraz wszystko się tak jakby rozjechało :/

Co do tej belki to niby nie .
Nieaktualne.



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

1 gości