Skocz do zawartości
Hosting webh.pl - 20%

ROZWIĄZANY: ostrzeżenia...

Rekomendowane odpowiedzi

Opublikowano

Witam

Da się zamienić:

pasek z ostrzeżeniami pod avatarem, na np. 0 pkt ostrzeżeń...

W wersji ipb 3.2.3

Opublikowano

to znaczy, jak zamienić?

Opublikowano

Ten system został wprowadzony w wersji 3.3, musisz po prostu wykonać aktualizację.

Nasz kolega już siedział za piracką wersję IPB, Ty też możesz
† Będziemy bronić SB po kres naszych sił †
Nie ma bolca na izolca!!!
Tłumaczes Power

Opublikowano
  • Autor

Ale jeśli wkleję kod, to będzie też dobrze prawda?? będzie to widoczne??

Opublikowano

Zmian w kodzie na pewno jest dużo więcej, bo to nie tylko nowy licznik, ale też nowy panel dodawania ostrzeżeń, strony w ACP itd.

Nasz kolega już siedział za piracką wersję IPB, Ty też możesz
† Będziemy bronić SB po kres naszych sił †
Nie ma bolca na izolca!!!
Tłumaczes Power

Opublikowano

Nie, nie pomoże przeklejenie kodów, jeśli chcesz mieć takie ostrzeżenia musisz zrobić aktualizację do wersji 3.3.

Opublikowano
  • Autor

Mi nie chodzi o wygląd w acp, czy w panelu mod. chodzi mi tylko w widoku postu, zamiast "Status Ostrzeżeń" pokazywało "(liczba*) pkt. ostrzeżeń" np.: " 1 pkt. ostrzeżeń"

prosiłbym o kod z userInfoPane

Opublikowano
  • Autor
<div class='user_details'>
<ul class='basic_info'>
 <if test="membertitle:|:$author['member_title']">
  <p class='desc member_title'>{$author['member_title']}</p>
 </if>
<if test="rankimage:|:$author['member_rank_img']">
  <li class='group_icon'>
  <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'">
   <img src='{$author['member_rank_img']}' alt='' />
  <else />
   {$author['member_rank_img']}
  </if>
  </li>
 </if>
 <if test="avatar:|:$author['member_id']">
  <li class='avatar'>
   <a href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}" class='ipsUserPhotoLink'>
   <if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
 <img src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
   <else />
 <img src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
   </if>
   </a>
  </li>
 <else />
  <li class='avatar'>
   <img src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
  </li>
 </if>
 <li class='group_title'>
  {$author['_group_formatted']}
 </li>
 <if test="postCount:|:$author['member_id']">
 <li class='post_count desc lighter'>
  {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']}
 </li>
 </if>
</ul>
<if test="authorwarn:|:$author['warn_percent'] !== NULL"> 
 <ul>
  <li>
   <br />
   <div class='warn_panel clear rounded ipsType_small'>
  <a href='{parse url="app=core&module=modcp&section=editmember&do=view&mid={$author['member_id']}&_tab=warn" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a>
 <if test="highwarn:|:$author['warn_percent'] >= 80">
  <p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
 <else />

 </if>

   </div>
  </li>
 </ul>
</if>
<if test="authorcfields:|:$author['custom_fields'] != """>
 <ul class='custom_fields'>
  <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
   <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
 <if test="$field != ''">
  <li>
   {$field}
  </li>
 </if>
   </foreach>
  </foreach>
 </ul>
</if>

<if test="rankimage:|:$author['member_rank_img_dodatek']">
<if test="rankimageimage:|:$author['member_rank_img_i_dodatek'] == 'img'">
<img src='{$author['member_rank_img_dodatek']}' alt='' />
<else />
{$author['member_rank_img_dodatek']}
</if>
</if>  
<br />
<if test="RepPositive:|:$author['pp_reputation_points'] > 0">
<div class='reputation positive' ><div style='font-size:1.1em'>Reputacja: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div>
<if test="RepText:|:$author['author_reputation'] && $author['author_reputation']['text']">
<span class='title'>{$author['author_reputation']['text']}</span>
</if>
<if test="RepImage:|:$author['author_reputation'] && $author['author_reputation']['image']">
<span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['m_reputation']}' /></span>
</if>
</div>
</if>
<if test="RepNegative:|:$author['pp_reputation_points'] < 0">
<div class='reputation negative' > <div style='font-size:1.1em'>Reputacja: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div>
<if test="RepText:|:$author['author_reputation'] && $author['author_reputation']['text']">
<span class='title'>{$author['author_reputation']['text']}</span>
</if>
<if test="RepImage:|:$author['author_reputation'] && $author['author_reputation']['image']">
<span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['m_reputation']}' /></span>
</if>
</div>
</if>
<if test="RepZero:|:$author['pp_reputation_points'] == 0">
<div class='reputation zero' ><div style='font-size:1.1em'>Reputacja: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div>
<if test="RepText:|:$author['author_reputation'] && $author['author_reputation']['text']">
<span class='title'>{$author['author_reputation']['text']}</span>
</if>
<if test="RepImage:|:$author['author_reputation'] && $author['author_reputation']['image']">
<span class='image'><img src='{$author['author_reputation']['image']}' alt='{$this->lang->words['m_reputation']}' /></span>
</if>
</div>
</if>
</li>

