No, I'm not giving up... hehe..
Well... I did some modifications to my register.php and it should work now.
I had to add an extra query to the database to get the user information from the database... I hope you don't mind
In register.php find:
PHP Code:
if ($moderatenewmembers) {
After it, add:
PHP Code:
$userdata = getuserinfo($userid);
In the same file, find:
PHP Code:
$DB_site->query("UPDATE user SET usergroupid=4$dotitle WHERE userid='$u'");
after it, add:
PHP Code:
$userdata = getuserinfo($u);
And now, in error_moderateuser you can use:
$userdata[username] to get the user name
$userdata[email] to get the email
$userdata[field5] to get userfield 5, etc...
Tell me if it works.