PDA

View Full Version : Money in postbit?


Sleepyk
03-27-2005, 10:41 PM
i know its little edit, but how i add money into peoples postbit?

pimpery
03-27-2005, 10:43 PM
i know its little edit, but how i add money into peoples postbit?
In both the users profile and in the postbit are the ucash's amount they have IF you installed the template mods correctly.


Replace THIS in the postbit templates
$vbphrase[posts]: $post[posts]

with
$vbphrase[posts]: $post[posts] | <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>)

Sleepyk
03-27-2005, 10:49 PM
only in profile

pimpery
03-27-2005, 11:12 PM
only in profile
Then that would mean that you forgot or were unable to do this template mod.


Find and replace this in your MEMBERINFO Template
$vbphrase[referrals]: <strong>$referrals</strong>

With
$vbphrase[referrals]: <strong>$referrals</strong><br />
<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>: <strong>$points</strong> (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)
</div>
</div>
<else />
<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
<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>: <strong>$points</strong> (<a href="ushop.php?do=a&shortname=donate&userid=$post[userid]" target="_blank">Donate</a>)