Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

ROZWIĄZANY: ostrzeżenia...


TheKoksik

Rekomendowane odpowiedzi

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

Odnośnik do komentarza
Udostępnij na innych stronach

<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>

Odnośnik do komentarza
Udostępnij na innych stronach

  • 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

---

Chcesz uzyskać szybko i sprawnie pomoc? Uzupełnij wersję i adres w profilu.

Odnośnik do komentarza
Udostępnij na innych stronach

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ń...

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.