Quote:
Originally Posted by Black Tiger
@Darkwaltz4: On your forums I asked you for the code for displaying the amount of savings in the postbit_legacy template same as credits are displayed and how to do this.
You had answered to that thread, and I marked it, but because forums is down I can't find it and I had reverted my postbit template in which it was hardcoded, I seemd to forget to put it in the TMS system.
Can you provide me again with the code how to display this and implement it?
|
basically, in postbit/_legacy find
PHP Code:
<if condition="$show['credits_post']">
<div>
$vbphrase[credits]: <span id="cdt_$post[postid]_$post[userid]">$post[credits]</span> <if condition="$show['credits_donate']">[<a href="credits.php?$session[sessionurl]do=manage&u=$post[userid]#donate">$vbphrase[donate]</a>]</if> <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</if>
add below
PHP Code:
<if condition="$show['credits_post']">
<div>
$vbphrase[credits_savings]: $post[credits_saved] <if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&u=$post[userid]">$vbphrase[check]</a>]</if>
</div>
</if>
you may even want to remove the
PHP Code:
<if condition="$show['credits_check']">[<a href="credits.php?$session[sessionurl]do=banking&u=$post[userid]">$vbphrase[check]</a>]</if>
from the FIND block before adding below it (to spread out where the links end up appearing)
Quote:
Originally Posted by GamerGirl27
Ok, thanks I will do that now. And I should probably mention I posted this in the 3.7 thread by accident, our board is 3.6.9 lol! Sorry about that  Shouldn't affect the issue though, I don't think.
|
thats alright, just try not to get mixed up over which version you try to upgrade with