PDA

View Full Version : Mini Mods - Postbit Profile Look


Twilkey
06-11-2008, 10:00 PM
This mod will change your members profile to look like a modified post.
I plan to do more with this so keep an eye out for edits.

Directions
1st.-Sign in to your AdminCP.
2nd.-Scroll down and find Styles and Templates.
3rd.-Click Style Manager.
4th.-Click Edit Templates.
5th.-Scroll down and find and double click Member Information Templates.
6th.- Scroll down and find MEMBERINFO and double click it.

7th.-Replace all code with this.

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
$header
$navbar


<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="95%" align="center">
<tr>

<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>

</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">

<div id="postmenu_$post[postid]">
<b>$post[musername]</b>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<if condition="$userinfo['showvcard']">
<a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></if>
<div class="smallfont">
&nbsp;<br />
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<div>
$vbphrase[posts]: <strong>$post[posts]</strong>
</div>
<if condition="$vboptions['usereferrer']">
<div class="fieldset">
<div style="$stylevar[formspacer]px">
$vbphrase[referrals]: <strong>$referrals</strong><br />
BDay:$userinfo[birthday]<br />
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>

</div>
</div>
</if>

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
<br />
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$vbphrase[home_page]</a><br />
<a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$userinfo[userid]" rel="nofollow"><phrase>$vbphrase[email]</phrase></a>
<br /><a href="private.php?$session[sessionurl]do=newpm&amp;u=$userinfo[userid]" rel="nofollow"><phrase>$vbphrase[private_message]</phrase></a>

</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>

tafreeh
06-12-2008, 06:32 AM
any live demo ?

Hawk7173
08-20-2009, 09:20 PM
Does not work as all the info that should be in the post field is blank

orel2468
10-28-2011, 02:54 AM
nah.. i have other ,and very good. this bad mate.