Poprawka pluginu Thanks system

Konfiguracja  Założony przez  chrumcio.

Adres forum:
http://retro-strefa.ct8.pl/showthread.ph...pid=4#pid4
Konto testowe: tester
Hasło: test123

Wersja silnika:
1.8.14


Opis problemu:
Jak zrobić by Thanks Given było pod reputacją?
http://retro-strefa.ct8.pl/showthread.ph...pid=4#pid4
Łukasz napisał 08.01.2018, 09:39:
Zmieniłem jedną literę w tytule wątku, bo aż oczy bolą. Nie kalecz języka :)
Jakie to pluginy?
Podeślij też postbit i postbit classic
Wsparcie poza forum - odpłatne.
Plugin to: https://community.mybb.com/mods.php?acti...7&bid=2907
postbit
Cytat:{$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']}">
<div class="post_flexible">
<div class="post_author scaleimages">
    <center><strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}</center>
    {$post['useravatar']}<br>
    <div class="author_information">
            
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}{$post['thanks_count']}{$post['thanked_count']}{$post['thx_meter']}
    </div>
</div>
<div class="post_content">
    <div class="post_head">
        {$post['posturl']}
        {$post['icon']}
        <span class="post_date"><i class="fa fa-clock-o"></i> {$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
    {$post['subject_extra']}
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['thx_counter']}<div id="thxpid_{$post['pid']}">{$post['message']}</div>{$post['thx_list']}
    </div>
    {$post['attachments']}
    {$post['signature']}
    <div class="post_meta" id="post_meta_{$post['pid']}">
        {$post['iplogged']}
    </div>
</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['thanks']}{$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>
postbit_classic
Cytat:{$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']}">
<div class="post_flexible">
<div class="post_author scaleimages">
    <center><strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}</center>
    {$post['useravatar']}<br>
    <div class="author_information">
            
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}{$post['thanks_count']}{$post['thanked_count']}{$post['thx_meter']}
    </div>
</div>
<div class="post_content">
    <div class="post_head">
        {$post['posturl']}
        {$post['icon']}
        <span class="post_date"><i class="fa fa-clock-o"></i> {$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
    {$post['subject_extra']}
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['thx_counter']}<div id="thxpid_{$post['pid']}">{$post['message']}</div>{$post['thx_list']}
    </div>
    {$post['attachments']}
    {$post['signature']}
    <div class="post_meta" id="post_meta_{$post['pid']}">
        {$post['iplogged']}
    </div>
</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['thanks']}{$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>
Przenieś {$post['thanks_count']} do szablonu postbit_author_user.
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
Nic to nie daje.
Do klasy thx_giv w CSS dodaj: clear: both;.
Kodowanie, edycja i tworzenie styli, for, stron, poszczególnych elementów - polecane szczególnie dla osób, które nie potrafią sobie poradzić z problemami.
Pomogło, dzięki.



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

1 gości