I don't think I know how to help you, Nume, but I have a question relating to this. I hope somebody will be able to help me (and perhaps Nume as well) out.
I want to know what are the parameters for insertUser. An example from the AWBS LoginShare module:
PHP Code:
$userid = insertUser(true, $_user["email"], $regpassword, $_SWIFT["tgroup"]["regusergroupid"], LOGINAPI_AWBS, $_user["id"], $_user["fname"]." ".$_user["lname"], $_SWIFT["tgroup"]["languageid"], 0, false, 1, true, true);
I have altered this code for our own LoginShare module with our database and want to add an additional field. I can't find any documentation for this method anywhere online. I see where the data goes into the database under "swusers" but don't know what the ambiguous "true"s and numbers mean.
Cheers,
... Mike.