PDA

View Full Version : fix for points not showing in postbit (i hope)


mikeylikesitz
10-31-2006, 01:34 AM
after messing around alot i might have a fix for points not showing up in the postbit. It worked for me on a custom skin, so i hope it works for you. I used the "Auto Patch Templates" which is where the error seems to start.


replace in your postbit/postbit_legacy templates
$vbphrase[posts]: $post[posts]
<!-- vbPlaza start -->
<if condition="$show['pointsinpostbit']"><br />
$vbphrase[vbbux_points]: points$post[vbbux_points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&amp;userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<!-- vbPlaza end -->

with

$vbphrase[posts]: $post[posts]
<!-- vbPlaza start -->
<br />
$vbphrase[vbbux_points]: $post[points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&amp;userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
<!-- vbPlaza end -->

I noticed that with the auto edit templates, it adds extra info in there that parses before anything else.
like i said, it may work for you, it is what worked for me, so i thought i would share.

nishant
12-09-2006, 07:39 PM
I am facing the same problem and the solution that you've provided doesnt seem to be working for me. Any other suggestions?