roseev Posted December 11, 2014 Report Share Posted December 11, 2014 Как разъединить репутации и фото профиля Link to comment Share on other sites More sharing options...
AUYKGN Posted December 11, 2014 Report Share Posted December 11, 2014 roseev, код userInfoPane шаблона нужен :) Link to comment Share on other sites More sharing options...
roseev Posted December 11, 2014 Author Report Share Posted December 11, 2014 <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&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['warn_status'], $author['warn_level'] )"}</a> </li></li> </if> </if> </ul> </ul> </if> </div> Link to comment Share on other sites More sharing options...
poduna Posted December 11, 2014 Report Share Posted December 11, 2014 <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&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['warn_status'], $author['warn_level'] )"}</a> </li></li> </if> </if> </ul> </ul> </if> </div> roseev 1 Link to comment Share on other sites More sharing options...
roseev Posted December 11, 2014 Author Report Share Posted December 11, 2014 Подскажи почему не отображается этот хук Userinfopane Buttons RUS Link to comment Share on other sites More sharing options...
poduna Posted December 11, 2014 Report Share Posted December 11, 2014 Подскажи почему не отображается этот хук Userinfopane Buttons RUS апа.gif в стандартном стиле отображается? Link to comment Share on other sites More sharing options...
Graphiti22 Posted December 11, 2014 Report Share Posted December 11, 2014 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&module=messaging&section=send&do=form&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&module=profile&section=friends&do=remove&member_id={$author['member_id']}&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&module=profile&section=friends&do=add&member_id={$author['member_id']}&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> Link to comment Share on other sites More sharing options...
roseev Posted December 11, 2014 Author Report Share Posted December 11, 2014 Стандарт удалил,куда вставить Вставил не пашет этот код Link to comment Share on other sites More sharing options...
poduna Posted December 11, 2014 Report Share Posted December 11, 2014 Подскажи почему не отображается этот хук Userinfopane Buttons RUS апа.gif А как ты это проверяешь? у тебя на форуме не одного ответа нет у себя не будет показывать roseev 1 Link to comment Share on other sites More sharing options...
Graphiti22 Posted December 11, 2014 Report Share Posted December 11, 2014 Проверяли у себя или у других пользователей, у Вас он отображаться не будет, у других, должен появится. Link to comment Share on other sites More sharing options...
roseev Posted December 11, 2014 Author Report Share Posted December 11, 2014 Работает,нашел ответ.Как сделать чтоб был под Фото Link to comment Share on other sites More sharing options...
Graphiti22 Posted December 11, 2014 Report Share Posted December 11, 2014 Перемещаете код, в нужное Вам место Вставляете перед этой строкой: <if test="rankimage:|:$author['member_rank_img']"> Link to comment Share on other sites More sharing options...
Recommended Posts