Ah...
I've never used approval. Does it just tell you there's stuff to approve?
OK - we can go further.
Again... I didn't test.... so let me know:
code:
In adduser.php
#
# Find this:
#
// -------------------------------------
// Now we need to mail them the password
if ( ($Username) && ($Email) ) {
$to = $Email;
$header = $mailer -> headers();
$subject = "{$ubbt_lang['PASS_SUB']} {$config['title']}";
$msg = "{$ubbt_lang['PASS_BODY1']} '$ip' ....edited for length
if ($config['userreg']) {
$msg .= $ubbt_lang['NEEDAPPROVAL'];
}
mail("$to","$subject","$msg",$header);
}
#
# BELOW it, add this:
#
// -------------------------------------
// Let's send the info to the admin - JoshPet
if ( ($Username) && ($Email) ) {
// Set this to the email you want the alert to go to
$adminalertemail = "[email protected]";
$alertheader = $mailer -> headers();
$alertsubject = "A New User Has Registered: $Username";
$alertmsg .= "You have a new user at your board.\n\n";
$alertmsg .= "Username: $Username \n";
$alertmsg .= "Email: $Email \n";
mail("$adminalertemail","$alertsubject","$alertmsg",$alertheader);
}
Hope that helps!

PS = You have to insert the email address that you want the notices sent to. Wasn't sure if you wanted to use the email in the config file or not.... or a different one.