PHP Code:
<!-- START LEFT RPG POSTBIT BAR -->
<br />
<a href="javascript:void(window.open('rpg.php?userid=$post[userid]', '', 'toolbar=no,scrollbars=no,resizable=no,width=300,height=300'));">View Extended RPG Stats</a>
<br />
<if condition="$bbuserinfo[rpgstats] == 0">
<div id="rpgpostmenu_$post[postid]"> <b>RPG stats</b>
<script type="text/javascript"> vbmenu_register("rpgpostmenu_$post[postid]", true); </script>
</div>
<div class="vbmenu_popup" id="rpgpostmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead"><b>RPG Character Stats</b></td>
</tr>
<tr>
<td class="alt2"> $rpgclass3 <b>Name</b>: $rpname<br />
<b>Clan</b>: $showuserclan<br />
<b>Level</b>: $showlevel<br />
<b>Alignment</b>: $rpgalign<br />
<b>Race</b>: $rpgrace<br />
<b>Class</b>: $rpgclass2<br />
<br />
HP: $post[uhp]/$post[maxhp] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/bar/bhg.gif" width="$hpbar%" height="9" alt="HP" /></td>
</tr>
</table>
MA: $post[uma]/$post[maxma] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/bar/bxg.gif" width="$mabar%" height="9" alt="MP" /></td>
</tr>
</table>
PP: $post[upp]/$post[maxpp] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/bar/bhb.gif" width="$ppbar%" height="9" alt="PP" /></td>
</tr>
</table>
Limit: $post[uap]%<br />
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/bar/bmb.gif" width="$apbar%" height="9" alt="Limit" /></td>
</tr>
</table>
Exp: $ep% Total: $post[xp]
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td><img src="images/bar/bmg.gif" width="$ep%" height="9" alt="EXP" /><img src="images/bar/bxb.gif" width="1" height="9" alt="EXP" /></td>
</tr>
</table>
$rpgstatus<br />
$inbattle<br />
$post[battles]:$post[wins]-$post[losses]-$post[draws]-$post[retreats]<br />
</td>
</tr>
<tr>
<td class="thead"><b>Stock Items</b></td>
</tr>
<tr>
<td class="alt2">$post[items]</td>
</tr>
<tr>
<td class="thead"><b> $vboptions[rpg_currency]</b></td>
</tr>
<tr>
<td class="alt2"><if condition="$bbuserinfo['usergroupid'] == '6'"><a href="ushop.php?do=a&shortname=admindonate&userid=$post[userid]" target="_blank">$vbphrase[ucs_points]</a><else />$vbphrase[ucs_points]</if>: $points (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)</td>
</tr>
</table>
</div>
<br />
</if>
<if condition="$bbuserinfo[rpgstats] == 1">
<table width="100%" align="right" border="0" cellspacing="1" cellpadding="0">
<tr>
<td></td>
</tr>
<tr>
<td> <b> RPG stats</b></td>
</tr>
<tr>
<td> $rpgclass3 RPG name: $rpname<br />
Clan: $showuserclan<br />
Level: $showlevel<br />
Alignment: $rpgalign<br />
Race: $rpgrace<br />
<br />
HP: $post[uhp]/$post[maxhp] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
<tr>
<td><img src="images/style/bar/bhg.gif" width="$hpbar%" height="9" alt="HP" /></td>
</tr>
</table>
MA: $post[uma]/$post[maxma] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
<tr>
<td><img src="images/style/bar/bxg.gif" width="$mabar%" height="9" alt="MP" /></td>
</tr>
</table>
PP: $post[upp]/$post[maxpp] <br />
<table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
<tr>
<td><img src="images/style/bar/bhb.gif" width="$ppbar%" height="9" alt="PP" /></td>
</tr>
</table>
Limit: $post[uap]%<br />
<table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
<tr>
<td><img src="images/style/bar/bmb.gif" width="$apbar%" height="9" alt="Limit" /></td>
</tr>
</table>
Exp: $ep% Total: $post[xp]
<table width="100" border="1" cellspacing="0" cellpadding="0" style="border-color:#000000">
<tr>
<td><img src="images/style/bar/bmg.gif" width="$ep%" height="9" alt="EXP" /><img src="images/bar/bxb.gif" width="1" height="9" alt="EXP" /></td>
</tr>
</table>
$rpgstatus<br />
$inbattle<br />
$post[battles]:$post[wins]-$post[losses]-$post[draws]-$post[retreats]<br />
</td>
</tr>
<tr>
<td><b> Stock Items</b></td>
</tr>
<tr>
<td> $post[items]</td>
</tr>
<tr>
<td><b> $vboptions[rpg_currency]</b></td>
</tr>
<tr>
<td> <if condition="$bbuserinfo['usergroupid'] == '6'"><a href="ushop.php?do=a&shortname=admindonate&userid=$post[userid]" target="_blank">$vbphrase[ucs_points]</a><else />$vbphrase[ucs_points]</if>: $points (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)</td>
</tr>
</table>
</if>
<!-- END LEFT RPG POSTBIT BAR -->
follow normal instructions, but use this instead, i cant rember 100% what i changed, but it gets the job done.