</div>

Opublikowano
  • Manager

Zmień to:

   <li>
       <br />
       <div class='warn_panel clear rounded ipsType_small'>
         <a href='{parse url="app=core&module=modcp&section=editmember&do=view&mid={$author['member_id']}&_tab=warn" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a>
        <if test="highwarn:|:$author['warn_percent'] >= 80">
         <p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
        <else />

        </if>

       </div>
  </li>

Na:

       	 <li>
               <br />
               <div class='warn_panel clear rounded ipsType_small'>
                       <strong><a href='{parse url="app=core&module=modcp&section=editmember&do=view&mid={$author['member_id']}&_tab=warn" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a></strong>
                   <if test="highwarn:|:$author['warn_percent'] >= 80">
                       <p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
                   <else />
                       <p class='progress_bar user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
                   </if>
                       <span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span>
                   </p>
               </div>
           </li>

intermedia - profesjonalne rozwiązania Invision Power Board, IC5

Opublikowano
  • Autor

Zmień to:

 <li>
<br />
<div class='warn_panel clear rounded ipsType_small'>
<a href='{parse url="app=core&module=modcp&section=editmember&do=view&mid={$author['member_id']}&_tab=warn" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a>
<if test="highwarn:|:$author['warn_percent'] >= 80">
<p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
<else />

</if>

</div>
</li>

Na:

 	 <li>
<br />
<div class='warn_panel clear rounded ipsType_small'>
<strong><a href='{parse url="app=core&module=modcp&section=editmember&do=view&mid={$author['member_id']}&_tab=warn" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}' class='warn_link'>{$this->lang->words['warn_status']}</a></strong>
<if test="highwarn:|:$author['warn_percent'] >= 80">
<p class='progress_bar user_warn limit' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
<else />
<p class='progress_bar user_warn' title='{$this->lang->words['warn_level']} {$author['warn_percent']}%'>
</if>
<span style='width: {$author['warn_percent']}%'><span>{$this->lang->words['warn_level']} {$author['warn_percent']}%</span></span>
</p>
</div>
</li>

Mam tak samo jak na początku... pasek z punktami ostrzeżeń...

Opublikowano

Problem ROZWIĄZANY. Jeśli są jakiekolwiek wątpliwości, pytania proszę o wysłanie wiadomości do jednego z członków ekipy zarządzającej.

Wszelkie uzasadnione reklamacje/pretensje/sugestie/rady przyjmuje ekipa forum.

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.