Well, I'm not sure. I played around for a while but couldn't get it working.
Anyway, here is an addition to the automatic points for posting:
PHP Code:
$newpts=$bbuserinfo[posts]/10 ;
$newpts= round($newpts) ;
$newpts=$newpts+X ;
$DB_site->query("UPDATE userfield SET
fieldX=fieldX+$newpts WHERE userid='$bbuserinfo[userid]'");
This will make it so the user will get 1 point if he/she has 10 posts, 10 for 100, etc. If you already have the auto-point added, just replace it with this and change the proper X's.
If not, find this in newreply.php and newthread.php:
PHP Code:
$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");
}
And place my code underneath that.