Untested:

/scripts/adduser.inc.php

just behind:

Code
$smarty_data = array();

and those 2 lines of configcode looks to me like it has to be:

Code
	$XUSER = $Loginname;
	$XMAIL = $Email;

The adduser script it the script that gets called when a user hits the submit button on a registration.

If it works, let us know. If not, also let us know and I'll dig in deeper.

Last edited by Yarp™; 12/05/2009 7:36 PM.

[Linked Image from siemons.org]