Webboard

Pełna wersja: Grupa w Informacji o Użytkowniku
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
[attachment=12818]

chciałbym aby ta grupa była tam gdzie informacja o Użytkowniku :)

za pomoc dam +
Pokaż Strona główna » Paczki szablonów » Templates » Edycja szablonu: postbit_classic
{$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>
Spróbuj w ten sposób

Kod:
{$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>
(29.10.2017, 11:07)Winchester napisał(a): [ -> ]Spróbuj w ten sposób

Kod:
{$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 :)
To musisz to wstawić w ten kod
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
Kod:
{$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>
(29.10.2017, 11:13)Winchester napisał(a): [ -> ]To musisz to wstawić w ten kod
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
Kod:
{$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 [attachment=12819]
masz nie zamknięty div pierwszy ;) dodaj go
(29.10.2017, 11:24)NeeqRR napisał(a): [ -> ]masz nie zamknięty div pierwszy ;) dodaj go

tzn gdzie mógłbyś podać ?
a nie przepraszam, mój błąd :/
(29.10.2017, 11:30)NeeqRR napisał(a): [ -> ]a nie przepraszam, mój błąd :/

co mam dalej zrobić bo nie wiem ?
(29.10.2017, 12:08)Sebastianek32 napisał(a): [ -> ]
(29.10.2017, 11:30)NeeqRR napisał(a): [ -> ]a nie przepraszam, mój błąd :/

co mam dalej zrobić bo nie wiem ?
Cofnij do takiego stanu jaki był w pierwszym poście, wysłałeś cały kod z tego szablonu.
Podałem Ci jak to trzeba zrobić, masz przenieść zmienną na dół, a potem osadzić ją w divie. :)