If you want to update the post count of the user you have configured the welcome to come from, just add this code:
PHP Code:
$DB_site->query("UPDATE user SET posts=posts+1+WHERE+userid=XX");
Change the XX to match the userid of the user you have configured. This code gets added just above the tail end of the hack:
PHP Code:
}
//END Hack to Post userinfo to a forum
Great hack! I have been personally welcoming new users manually...not it will be done automatically for me, invisibly to them. Sweet!