voodnik Posted June 24, 2017 Share Posted June 24, 2017 1. Удаляем все с 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> <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"> {parse expression="$this->lang->formatNumber( intval( $author['pp_reputation_points'] ) )"}</div> </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> 2. Сохраняем 3. Заходим в ipb_styles.css и в самый низ вставляем: .member_title { background: #fff; height: 30px; display: inline-block; font-size: 14px; padding: 1px; width: 152px; text-align: center; font-size: 0.8em; color: #606060; } .user_block { color:#474747; } .wa-block { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; height: 28px; padding: 0 10px; width: 137px; text-align: left; background: #fff; margin: 4px auto; } .u-mini { float: right; } .psevdo { height: 3px; } Сохраняем и радуемся. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now