After reviewing the register.php file, I think I can better explain what I need here. I do NOT want user to register at forum2. Instead, I require them to login the forum2 with forum1 username and password. Then, if the user doesn't exist in forum2 (meaning this is their first time login forum2), the login script will check the forum1 user data. If the user is valid in forum1, all the required user fields for registration from forum1 will be copied to forum2.
The user may change their profile including email and password in forum2, but the username remain the same in both forum1 and forum2. So a user's identity will be the same.
Can this be done? Or is there any better way to do it? Thank you!
|