Sebastianek32
- Gaduła
- 402 148 -314 0
Grupa w Informacji o Użytkowniku
Michał Wajrak
- Mentor MyBB
- 735 40 183 85
Pokaż Strona główna » Paczki szablonów » Templates » Edycja szablonu: postbit_classic
Sebastianek32
- Gaduła
- 402 148 -314 0
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<section id="post">
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<div class="post-profilelink">{$post['profilelink']}</div><div style="margin: 0 auto; width: 125px;">{$post['onlinestatus']}{$post['useravatar']}</div>
<div class="author_information">
<span class="smalltext">
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
</div>
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div>
<div class="post_content">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
</section>
Michał Wajrak
- Mentor MyBB
- 735 40 183 85
Spróbuj w ten sposób
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<section id="post">
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<div class="post-profilelink">{$post['profilelink']}</div><div style="margin: 0 auto; width: 125px;">{$post['onlinestatus']}{$post['useravatar']}</div>
<div class="author_information">
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
<span class="smalltext">
{$post['groupimage']}
</span>
</div>
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div>
<div class="post_content">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
</section>
Sebastianek32
- Gaduła
- 402 148 -314 0
(29.10.2017, 11:07)Winchester napisał(a): Spróbuj w ten sposób
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<section id="post">
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<div class="post-profilelink">{$post['profilelink']}</div><div style="margin: 0 auto; width: 125px;">{$post['onlinestatus']}{$post['useravatar']}</div>
<div class="author_information">
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
<span class="smalltext">
{$post['groupimage']}
</span>
</div>
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div>
<div class="post_content">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
</section>
A teraz chciałbym to w informacji użytkownika
tam gdzie wyświetlane posty itp
Michał Wajrak
- Mentor MyBB
- 735 40 183 85
To musisz to wstawić w ten kod
Będzie coś takiego
<div><i class="fa fa-heart c-green"></i> <div class="float-left">Reputacja:</div> <span>
<a href="reputation.php?uid=183"><strong class="reputation_positive">0</strong></a>
</span></div>
Będzie coś takiego
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<section id="post">
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<div class="post-profilelink">{$post['profilelink']}</div><div style="margin: 0 auto; width: 125px;">{$post['onlinestatus']}{$post['useravatar']}</div>
<div class="author_information">
</div>
<div class="author_statistics">
{$post['user_details']}
<div><i class="fa fa-heart c-green"></i> <div class="float-left">Grupa:</div> <span>
<a href="#"><strong class="reputation_positive">$post['groupimage']}</strong></a>
</span></div>
</div>
</div>
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div>
<div class="post_content">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
</section>
Sebastianek32
- Gaduła
- 402 148 -314 0
(29.10.2017, 11:13)Winchester napisał(a): To musisz to wstawić w ten kod
<div><i class="fa fa-heart c-green"></i> <div class="float-left">Reputacja:</div> <span>
<a href="reputation.php?uid=183"><strong class="reputation_positive">0</strong></a>
</span></div>
Będzie coś takiego
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<section id="post">
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<div class="post-profilelink">{$post['profilelink']}</div><div style="margin: 0 auto; width: 125px;">{$post['onlinestatus']}{$post['useravatar']}</div>
<div class="author_information">
</div>
<div class="author_statistics">
{$post['user_details']}
<div><i class="fa fa-heart c-green"></i> <div class="float-left">Grupa:</div> <span>
<a href="#"><strong class="reputation_positive">$post['groupimage']}</strong></a>
</span></div>
</div>
</div>
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}
</div>
<div class="post_content">
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
</section>
Po dodaniu twojego kodu jest błąd
masz nie zamknięty div pierwszy dodaj go
~Seeing is deceiving, dreaming is believing.
Sebastianek32
- Gaduła
- 402 148 -314 0
a nie przepraszam, mój błąd :/
~Seeing is deceiving, dreaming is believing.
Sebastianek32
- Gaduła
- 402 148 -314 0
Michał Wajrak
- Mentor MyBB
- 735 40 183 85
(29.10.2017, 12:08)Sebastianek32 napisał(a):Cofnij do takiego stanu jaki był w pierwszym poście, wysłałeś cały kod z tego szablonu.(29.10.2017, 11:30)NeeqRR napisał(a): a nie przepraszam, mój błąd :/
co mam dalej zrobić bo nie wiem ?
Podałem Ci jak to trzeba zrobić, masz przenieść zmienną na dół, a potem osadzić ją w divie.
Użytkownicy przeglądający ten wątek:
1 gości