sorry folks, just got around to playing around with the script and it works pretty much as-is with vb 3.6.4 but I noticed a few things...
1. upload points.php to your /forum/ folder for now... I need to add a cd/ before calling global.php at the top line. Not sure how I missed that earlier. =p
2. when you update the postbit template, be sure to update the patch to points.php. If you installed this to your /forum folder, then you can use this.
HTML Code:
<!-- begin points mod -->
<if condition="is_member_of($bbuserinfo, 5, 6, 7)">
<div>
<!-- </form> -->
<!--gets around an error -->
<form action="./points.php" method="post" name="gilform">
<input type="hidden" name="postid" value="$post[postid]">
<input type="hidden" name="userid" value="$post[userid]">
<input type="text" name="amount" size="3">
<input type="image" src="images/coin.gif" border="0" name="submit" alt="Give Points" onClick="javascript:alert('Points Paid!');">
</form>
<br />
<br />
</div>
<div class="smallfont">
Post Points: $post[pointspd]
</div>
</if>
<!-- / end points mod -->