brak informacji o reputacji pod postem

Założony przez  Arcicorci.

wersja skryptu MyBB:1.8.3
adres forum: http://arcicorc.vot.pl


Dodalem plugin postrep ale nadal nie widze kto przyznal reputacje.

kod postbit_classic

{$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_author scaleimages">
  <
div class="arrow_box">
    <
div class="author_information">
       {
$post['onlinestatus']} <strong><span class="protext">{$post['profilelink']}</span></strong>  
      <
br />
      {
$post['useravatar']}
            <
span class="smalltext">
                {
$post['usertitle']}<br />
                {
$post['userstars']}
            </
span>
    </
div>
    <
div class="author_statistics">
        {
$post['user_details']} 
      
</
div></div></div>
<
div class="post_content">
    <
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_body scaleimages" id="pid_{$post['pid']}">
        {
$post['message']} 
    </
div>
    <
center>{$post['attachments']}
      {
$post['signature']}</center>
    <
div class="post_meta" id="post_meta_{$post['pid']}">
    </
div>
</
div>
  
<
div style="{$post['tyl_display']}id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</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_tyl']}{$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>{myadvertisements[zone_3]} 


W jednym z postow widzialem ze dodane zostalo cos takiego w tym szablonie:

</td>
</
tr>{$post['postrep_inline']}

</
table>{$post['postrep_outline']} 
{$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_author scaleimages">
  <div class="arrow_box">
    <div class="author_information">
       {$post['onlinestatus']} <strong><span class="protext">{$post['profilelink']}</span></strong>  
      <br />
      {$post['useravatar']}
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}
      
</div></div></div>
<div class="post_content">
    <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_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
    </div>
    <center>{$post['attachments']}
      {$post['signature']}</center>
    <div class="post_meta" id="post_meta_{$post['pid']}">
    </div>
</div>
  
<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
{$post['postrep_outline']}
<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_tyl']}{$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>{myadvertisements[zone_3]}

Użyj tego. Za wyświetlanie pluginu odpowiadają wspomniane zmienne, ja korzystam z {$post['postrep_outline']}, które też wstawiłem Ci w szablonie zaraz nad postbit_buttons.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?
Niestety u mnie to nie działa :(
A aktywowałeś ogólnie plugin w ACP?
+ czy go skonfigurowałeś.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?
Plugin jest aktywny i wszystkie (4) ustawienia sa na "tak"
A wstaw obie zmienne w kilku losowych miejscach w tym szablonie, nie chce mi się wierzyć, że nic się nie pojawi.
Masz szablon oparty na divach, plugin dodaje się w osobnej tabeli - > przejrzyj sobie szablony pluginu jeszcze. Choć to nie powinno mieć znaczenia.

No i oczywiście musisz obserwować zmiany na poście, za który faktycznie posypały się jakieś reputacje. Tylko w tym przypadku się doda tabelka.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?
Pododawałem w co drugiej linijce i nic. Wyłączyłem plugin thank you i reklamę pod postem bo może coś sie gryzie ale nadal nic. Czy ten plugin postrep w wersji dla 1.6 działa również pod 1.8?
Tak, osobiście wczoraj go instalowałem na swojej stronie. Zmieniłem tylko kompatybilność i dodałem wspomnianą zmienną.

Tak teraz patrzę, na forum korzystasz z widoku standardowego czy klasycznego? Klasyczny wyświetla informacje o autorze po lewej od posta, standardowy na górze. Domyślnie wchodząc na forum widzę standardowy widok posta.

Jeśli faktycznie korzystasz z standardowego, to za wygląd posta odpowiada szablon postbit. Tam dodaj zmienne.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?
Teraz działa. W złym szablonie dodawałem zmienna :)



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

1 gości