Check out register.php starting at this line:
PHP Code:
// ############################### start add member ###############################
if ($_POST['do'] == 'addmember')
{
Also, vB passwords are now hashed as so:
PHP Code:
$salt = fetch_user_salt(3);
$hashedpassword = md5(md5($_POST['password']) . $salt);
fetch_user_salt(); is defined in /includes/functions_user.php, heres the code from that file:
PHP Code:
// ###################### Start makesalt #######################
// generates a totally random string of $length chars
function fetch_user_salt($length = 3)
{
$salt = '';
for ($i = 0; $i < $length; $i++)
{
$salt .= chr(rand(32, 126));
}
return $salt;
}