wersja skryptu MyBB:
adres forum: gramtu.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Cześć, jak zrobić takie linie oddzielające buttony i datę napisania posta ?
Ref.
Teraz tylko potrzebuje linii poziomej oddzielającą datę napisania posta od treści posta
(ta co wyżej na ss)
Nowy postbit_classic
Kod:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style}</span> {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="trow_post1" width="180px" 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['useravatar']}<br />
{$post['userstars']}
{$post['user_details']}<br />
<br>
{$post['groupimage']}
</span>
</td>
<td class="trow_post2" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']} {$post['postdate']} {$post['posttime']} {$post['subject']}{$post['subject_extra']}</strong></span>
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: left; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
<br>
<span style="float:right;">{$post['button_rep']} </span></br>
<br>
<span style="float:right;">{$post['iplogged']}</span>
</div>
</td></tr>
</table>
</td>
</tr>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="trow1">
<a href="#top"><img src="{$mybb->settings['bburl']}/images/audentio/citrus/postbit_top.gif" alt="Do góry" title="Wróć do góry"/></a>{$post['button_report']}
<span style="float:right;">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</span></td>
</tr>
</table>
</td>
</tr>
</table>
Jest dobrze ,ale mógłbyś to wykonać na tym postbit_classic i usunąć dolną linię ?
Kod:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style}</span> {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="trow_post1" width="180px" 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['useravatar']}<br />
{$post['userstars']}
{$post['user_details']}<br />
<br>
{$post['groupimage']}
</span>
</td>
<td class="trow_post2" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']} {$post['postdate']} {$post['posttime']} {$post['subject']}{$post['subject_extra']}</strong></span>
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: left; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
<br>
<span style="float:right;">{$post['button_rep']} </span></br>
<br>
<span style="float:right;">{$post['iplogged']}</span>
</div>
</td></tr>
</table>
</td>
</tr>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="trow1">
<a href="#top"><img src="{$mybb->settings['bburl']}/images/audentio/citrus/postbit_top.gif" alt="Do góry" title="Wróć do góry"/></a>{$post['button_report']}
<span style="float:right;">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</span></td>
</tr>
</table>
</td>
</tr>
</table>