Jump to content

Member Title Indoit (Rotunjit In Colt)


Recommended Posts

Incearca asta :

<ul class='basic_info'><br>
  <if test="membertitle:|:$author['member_title']">
  </if><if test='{$author['member_title']}'>
<ul class="ribbon">
                      <li class="ribbon2" style="background: #323232;">
                                        <div class="Rleft" style="background: #323232"></div>
                                        <div class="Rright" style="background: #323232"></div>
                             <span style="color: white;"><b>{$author['member_title']}</b></span>
                                </li>
            
</ul>
</if>
  • Upvote 1
Link to post
Share on other sites

Apare doar un text si un dreptunghi in spatele lui , trebuie pus ceva in styles.css ? 

Da adauga asta la sfarsit:

.ribbon {
font-weight: bold;
font-size: 10px;
font-family: tahoma;
margin: -5px -5px -2px -4px;
text-align: center;
text-shadow: 0 1px #000;
}

.ribbon3 {
color: #FFF;
background-color: #2b2b3e;
margin-top: 10px;
margin-bottom: 5px;
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: 5px;
}

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to post
Share on other sites

RGiCcID.jpg

Acel loc liber de deaspura la member title.

vezi unde ai pus codurile in css sa nu fie vreun </div> inaintea codului.

                                                                                    jocuri-468x60.png

                   

                                                                                                   Recomand cu incredere HZone Romania - Webhost Calitate Maxima 

Link to post
Share on other sites

Uite aici cod userinfopane.

<div itemscope itemtype="http://schema.org/Person" class='user_details'>
<span class='hide' itemprop="name">{$author['members_display_name']}</span>
<ul class='basic_info'>
<ul class='basic_info'><br>
  <if test="membertitle:|:$author['member_title']">
  </if><if test='{$author['member_title']}'>
<ul class="ribbon">
                      <li class="ribbon2" style="background: #323232;">
                                        <div class="Rleft" style="background: #323232"></div>
                                        <div class="Rright" style="background: #323232"></div>
                             <span style="color: white;"><b>{$author['member_title']}</b></span>
                                </li>
            
</ul>
</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>
<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>

<dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>ID membru:</dt>
   <dd>
   {$author['member_id']}</dd>
  </li>
        </dl>


<dl class="pairsJustified">
  <li class='post_count desc lighter'>
<dt>Înregistrat</dt>
   <dd>
   {parse date="$author['joined']" format="joined"}</dd>
  </li>
        </dl>

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


  <if test="authorcfields:|:$author['custom_fields'] != """><ul>
            <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>



<if test="authorwarn:|:$author['show_warn']">
            <li>
                <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>
                <a class='desc lighter blend_links' 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['warn_status'], $author['warn_level'] )"}</a>
            </li>
        </if>




</div>


</div>
Link to post
Share on other sites

Adauga in CSS--- ipb_styles.css La sfirsit

.ribbon {
font-weight: bold;
font-size: 10px;
font-family: tahoma;
margin: -5px -5px -2px -4px;
text-align: center;
text-shadow: 0 1px #000;
}

.ribbon3 {
color: #FFF;
background-color: #2b2b3e;
margin-top: 10px;
margin-bottom: 5px;
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: 5px;
}

Iar la userinfopane pune 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'>
<ul class='basic_info'><br>
<if test="membertitle:|:$author['member_title']">
</if><if test='{$author['member_title']}'>
<ul class="ribbon">
<li class="ribbon2" style="background: #323232;">
<div class="Rleft" style="background: #323232"></div>
<div class="Rright" style="background: #323232"></div>
<span style="color: white;"><b>{$author['member_title']}</b></span>
</li>

</ul>
</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>
<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>

<dl class="pairsJustified">
<li class='post_count desc lighter'>
<dt>ID membru:</dt>
<dd>
{$author['member_id']}</dd>
</li>
</dl>


<dl class="pairsJustified">
<li class='post_count desc lighter'>
<dt>Înregistrat</dt>
<dd>
{parse date="$author['joined']" format="joined"}</dd>
</li>
</dl>

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


<if test="authorcfields:|:$author['custom_fields'] != """><ul>
<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>



<if test="authorwarn:|:$author['show_warn']">
<li>
<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>
<a class='desc lighter blend_links' 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['warn_status'], $author['warn_level'] )"}</a>
</li>
</if>




</div>


</div>
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.

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