Webboard

Pełna wersja: Przeniesienie IP w inne miejsce.
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:
adres forum:gramtu.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

cześć jak przestawić adres IP na sam doł posta po prawej stronie ?
Tak jak na ss.
A jeżeli by się dało to najlepiej by było jak by IP było przed tym "post#2" Da się tam je tam umieścić ?
[Obrazek: XlHsYON.jpg]

Mój postbit_classic:

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="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>
<align="left" {$post['iplogged']}
             <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">
                 <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>
Spróbuj tak:
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="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>
W porządku, dzięki :)
A mógłbyś jeszcze spróbować umieścić to IP Przed "post #2" ? chcę zobaczyć jak będzie wyglądać.
[Obrazek: XlHsYON.jpg]
Łap:
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="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['iplogged']} {$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">
                 <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>
Trochę nie wyszło bo jest nad Datą napisania posta :C a ja chciałbym aby to było obok "post #2"

Coś takiego:

IP xx.x.xxxx.xxx post #2
A co zrobić aby IP było tutaj : (obok post#2)
[Obrazek: ftfg.png]

ref

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']} &nbsp;&nbsp; {$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: 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>
Może tak?
Kod PHP:
{$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><span style="float:right;">{$post['iplogged']}</span>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']} {$post['postdate']} {$post['posttime']} &nbsp;&nbsp; {$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: 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>
             </
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
Nie bo wyszło tak:
[Obrazek: ntfi.png]