user verification through SMS

Discussion in 'Technical Support' started by business, Jul 1, 2009.

Thread Status:
Not open for further replies.
  1. business Customer

    currently, when user registers, verification link is sent to the user email. Now clicking the verification link enables the account.

    My questions is, instead of sending the verification email, is it possible to send a verification code to the user's mobile number (number entered in profile) via email. Separately, a link to verify will be sent to email which will state user to visit the link and enter the code received to mobile phone to activate account.

    if I have access to an SMS gateway, in which file do I make the changes to send the SMS. Also, is there a url where user can visit and enter the verification code?
    thanks
  2. John Snyder Staff

    For upgrading purposes I would advise against editing core files, but the file/lines you are looking for are:
    includes.classes/kernel/Register.php Lines: 222 - 234

    You can use the module system's hook to access successful registration and send a duplicate via SMS:

    PHP:
    $modules->call_hook('user_join'$userDetails); // Call any module functions
    Then in module you'd register this hook and add your code. To learn more about making modules look here: Modules - 68 Classifieds
Thread Status:
Not open for further replies.

Share This Page