Więcej miejsca na buttony

Inne  Założony przez  Regman.

wersja skryptu MyBB:
adres forum:
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Cześć, chcę mieć więcej miejsca na buttony , wytłumaczę to na ss.

Chodzi o to, że tam gdzie zielona ramka chcę mieć buttony (pod miejscem gdzie avatar, ranga itp.) Tą czerwoną oznaczyłem gdzie ma się kończyć pole na avatar itp

[Obrazek: hfqb.png]
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>
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>
             <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>
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr>
<span style="float:right;">{$post['iplogged']}</span>
                 {$post['button_rep']}
                 <span style="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']}</span></td>
             </tr>
         </table>
     </td>
</tr>
</table>
Źle wyszło buttony wyszły poza post.
Daj konto testowe i nie usuwaj od razu jak Ci się "nie spodoba", bo trudno mi jest tak na oko wycelować w 100% dobrze..
Ok, zaraz to poprawię.
Na PW wyślę Ci passy do konta tester1 na moim forum.
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>
             <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>
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr>
<span style="float:right;">{$post['iplogged']}</span>
<td class="trow1">
                 {$post['button_rep']}
                 <span style="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']}</span></td>
             </tr>
         </table>
     </td>
</tr>
</table>
IP weszło między buttony a post ;/

A wysokość tego pola na buttony da się pomniejszyć ?
Hmm?:
{$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']}
<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>
</td>
</tr>
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr>
<td class="trow1">
                 {$post['button_rep']}
                 <span style="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']}</span></td>
             </tr>
         </table>
     </td>
</tr>
</table>
IP jest dobrze :)
A da się wysokość tego pola na buttony trochę zmniejszyć ?
Zamień postbit_classic na ten:
{$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']}
<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>
</td>
</tr>
         <table width="100%" border="0" cellpadding="0" cellspacing="0">
             <tr>
<td class="trow_post1">
                 {$post['button_rep']}
                 <span style="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']}</span></td>
             </tr>
         </table>
     </td>
</tr>
</table>

I do global.css dodaj:
.trow_post1 {
    background: #fff url(../../../images/audentio/citrus/trow.png) top left repeat-x;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #c8c8c8;
    padding-top: 5px;
    padding-bottom: 5px;
}
Nie całkiem wyszło lecz już zostawię to poprzednie.

A mam jeszcze takie pytanie dało by się edytować ten postbist_classic aby post wyglądał tak:
[Obrazek: irei.png]



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

1 gości