Webboard

Pełna wersja: Styl Carbon - wyświetlanie ip na samym dole postu
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.8.4
adres forum:prawilniaczki.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam, chciałbym uzyskać takie coś aby ip i Kto dał reputację na moim forum zawsze bylo na samym dole postu

Teraz mam tak:
http://scr.hu/2jdl/dc504
Pokaż szablon postbit_classic.
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
  <h3>
                  <div class="post_username">
                      <strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong>
                </div>
                <div class="post_date2">
                      {$post['postdate']}
                </div>                
            </h3>
<div class="post_author scaleimages">
    {$post['useravatar']}
    <div class="author_information">
            <br />
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}
    </div>
</div>
<div class="post_content">
    <div class="post_head">                
    {$post['subject_extra']}
  <span class="post_checkandid">
                        {$post['posturl']}
                        {$post['icon']}
                </span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
{$post['warninfo']}
      <div class="post_meta" id="post_meta_{$post['pid']}">
      <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
        {$post['iplogged']}
    </div>
    </div>
    {$post['attachments']}
    {$post['signature']}
    
</div></div>
<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
        <a href="#top" class="button_post"><img src="images/carbon/totop.png" alt=""> Do góry</a> {$post['button_report']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_rep']}{$post['button_find']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </div>
</div>
Sprawdź:
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
  <h3>
                  <div class="post_username">
                      <strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong>
                </div>
                <div class="post_date2">
                      {$post['postdate']}
                </div>                
            </h3>
<div class="post_author scaleimages">
    {$post['useravatar']}
    <div class="author_information">
            <br />
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}
    </div>
</div>
<div class="post_content">
    <div class="post_head">                
    {$post['subject_extra']}
  <span class="post_checkandid">
                        {$post['posturl']}
                        {$post['icon']}
                </span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
{$post['warninfo']}
      
    </div>
    {$post['attachments']}
    {$post['signature']}
    
</div>
<div class="post_meta" id="post_meta_{$post['pid']}">
      <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
        {$post['iplogged']}
    </div></div>
<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
        <a href="#top" class="button_post"><img src="images/carbon/totop.png" alt=""> Do góry</a> {$post['button_report']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_rep']}{$post['button_find']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </div>
</div>
Daj jakieś konto testowe z możliwością widoczności adresów IP (nie musi być publicznie).
Poszło na PW :)
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
  <h3>
                  <div class="post_username">
                      <strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong>
                </div>
                <div class="post_date2">
                      {$post['postdate']}
                </div>                
            </h3>
<div class="post_author scaleimages">
    {$post['useravatar']}
    <div class="author_information">
            <br />
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}
    </div>
</div>
<div style="position: relative;">
<div class="post_content">
    <div class="post_head">                
    {$post['subject_extra']}
  <span class="post_checkandid">
                        {$post['posturl']}
                        {$post['icon']}
                </span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
{$post['warninfo']}
      
    </div>
    {$post['attachments']}
    {$post['signature']}
    
</div>
<div class="post_meta" id="post_meta_{$post['pid']}">
      <span class="position: absolute; bottom: 0px; left: 8%;"><span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
        {$post['iplogged']}</span>
    </div></div>
<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
        <a href="#top" class="button_post"><img src="images/carbon/totop.png" alt=""> Do góry</a> {$post['button_report']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_rep']}{$post['button_find']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </div>
</div>
styl sie rozjechal :) http://scr.hu/2jdl/yir9t
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
  <h3>
                  <div class="post_username">
                      <strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong>
                </div>
                <div class="post_date2">
                      {$post['postdate']}
                </div>                
            </h3>
<div class="post_author scaleimages">
    {$post['useravatar']}
    <div class="author_information">
            <br />
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}
    </div>
</div>
<div style="position: relative;">
<div class="post_content">
    <div class="post_head">                
    {$post['subject_extra']}
  <span class="post_checkandid">
                        {$post['posturl']}
                        {$post['icon']}
                </span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
{$post['warninfo']}
      
    </div>
    {$post['attachments']}
    {$post['signature']}
    
</div>
<div class="post_meta" id="post_meta_{$post['pid']}">
      <span class="position: absolute; bottom: 0px; left: 8%;"><span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
        {$post['iplogged']}</span>
    </div></div>
<div class="post_controls">
    <div class="postbit_buttons author_buttons float_left">
        <a href="#top" class="button_post"><img src="images/carbon/totop.png" alt=""> Do góry</a> {$post['button_report']}
    </div>
    <div class="postbit_buttons post_management_buttons float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_rep']}{$post['button_find']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </div>
</div>
</div>
nadal, teraz znikly narzedzia moderatorskie, a ip nadal u gory

http://scr.hu/2jdl/myfwg
Nie wiem czy jest z tego jakieś logiczne wyjście, ale jeśli przeniesiesz pozycję ip za diva z klasą post_content, to będziesz miał swój efekt - tyle że jest jeden minus - stracisz szybką edycję, co nie jest zadowalającym rozwiązaniem.