What I mean is this
If you do not want moderators to get an email you omit this part the second half
if ( ($Loginname) && ($Email) ) {
$query = "
SELECT U_Email
FROM {$config['tbprefix']}Users
WHERE U_Status = 'Moderator'
";
$sth = $dbh -> do_query($query);
while(list($modemail) = $dbh -> fetch_array($sth)) {
if (!$modemail) {
continue;
}
$newuser = rawurlencode($Loginname);
$to = $modemail;
$subject = "{$ubbt_lang['NEWREG']} {$config['title']}";
$msg = "{$ubbt_lang['NEWREG']} {$config['title']}\n\n Username: $Loginname\n\n Email: $Email\n\n IP: $ip\n\n{$config['phpurl']}/ubbthreads.php";
$mailer -> send_mail("","","$to","$subject","$msg");
}
}
Yes you should be able to play with this and try copying it under the mailer in verifyemail.php It would work there as well or should.