Twitter-like Registration with DX Auth |
[eluser]xzela[/eluser]
Actually, I've done something very similar to what you've described. I didn't use the Auth library you supplied but my method should work nearly the same way. I created a Callback using the form validation library. however, i didn't call it via a typical post request. I called it with a jQuery ajax.post request. If the call back found a match for that username, it would respond with a message. See jQuery post documentation here: http://docs.jquery.com/Post Registration controller: Code: $this->load->library('form_validation'); callback function Code: function CB_testUserName($str) { registration model Code: function testUsername($name) { that should do it. |
Messages In This Thread |
Twitter-like Registration with DX Auth - by El Forum - 07-26-2009, 07:49 PM
Twitter-like Registration with DX Auth - by El Forum - 07-27-2009, 05:04 PM
Twitter-like Registration with DX Auth - by El Forum - 07-27-2009, 06:36 PM
Twitter-like Registration with DX Auth - by El Forum - 08-10-2009, 02:35 PM
Twitter-like Registration with DX Auth - by El Forum - 08-10-2009, 07:22 PM
Twitter-like Registration with DX Auth - by El Forum - 08-12-2009, 05:15 AM
Twitter-like Registration with DX Auth - by El Forum - 08-12-2009, 06:18 AM
|