Jump to content
Sign in to follow this  
cambul

Cum modific

Recommended Posts

Schimba tot ce ai in UserInfoPane cu asta :

 

<div itemscope itemtype="http://schema.org/Person" class='user_details'>
    <span class='hide' itemprop="name">{$author['members_display_name']}</span>
    <ul class='basic_info'>
        <if test="membertitle:|:$author['member_title']">
            <p class="mbrtitle">{$author['member_title']}</p>
        </if>
        <if test="avatar:|:$author['member_id']">
            <li 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>
            </li>
        <else />
            <li class='avatar'>
                <img itemprop="image" 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>
        </ul>
    <div class="extraUserInfo">
            <dl class="pairsJustified">
                    <li class='post_count desc lighter'>
                        <dt></i> Rank:</dt>
                        <dd>{$author['_group_formatted']}</dd>
                    </li>
                </dl>
        <if test="postCount:|:$author['member_id']">
                <dl class="pairsJustified">
                    <li class='post_count desc lighter'>
                        <dt></i> Posts:</dt>
                        <dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber(intval($author['posts']))"}</dd>
                    </li>
                </dl>
        </if>
            <dl class="pairsJustified">
                <li class='post_count desc lighter'>
                    <dt></i> Member ID:</dt>
                    <dd>{$author['member_id']}</dd>
                </li>
            </dl>
            <dl class="pairsJustified">
                <li class='post_count desc lighter'>
                    <dt><i class="fa fa-sign-in"></i> {$this->lang->words['m_joined']}</dt>
                    <dd>{parse date="$author['joined']" format="joined"}</dd>
                </li>
            </dl>
        <if test="authorwarn:|:$author['show_warn']">
                <dl class="pairsJustified">
                    <li class='post_count desc lighter'>
                        <dt></i>  Warnings:</dt>
                        <dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber(intval($author['warn_level']))"}</dd>
                    </li>
                </dl>
        </if>
        <dl class="pairsJustified">
                <li class='post_count desc lighter'>
                    <dt></i> Reputation:</dt>
                    <dd>{$author['pp_reputation_points']}</dd>
                </li>
        </dl>
        <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>
    </div>
</div>

 

Iar in ipb_styles.css adauga asta , este la fel ca la trag doar ca difera culoarea de la hoverbar :

 

.extraUserInfo{
  font-size:12px;
  padding:4px 0px;
font-family: Calibri,Candara,Segoe,"Segoe UI",Optima,Arial,sans-<div itemscope itemtype="http://schema.org/Person" class='user_details'>
    <span class='hide' itemprop="name">{$author['members_display_name']}</span>
    <ul class='basic_info'>
        <if test="membertitle:|:$author['member_title']">
            <p class="mbrtitle">{$author['member_title']}</p>
        </if>
        <if test="avatar:|:$author['member_id']">
            <li 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>
            </li>
        <else />
            <li class='avatar'>
                <img itemprop="image" 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>
        </ul>
    <div class="extraUserInfo">
            <dl class="pairsJustified">
                    <li class='post_count desc lighter'>
                        <dt><i class="fa fa-star"></i> Rank:</dt>
                        <dd>{$author['_group_formatted']}</dd>
                    </li>
                </dl>
        <if test="postCount:|:$author['member_id']">
                <dl class="pairsJustified">
                    <li class='post_count desc lighter'>
                        <dt><i class="fa fa-thumb-tack"></i> Posts:</dt>
                        <dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber(intval($author['posts']))"}</dd>
                    </li>
                </dl>
        </if>
            <dl class="pairsJustified">
                <li class='post_count desc lighter'>
                    <dt><i class="fa fa-user"></i> Member ID:</dt>
                    <dd>{$author['member_id']}</dd>
                </li>
            </dl>
            <dl class="pairsJustified">
                <li class='post_count desc lighter'>
                    <dt><i class="fa fa-sign-in"></i> {$this->lang->words['m_joined']}</dt>
                    <dd>{parse date="$author['joined']" format="joined"}</dd>
                </li>
            </dl>
        <if test="authorwarn:|:$author['show_warn']">
                <dl class="pairsJustified">
                    <li class='post_count desc lighter'>
                        <dt><i class="fa fa-exclamation-circle"> </i>  Warnings:</dt>
                        <dd>{parse expression="$this->registry->getClass('class_localization')->formatNumber(intval($author['warn_level']))"}</dd>
                    </li>
                </dl>
        </if>
        <dl class="pairsJustified">
                <li class='post_count desc lighter'>
                    <dt><i class="fa fa-plus-square"></i> Reputation:</dt>
                    <dd>{$author['pp_reputation_points']}</dd>
                </li>
        </dl>
        <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>
    </div>
</div>serif;
}

.pairsJustified{

  margin:1px 0 0;
  font-size:12px;
  border-bottom:1px solid #2F2F2F;
  overflow:hidden;
  line-height:2;
list-style-type: none;
transition: border-bottom 0.5s;
}
.pairsJustified:hover{
  border-bottom:1px solid #cf371d;cursor: default;
}

.pairsJustified dt{
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size:12px !important;
  float:left;
  padding-left:5px;
  text-align:left;
  max-width:100%;
  color:grey;
  text-shadow:0 1px #000;
}

.pairsJustified dd{
  color: #c2c2c2;
  float:right;
  font-size:11px !important;
  text-align:right;
  max-width:100%;
  padding-right:2px;
  text-shadow:0 1px #000;
}
.pairsJustified dd2{
  float:right;
  font-size:11px !important;
  text-align:right;
  max-width:100%;
  padding-right:2px;
  text-shadow:0 1px #000;
}

Iar in globaltemplate adauga asta ca sa apara imaginile :

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

+1 :)

Edited by aLx xCsWeb
  • Downvote 2

Share this post


Link to post
Share on other sites

Daca nu iti placea asta nu inseamana sa imi dai -1 .. dmn 

Scuzati Off-topicul! De ce raspunzi aiurea in tramvai? .. ai citit macar ce doreste?! Evident ca nu.. pac arunci un raspuns doar de " dragu` " de a face reputatie si a o cersi ? Sincer iti zic.. mai bine deloc decat sa scrii.. te mai si faci de ras la modu` ca spre exemplu` te duci la piata ceri o paine si vanzatoarea iti ofera o branza! cam asa a fost si post-ul tau mai de sus .. in fine + remember Regulament IPB?

CITEZ:

Nu postaţi doar pentru a vă băga în seamă!
  • Am văzut mulţi utilizatori care pretind că ştiu ce fac atunci când oferă o soluţie, însă nu fac nimic altceva decât să ofere sfaturi proaste, producând alte erori

O seara frumoasa!

Edited by Amon
  • Downvote 1

Share this post


Link to post
Share on other sites

Daca nu iti placea asta nu inseamana sa imi dai -1 .. dmn 

Neinteresant ca sunt off topic, dar hai sa iti explic.

El doar a cerut cum se adauga lucruri noi in userinfopane, ce ai postat tu, ai postat un userinfopane deja editat de catre un alt autor, iar lui schimbandui complet aspectul de pe tema lui .

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...