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

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

Podwojenie avataru i statystyk w poście

Założony przez  Gold.

wersja skryptu MyBB: 1.6.11
adres forum: http://demostyle.esy.es/
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Jest podwojony avatar oraz statystyki po prawej w poście.
http://wgrajfotke.pl/di/XP2K/bez%20tytu%C5%82u.jpg
Pomoże ktoś ? ; )
Pokaż szablon postbit_classic (opis posta)
i postbit_avatar
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
postbit_classic
<if $postcounter == 1 then>
{$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="postbit4" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
            <span class="smalltext">{$post['profilelink']}</span>  {$post['onlinestatus']}<br />
        </td>
        <td class="postbit4">
            <span class="oclock"><i class="fa fa-clock-o"></i> {$post['postdate']} {$post['posttime']}<span class="float_right"> {$post['posturl']}</span></span>  
        </td>
    </tr>
    <tr>
        <td class="trow23" width="15%" valign="top" style="white-space: nowrap; text-align: center;"></a>
                <div class="postbit2">
        <span class="smalltext">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
                         </div>                      
            {$post['user_details']}
        </span>
    </td>
    <td class="trow123" valign="top">
        <table width="100%">
            <tr><td><span class="smalltext"></span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                        {$post['message']}
<div class="float_right">                    
                                 <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></div>
            </div>
            {$post['attachments']}
            {$post['signature']}
                        </div>
        </td></tr>
    </table>
</td>
</tr>
        
<table class="trow80" width="96%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">    
            <td align="left" class="trow4" style="white-space: nowrap;>{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</td>                
                    <td align="right" class="trow4">{$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>
<else>
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td>
            <div class="caja1">
                <div class="caja2">
                    <div class="caja3" align="center">
                            {$post['useravatar']}<br />
                        <span class="smalltext">
                            {$post['groupimage']}
                            {$post['userstars']}
                            {$post['usertitle']}<br />
                                                        <br />
                        </span>
                    </div>
                </div>
            </div>
            <div class="caja4">
                <div class="caja5">
                                <ul> <a href="{$post['profilelink_plain']}" id="miembro_{$post['pid']}">{$post['username_formatted']} {$post['onlinestatus']}</a></ul> <ul>{$post['user_details']}</ul> <ul class="oclock2">{$post['postdate']} {$post['posttime']}</ul>{$post['posturl']}                                
                                <span style="float: right;" class="smalltext">{$post['subject_extra']}</span></div>
                <div class="caja6">
                    <img src="images/Jormungand/flecha.png" class="blog" />
                    <div style="width: 100%">
                        <div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
                            {$post['message']}
                                <div class="editat">
                <span style="float: right; margin-top: -11px;">{$post['inlinecheck']}</span>                    
                                 <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></div>
                        </div>
                        {$post['attachments']}
                        {$post['signature']}
                    </div>
                </div>
                <div class="caja7">
                    <div class="float_right smalltext">{$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']}</div>
                    <div class="smalltext">{$post['button_rep']}</div>
                </div>
            </div>
        </td>
    </tr>
</table>
</if>


postbit_avatar

<if $postcounter == 1 then>
<a href="{$post['profilelink_plain']}"><img class="avatarpostbit" src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>
<else>
<a href="{$post['profilelink_plain']}"><img class="avatarpostbit2" src="{$post['avatar']}" alt="" width="75" height="75"  /></a>
</if>
Zainstaluj plugin PHP in Templates.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



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

1 gości