IP.Board Tutorials

Your profile in sidebar

Submitted by Mr_Joker, , Thread ID: 1304

Thread Closed
15-02-2015, 04:41 AM
#1
[Image: tdSDwx3.png]

AdminCP > Look and Feel > [your skin] -> Board Index -> boardIndexTemplate

Find
Code:
<foreach loop="side_blocks:$side_blocks as $block">
                {$block}
            </foreach>

Add before:
Code:
<if test="memberbox:|:$this->memberData['member_id']">

<div class='ipsSideBlock clearfix'>
      <h3>Welcome, <a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'> {$this->memberData['members_display_name']}</a></h3>
<div class='_sbcollapsable'>

<center class='desc member_title'>
<if test="$this->memberData['title'] != ''">
{$this->memberData['title']}<br />
</if>
<br />
<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}'>
<img src='{$this->memberData['pp_main_photo']}'></a>
<br /><br />
<center>

<span style=' font-size: 14px;'>{$this->memberData['prefix']}{$this->memberData['g_title']}{$this->memberData['suffix']}</span><br /><br />

Posts: {$this->memberData['posts']}<br />
Profile views: {$this->memberData['members_profile_views']}<br />
Member No.: {$this->memberData['member_id']}<br>
Joined: {parse date="$this->memberData['joined']" format="joined"}

<br /><br />
Your IP: {$_SERVER['REMOTE_ADDR']}
<br /><br />
<div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}
</div>
</center>
</div>
</div>

</if>

To change background color from Reputaton, just edit:
Code:
<div style='background:#0f2437 ;padding: 7px; color: #fff; font-weight: bold'>{$this->memberData['pp_reputation_points']}</div>

Enjoy! :8

Users browsing this thread: 1 Guest(s)