Jump to content

Featured Replies

Как можно сделать я хочу чтоб ссылка вконтакте была но я когда вставляю ссылку оно выходит за рами как можно сделать чтоб было написано например я вконтакте или я в вк вот мой код 

<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&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['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-->

f579dda7013522460ef5351daf5ea69cfba3351e Нужно чтоб было не ссылка а написано Я Vkontakte

Link to comment
https://ipbmafia.ru/topic/9142-userinfopane/
Share on other sites

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

  • No registered users viewing this page.