do same in newthread.php and newreply.php
find:
PHP Code:
// update user stuff
$dotitle="";
if ($bbuserinfo[userid]!=0)
and below that put
PHP Code:
// START Update GOLD
$userpointstr = $DB_site->query_first("SELECT field5 FROM userfield WHERE userid='$bbuserinfo[userid]'");
$pointstr = $userpointstr[field5];
$gold = $pointstr + 4;
$DB_site->query("UPDATE userfield SET field5='$gold' WHERE userid='$bbuserinfo[userid]'");
// END Update GOLD
REMEMBER TO CHANGE "field5" to the freld of your points