Jump to content

Cerere Userinfopane Personalizat Pentru Ipb


Gabii

Recommended Posts

Poftim:

<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='desc member_title'>{$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>
<li class='group_title'>
{$author['_group_formatted']}
</li>
<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>


<if test="postCount:|:$author['member_id']"> <div class="extraUserInfo">




   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>Mesaje:</dt>
   <dd>
   {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} </dd>

  </li>
   </dl>
</div></if>
<if test="authorwarn:|:$author['show_warn']">
<div class="extraUserInfo">


   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>Puncte de avertizare:</dt>
   <dd>
   {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['warn_level'] ) )"} </dd>
  </li>
   </dl>
</div>
</if>
</ul>


<if test="authorcfields:|:$author['custom_fields'] != """>
<div class="extraUserInfo">


   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>Reputaţie:</dt>
   <dd>
   {$author['pp_reputation_points']}</dd>
  </li>
   </dl>
   </div>       <ul class='custom_fields'>
<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>
</ul>
</if>


</div>

Arata asa:2niwoyc.jpg

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to comment
Share on other sites

Sti ca are nevoie si de CSS nu?

Poftim :

.extraUserInfo{
  font-size:11px;
  padding:4px 0px;
}

.pairsJustified {
margin: 2px 0 0;
font-size: 9px;
border-bottom: 1px dashed #000!important;
overflow: hidden;
line-height: 1.5;
}

.pairsJustified dt {
padding-right: 5px;
font-size: 11px!important;
float: left;
text-align: left;
max-width: 100%;
margin-right: 5px;
color: rgb(55, 134, 216);
}

.pairsJustified dd {
float: right;
font-size: 10px!important;
text-align: right;
max-width: 100%;
}

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to comment
Share on other sites

  • Moderators

A pus o poza cum va arata userInfoul odata adaugat codu, si daca te uiti prin cod vei observa:

<dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>Reputaţie:</dt>
   <dd>
   {$author['pp_reputation_points']}</dd>
  </li>
   </dl>
  • Upvote 1

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

scoate acel hook show reputation in profil user

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to comment
Share on other sites

  • Moderators

Acel chenar alb credca este adaugat de el in poza, nu credca arata asa normal. Constantin stie exact daca a adaugat el chenaru alb sau nu.

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

.extraUserInfo {
    font-size: 11px;
    padding: 4px
0px;
}


.pairsJustified {
    margin: 1px
0 0;
    font-size: 11px;
    border: 1px
solid #2F2F2F;
    overflow: hidden;
    line-height: 2;
    list-style-type: none;
}


.pairsJustified:hover {
    border: 1px
solid #28435D;
}


.pairsJustified
dt {
    font-size: 11px !important;
    float: left;
    padding-left: 5px;
    text-align: left;
    max-width: 100%;
    color: #ababab;
    text-shadow: 0 1px #000;
}


.pairsJustified
dd {
    float: right;
    font-size: 10px !important;
    text-align: right;
    max-width: 100%;
    padding-right: 5px;
    text-shadow: 0 1px #000;
}

O sa ai chenar in juru la fiecare statistica.

  • Upvote 1
Link to comment
Share on other sites

Frate normal ca am adaugat eu chenarul alb,nu am mai vazut sa fie userinfopane intr-un chenar.

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to comment
Share on other sites

  • Moderators

CSS-ul vine adaugat jos de tot in ipb_styles.css, iar celalalt cod vine modificat in userInfoPane, fa un backup la fisierul ala; in caz de apar probleme cand modifici.

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

Dute in members tab => Custom Profile Field Management = la fiecare intri si adaugi la ultima casuta["Topic View Format?"] adaugi:

<dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>{title}</dt>
   <dd>{content}</dd>
  </li>

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to comment
Share on other sites

  • 4 months later...
  • 5 weeks later...
  • 3 weeks later...

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.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.