dimka198 отреагировална пост
Naout в Код UserInfoPane
Весь код в userinfopane заменяешь на
<div class="user_block">
<div class="psevdo"></div>
<if test="membertitle:|:$author['member_title']">
<p class='desc member_title'>{$author['member_title']}</p>
</if>
</div>
<if test="avatar:|:$author['member_id']">
<div class='avatar'>
<if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
<a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'>
</if>
<if test="hasVariable:|:$this->settings['member_topic_avatar_max']">
<img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' />
<else />
<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
</if>
<if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )">
</a>
</if>
</div>
<else />
<div class='avatar'>
<img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' />
</div>
</if>
<if test="rankimage:|:$author['member_rank_img']">
<div 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>
</div>
</if>
<br>
<div class="wa-block">
<div class="psevdo"></div>
Сообщений:
<div class="u-mini">
« {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} »
</div>
</div>
<div class="wa-block">
<div class="psevdo"></div>
Варнов:
<div class="u-mini">
« <a href='{parse url="app=members&module=profile&section=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&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['warns_status'], $author['warn_level'] )"}</a> »
</div>
</div>
<if test="authorcfields:|:$author['custom_fields'] != """>
<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
<if test="$field != ''">
{$field}
</if>
</foreach>
</foreach>
</if>
<br>
<!--reputation-->
<if test="RepPositive:|:$author['pp_reputation_points'] > 0">
<div class='reputation positive' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"><div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
</if>
<if test="RepNegative:|:$author['pp_reputation_points'] < 0">
<div class='reputation negative' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"> <div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
</if>
<if test="RepZero:|:$author['pp_reputation_points'] == 0">
<div class='reputation zero' data-tooltip="{parse expression=" $author['author_reputation']['text']"}"><div style='font-size:13px'>Репутация: {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div></div>
</if>
<!--reputation-->
В ipb_styles.css вставляешь
.custom_fields li {
background: #F6F8FA;
padding: 4px;
margin-top: 2px;
text-align: center;
}
.author_info .group_title { /* Замени стандартный код,этим */
color: #5A5A5A;
margin-top: 5px;
}
.repa {
background: #384A61;
padding: 4px;
margin-top: 2px;
border: 1px solid #DDD;
text-align: center;
border-bottom: 2px solid #FF7518;
}
.author_info, .post_body { /* Замени стандартный код,этим */
background: #E8ECEE url({style_images_url}/triangles.png);
padding: 8px;
border: 2px dashed #ECF2F7;
border-radius: 3px;
}