$result = dbquery("INSERT INTO ".DB_USERS." (user_name, user_password, user_admin_password, user_email, user_hide_email, user_avatar, user_posts, user_threads, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status".$db_fields.") VALUES('".$user_info['user_name']."', '".$user_info['user_password']."', '', '".$user_info['user_email']."', '".$user_info['user_hide_email']."', '', '0', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$user_status'".$db_values.")");
Add after:
//START UG3 - send welcome pm and pay initial gold to the user
$newuserid = mysql_insert_id();//get the new id
sendwelcomepm($newuserid);
//END UG3 - send welcome pm and pay initial gold to the user
Find:
$result = dbquery("INSERT INTO ".DB_USERS." (user_name, user_password, user_admin_password, user_email, user_hide_email, user_avatar, user_posts, user_threads, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status".$db_fields.") VALUES('$username', '".md5(md5($password1))."', '', '".$email."', '$user_hide_email', '', '0', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$user_status'".$db_values.")");
Add after:
//START UG3 - send welcome pm and pay initial gold to the user
$newuserid = mysql_insert_id();//get the new id
sendwelcomepm($newuserid);
//END UG3 - send welcome pm and pay initial gold to the user
Registration failed for the following reason(s):
Incorrect validation code.
Please Try Again.
Category Forum
Modifications and Requests - 8Labels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions