Jump to content

Cum pot face profilul asa


Alex.P

Recommended Posts

Bănuiesc că este o opțiune specială .

Dacă nu , încearcă să-ți completezi informațiile personale .

Daca nu stii nu te bagi ..

 

Alea sunt facute cu custom profile fields, iar restu se editeaza in userinfoPane.

Daca te-am ajutat, nu uita de +1 ! Multumesc.

Link to comment
Share on other sites

<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>
<div class="extraUserInfo">
<if test="$author['g_id']== 7">
<ul class="ribbon">
                                <li class="ribbon2" style="background:#D90005;">
                                        <div class="Rleft" style="background:#D90005;"></div>
                                        <div class="Rright" style="background:#D90005;"></div>
                                        <span style='color:#eee;background-image: url("http://www.indungi.ro/forum/textspan/background.gif");'>{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 19">
<ul class="ribbon">
                                <li class="ribbon2" style="background:#0D4F8B;">
                                        <div class="Rleft" style="background:#0D4F8B;"></div>
                                        <div class="Rright" style="background:#0D4F8B;"></div>
                                        <span style='color:#eee;background-image: url("http://www.indungi.ro/forum/textspan/background.gif");'>{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 4">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #008080;">
                                        <div class="Rleft" style="background: #008080;"></div>
                                        <div class="Rright" style="background: #008080;"></div>
                                 <span style='color:#eee;background-image: url("http://www.indungi.ro/forum/textspan/background.gif");'><span style="color:#eee;">{$author['g_title']}</span></span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 5">
<ul class="ribbon">
                                <li class="ribbon2" style="background: gray;">
                                        <div class="Rleft" style="background: gray;"></div>
                                        <div class="Rright" style="background: gray;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
 <if test="$author['g_id']== 6">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
  <if test="$author['g_id']== 11">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #f93fc2;">
                                        <div class="Rleft" style="background: #f93fc2;"></div>
                                        <div class="Rright" style="background: #f93fc2;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
   <if test="$author['g_id']== 12">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #4eb7ca;">
                                        <div class="Rleft" style="background: #4eb7ca;"></div>
                                        <div class="Rright" style="background: #4eb7ca;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
    <if test="$author['g_id']== 10">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #c60066;">
                                        <div class="Rleft" style="background: #c60066;"></div>
                                        <div class="Rright" style="background: #c60066;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>    
 <if test="$author['g_id']== 3">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #4c4c4c;">
                                        <div class="Rleft" style="background: #4c4c4c;"></div>
                                        <div class="Rright" style="background: #4c4c4c;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
 <if test="$author['g_id']== 13">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #b2302a;">
                                        <div class="Rleft" style="background: #b2302a;"></div>
                                        <div class="Rright" style="background: #b2302a;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
 <if test="$author['g_id']== 18">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e8dd34;">
                                        <div class="Rleft" style="background: #e8dd34;"></div>
                                        <div class="Rright" style="background: #e8dd34;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 1">
<ul class="ribbon">
                                <li class="ribbon2" style="background: silver;">
                                        <div class="Rleft" style="background: silver;"></div>
                                        <div class="Rright" style="background: silver;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 14">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #ED9121;">
                                        <div class="Rleft" style="background: #ED9121;"></div>
                                        <div class="Rright" style="background: #ED9121;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 8">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #ed4a05;">
                                        <div class="Rleft" style="background: #ed4a05;"></div>
                                        <div class="Rright" style="background: #ed4a05;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 16">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #0366c6;">
                                        <div class="Rleft" style="background: #0366c6;"></div>
                                        <div class="Rright" style="background: #0366c6;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 2">
<ul class="ribbon">
                                <li class="ribbon2" style="background: gray;">
                                        <div class="Rleft" style="background: gray;"></div>
                                        <div class="Rright" style="background: gray;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 17">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #63631d;">
                                        <div class="Rleft" style="background: #63631d;"></div>
                                        <div class="Rright" style="background: #63631d;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 9">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #baff00;">
                                        <div class="Rleft" style="background: #baff00;"></div>
                                        <div class="Rright" style="background: #baff00;"></div>
                                   <span style="color:#ffffff;"><span style='color:#ffffff;background-image: url("http://www.indungi.ro/forum/textspan/background.gif");'>{$author['g_title']}</span></span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 28">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 21">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 23">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 24">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 25">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 20">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 27">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 22">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 29">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 32">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 33">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 30">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
<if test="$author['g_id']== 26">
<ul class="ribbon">
                                <li class="ribbon2" style="background: #e37200;">
                                        <div class="Rleft" style="background: #e37200;"></div>
                                        <div class="Rright" style="background: #e37200;"></div>
                                   <span style="color:#eee;">{$author['g_title']}</span>
                                </li>
 </ul>
 </if>
  </li>
   </dl>
</div>
 
 
 
 
<if test="postCount:|:$author['member_id']"> <div class="extraUserInfo">
 
 
   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt><i class="fa fa-comment"></i> Posts:</dt>
   <dd>
   {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} </dd>
  </li>
   </dl>
</div></if>
 
<div class="extraUserInfo">
   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt><i class="fa fa-check-square-o"></i> Joined:</dt>
   <dd>
  {parse date="$author['joined']" format="joined"}</dd>
  </li>
   </dl>
</div>
 
<div class="extraUserInfo">
 
   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt><i class="fa fa-child"></i> Member ID:</dt>
   <dd>
   {$author['member_id']}</dd>
  </li>
   </dl>
</div>
<div class="extraUserInfo">
 
   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt><i class="fa fa-plus-square-o"></i> Reputation:</dt>
   <dd>
   {$author['pp_reputation_points']}</dd>
  </li>
   </dl>
</div>
 
 
<div class="extraUserInfo">
 
   <dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt><i class="fa fa-bell"></i> Warn-uri:</dt>
   <dd>
   {$author['warn_level']}</dd>
  </li>
   </dl>
</div>
 
 
 
</ul>
 
 
 
</div>

 
iar css : 

.extraUserInfo{
 
  font-size:11px;
  padding:4px 0px;
}
 
 
.pairsJustified {
border: 1px dashed #0D0D0D;
box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.09);
padding-top: 1px;
padding-bottom: 1px;
padding-left: 3px;
padding-right: 3px;
background: #121212;
font-size: 9px;
/* border: 1px dashed #262626; */
overflow: hidden;
line-height: 1.5;
margin-bottom: -5px;
 
}
 
 
.pairsJustified:hover {
background: #1a1a1a;}
 
.pairsJustified dt {
padding-right: 5px;
float: left;
text-align: left;
max-width: 100%;
margin-right: 5px;
font-size: 10px;
color: #5e5e5e;
text-shadow: 0 1px #000;
 
}
 
 
.pairsJustified dd {
float: right;
font-size: 10px;
color: #5e5e5e;
text-shadow: 0 1px #000;
text-align: right;
max-width: 100%;
}
.ribbon{font-weight:bold;font-size:10px;margin:-5px -5px -2px;text-align:center;text-shadow:0 1px #000}.ribbon
li{-webkit-border-radius:3px;-moz-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;-webkit-border-top-right-radius:0px;-moz-border-radius-topright:0px;-khtml-border-top-right-radius:0px;border-top-right-radius:0px;-webkit-border-top-left-radius:0px;-moz-border-radius-topleft:0px;-khtml-border-top-left-radius:0px;border-top-left-radius:0px;-webkit-box-shadow:0px 1px 3px rgba(0,0,0, 0.25);-moz-box-shadow:0px 1px 3px rgba(0,0,0, 0.25);-khtml-box-shadow:0px 1px 3px rgba(0,0,0, 0.25);box-shadow:0px 1px 3px rgba(0,0,0,0.25);padding:1px;position:relative;margin-bottom:10px}.ribbon li
.Rleft{-webkit-border-top-left-radius:3px;-moz-border-radius-topleft:3px;-khtml-border-top-left-radius:3px;border-top-left-radius:3px;left:0px;background-color:#2e2e2e}.ribbon li
.Rright{-webkit-border-top-right-radius:3px;-moz-border-radius-topright:3px;-khtml-border-top-right-radius:3px;border-top-right-radius:3px;right:0px;background-color:#2e2e2e}.ribbon li
div{position:absolute;top:-4px;width:4px;height:4px;background-color:#353535}

Edited by gadeas
Adaugat spoiler
  • Upvote 1

oG2BN9d.gifAnDrEy.QG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
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.

  • 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.