Hello,
I made a little module that creates a form, checks the values and adds, if validated, the information in a different database than the one used by Drupal.
In this same module, I'd like to be able to create a user the same way as an *admin* would do through the configuration bar (administer->users->add user). That means: no password sent by email and no admin account validation.
I don't really understand how i could do this.
Can/Do i have to manually add login information directly to the drupals database ? I looked at the database if it was easy understanding values when a user is added but... it saw this for one of the fields:
a:4:{s:6:"notify";i:0;s:6:"submit";s:18:"Create new Account";s:10:"form_token";s:32:"7ef648112c04bc1d3596051811a9264d";s:7:"form_id";s:13:"user_register";}
So i thought i should rather use the drupals specific functions to add the login information ?
And we shouldn't forget that this script/form is launched by a unregistered user...
I did try to create this form from the different values gathered in the first one...
$output .= "\n".'
'."\n";
$output .= ''."\n";