Webboard

Pełna wersja: Belka z autorem postu i jego datą
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.9
adres forum: www.nawlasnyzutek.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Chciałbym zrobić, pole z autorem postu i datą. Teraz to wygląda tak:
[Obrazek: 75270814029090596110.jpg]

Takąie pole jak jest pod buttonami

[postbit_classic
Kod PHP:
{$ignore_bit}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" id="post_{$post['pid']}">
    <
tr>
        <
td class="{$altbg} border-l" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
        <
span class="largetext">{$post['profilelink']}</span> <br />
        <
span class="smalltext">
            {
$post['usertitle']}<br />
            {
$post['userstars']}
            {
$post['groupimage']}
            {
$post['useravatar']}<br />
            {
$post['user_details']}<br />
                        
        </
span>
    </
td>
    <
td class="{$altbg}valign="top">
        <
table width="100%" >
            <
div id="pid_{$post['pid']}class="post_body">
<
span class="smalltext">Napisane - {$post['postdate']}, {$post['posttime']}</span><hr />
{
$post['message']}
            </
div>
            {
$post['attachments']}
            {
$post['signature']}<span style="float:right;">{$post['iplogged']}</span>
            <
div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <
div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                
            </
div>
        </
td></tr>
    </
table>
</
div>
</
td>
</
tr>
<
tr>
           <
td align="left" style="vertical-align: middle; border-left: 1px solid #cccccc;  border-bottom: 1px solid #cccccc; background-color:#e1ddd3"> <span class="smalltext">{$post['button_email']}{$post['button_pm']}</span>
     </
td>
    
       <
td style="vertical-align: middle; border-right: 1px solid #cccccc;  border-bottom: 1px solid #cccccc; background-color:#e1ddd3">
        <
table width="100%" border="0" cellpadding="0" cellspacing="0">
            <
tr valign="bottom">
                <
td align="right">{$post['button_www']}{$post['button_rep']}{$post['button_quickdelete']}{$post['button_tyl']}{$post['button_edit']}{$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
Tutaj masz postbit_classic z mojego stylu, który i tak nie został ukończony, posiada właśnie to o co Ci chodzi
Kod:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"  id="post_{$post['pid']}">
    <tr><td class="tcat" colspan="2">

<strong><span style="font-size:14px;">{$post['profilelink']}</span></strong><div style="float:right;">{$post['iplogged']} </div>{$post['posturl']}</td>
</tr>
<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>
         {$post['onlinestatus']}<br />
        <span class="smalltext">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
            {$post['user_details']}
        </span>
    </td>
    <td class="{$altbg}" valign="top">
        <table width="100%">
            <tr><td>
            
            <div id="pid_{$post['pid']}" class="post_body">
                {$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">{$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>
Może coś z tego wygrzebiesz konkretnego, albo zobaczysz jak uzyskać taki efekt.
Ciężko jest mi wygrzebać

Trochę pokombinowałem i wyszło mi tak:
[Obrazek: 75615537077270282195.jpg]

To pole z nickiem jest ok, doszedłem do wniosku że łatwiej będzie zamiast całości, podzielić na 2 cześci, pierwszą nad user_details a drugą w post body, ale coś nie wyszło i nie wiem jak to "przesunąć" do góry

postbit_classic
Kod:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" id="post_{$post['pid']}">
<tr>    <td style="vertical-align: middle; border-left: 1px solid #cccccc;  border-bottom: 1px solid #cccccc; background-color:#e1ddd3"><span class="largetext">{$post['profilelink']}</span> <br /></td></tr>
<tr>

        
<td class="{$altbg} border-l" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
    
<span class="largetext">{$post['profilelink']}</span> <br />
        

<span class="smalltext">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
            {$post['user_details']}<br />
                        
        </span>
    </td>
    <td class="{$altbg}" valign="top">
        <table width="100%" >
            <div id="pid_{$post['pid']}" class="post_body">
<tr>    <td style=" border-left: 1px solid #cccccc;  border-bottom: 1px solid #cccccc; background-color:#e1ddd3"><span class="smalltext">Napisane - {$post['postdate']}, {$post['posttime']}</span></td></tr>


{$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}<span style="float:right;">{$post['iplogged']}</span>
            <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                
            </div>
        </td></tr>
    </table>
</div>
</td>
</tr>
<tr>
           <td align="left" style="vertical-align: middle; border-left: 1px solid #cccccc;  border-bottom: 1px solid #cccccc; background-color:#e1ddd3"> <span class="smalltext">{$post['button_email']}{$post['button_pm']}</span>
     </td>
    
       <td style="vertical-align: middle; border-right: 1px solid #cccccc;  border-bottom: 1px solid #cccccc; background-color:#e1ddd3">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="right">{$post['button_www']}{$post['button_rep']}{$post['button_quickdelete']}{$post['button_tyl']}{$post['button_edit']}{$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>