Your profile in sidebar

by Mr_Joker - 15-02-2015, 04:41 AM
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
32
Credits:
317
Reputation:
3
2 Years of Service
#1
OP
Posted: 15-02-2015, 04:41 AM
[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
Novice
Posts:
28
Joined:
Mar 2015
Likes:
0
Credits:
16
Reputation:
0
2 Years of Service
#2
Posted: 17-03-2015, 01:56 AM
Thanks! This looks good :D
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)