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

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

Linie oddzielające

Założony przez  Regman.

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 ?

[Obrazek: 45vtnIX.jpg]
pokaż postbit_classic
{$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="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 />
<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: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                 <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
             </div>
         </td></tr>
     </table>
</td>
</tr>
<tr>
     <td class="trow_post1" style="white-space: nowrap; text-align: center; vertical-align: middle;"></td>
     <td class="trow_post2" style="vertical-align: middle;">
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr valign="bottom">
<span style="float:right;">{$post['iplogged']}</span>
                 <td align="left" >{$post['button_rep']} </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>
Ref.
Teraz tylko potrzebuje linii poziomej oddzielającą datę napisania posta od treści posta
(ta co wyżej na ss)

Nowy postbit_classic

{$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']} &nbsp;&nbsp; {$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']}&nbsp;</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">
                &nbsp;<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>
Spróbuj tak:
{$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="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 />
<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>
<hr />
             <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>
             </div>
         </td></tr>
     </table>
</td>
</tr>
<hr />
<tr>
     <td class="trow_post1" style="white-space: nowrap; text-align: center; vertical-align: middle;"></td>
     <td class="trow_post2" style="vertical-align: middle;">
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr valign="bottom">
<span style="float:right;">{$post['iplogged']}</span>
<hr />
                 <td align="left" >{$post['button_rep']} </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>
Jest dobrze ,ale mógłbyś to wykonać na tym postbit_classic i usunąć dolną linię ?

{$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']} &nbsp;&nbsp; {$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']}&nbsp;</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">
                &nbsp;<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>
{$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="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 />
<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>
<hr />
             <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>
             </div>
         </td></tr>
     </table>
</td>
</tr>
<hr />
<tr>
     <td class="trow_post1" style="white-space: nowrap; text-align: center; vertical-align: middle;"></td>
     <td class="trow_post2" style="vertical-align: middle;">
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr valign="bottom">
<span style="float:right;">{$post['iplogged']}</span>
                 <td align="left" >{$post['button_rep']} </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>



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

1 gości