Jump to content

Как разъединить репутации и фото профиля

Featured Replies

  • Author
comment_75707

<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="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>
 
  <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>
 
  <li class='post_count desc lighter'>
<if test="postCount:|:$author['member_id']">
</if>
   </li>
  </if>
  
<if test="authorcfields:|:$author['custom_fields'] != """>
  <ul class='custom_fields'>
<li class='group_title'>
   {$author['_group_formatted']}
  </li>
   <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>
<li><span class='ft'>{$this->lang->words['m_posts']}</span>
<span class='fc'>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span></li>
<li>Дата регистрации: {$this->lang->words['m_member_since']} {parse date="$author['joined']" format="DATE"}</li>
<if test="authorwarn:|:$author['show_warn']">
<if test="$options['wl_id']">
<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
</if>
<li class='mp'> <a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
</li></li>
</if>
  </if>
</ul>
  </ul>
</if>
 

</div>

comment_75710
<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="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>
 
  <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>
  
 <br>
 
  <li class='post_count desc lighter'>
<if test="postCount:|:$author['member_id']">
</if>
   </li>
  </if>
  
<if test="authorcfields:|:$author['custom_fields'] != """>
  <ul class='custom_fields'>
<li class='group_title'>
   {$author['_group_formatted']}
  </li>
   <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>
<li><span class='ft'>{$this->lang->words['m_posts']}</span>
<span class='fc'>{parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"}</span></li>
<li>Дата регистрации: {$this->lang->words['m_member_since']} {parse date="$author['joined']" format="DATE"}</li>
<if test="authorwarn:|:$author['show_warn']">
<if test="$options['wl_id']">
<img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' />
</if>
<li class='mp'> <a href='{parse url="app=members&amp;module=profile&amp;section=warnings&amp;member={$author['member_id']}&amp;from_app={$this->request['app']}&amp;from_id1={$contentid}&amp;from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a>
</li></li>
</if>
  </if>
</ul>
  </ul>
</if>
 
</div>
  • Author
comment_75712

Подскажи почему не отображается этот хук Userinfopane Buttons RUS

 

post-1749-0-15115700-1418314676.gif

 

 

comment_75714

Подскажи почему не отображается этот хук Userinfopane Buttons RUS

 

attachicon.gifапа.gif

в стандартном стиле отображается?

comment_75715

roseev, вставьте в userInfoPane в нужном Вам месте этот код, и все будет работать, а сам хук можно и отключить:

 

<template_content><![CDATA[<br /><li>

<if test="$this->memberData['member_id'] AND $this->memberData['member_id'] != $author['member_id'] AND $this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0 AND IPSLib::moduleIsEnabled( 'messaging', 'members' )">
<a href='{parse url="app=members&amp;module=messaging&amp;section=send&amp;do=form&amp;fromMemberID={$author['member_id']}" base="public"}' title='{$this->lang->words['pm_this_member']}' id='pm_xxx_{$author['member_id']}' class='pm_button ipsButton_secondary ipsType_smaller'>{parse replacement="send_msg"}</a>
</if>
<if test="$this->memberData['member_id'] AND $this->memberData['member_id'] != $author['member_id'] && $this->settings['friends_enabled'] AND $this->memberData['g_can_add_friends']">
<if test="IPSMember::checkFriendStatus( $author['member_id'] )">
<a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['remove_friend']}' class='pm_button ipsButton_secondary ipsType_smaller'>{parse replacement="remove_friend"}</a>
<else />
<a href='{parse url="app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id={$author['member_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['add_friend']}' class='pm_button ipsButton_secondary ipsType_smaller'>{parse replacement="add_friend"}</a>
</if>
</if>
comment_75717

Подскажи почему не отображается этот хук Userinfopane Buttons RUS

 

attachicon.gifапа.gif

А как ты это проверяешь? у тебя на форуме не одного ответа нет у себя не будет показывать  :D

comment_75718

Проверяли у себя или у других пользователей, у Вас он отображаться не будет, у других, должен появится.

comment_75726

Перемещаете код, в нужное Вам место

Вставляете перед этой строкой: <if test="rankimage:|:$author['member_rank_img']">

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.