Hi there,
I'm trying to modify the user registration process. The site I have set up, is a kind of fan-site for a game called Tibia. On the game there are many different servers or worlds. I want to restrict registration to players of one particular server only.
I have set it up so when people register they enter their character name from the game into the "realname" field. I want to use the value they enter, to check on the game's website to see if that character belongs to the correct game world. I have all the code to be able to check this, however, I have no idea how I can add my code into the registration module and stop unauthorised people registering.
For added security, and to prove that a user is the character they specify, I would also like to add an extra field for a verification code, the code should be auto generated random string and displayed to the user while they are registering. They must then go to their character profile on the game's website and add this code to their profile, I want to then check that it is there before allowing the user to register.
Any pointers would be great, I shouldn't need much hand holding, I'm just fairly new to MVC so trying to find where my code will go seems to be a problem.
Kind regards,
Mitchell Ransom
In Summary:
Display a random string or hash value on user registration page.
Add a "Verify" button.
Check the character's profile on an external website for 2 values.
If both checks are passed, continue with registration.