Find this in your adduser.php:
// ---------------------------------------------------------------------<br />// Now if we are manually approving user registration we need to send an<br />// email to all admins<br /> if (($config['userreg']) && (!$config['verify'])) {<br /> $query = "<br /> SELECT U_Email<br /> FROM {$config['tbprefix']}Users<br /> WHERE U_Status = 'Administrator'<br /> ";<br /> $sth = $dbh -> do_query($query);<br /> while(list($adminemail) = $dbh -> fetch_array($sth)) {<br /> if (!$adminemail) {<br /> continue;<br /> }<br /> $newuser = rawurlencode($Loginname);<br /> $to = $adminemail;<br /> $header = $mailer -> headers();<br /> $subject = "{$ubbt_lang['NEWREG']} {$config['title']}";<br /> $msg = "{$ubbt_lang['NEWREGBODY']} {$config['phpurl']}/admin/login.php?file=approveuser.php";<br /> mail("$to","$subject","$msg",$header);<br /> }<br /> }
Replace it with this:
// ---------------------------------------------------------------------<br />// Now if we are manually approving user registration we need to send an<br />// email to all admins<br /> if (($config['userreg']) && (!$config['verify'])) {<br /> $query = "<br /> SELECT U_Email<br /> FROM {$config['tbprefix']}Users<br /> WHERE U_Status = 'Administrator'<br /> ";<br /> $sth = $dbh -> do_query($query);<br /> while(list($adminemail) = $dbh -> fetch_array($sth)) {<br /> if (!$adminemail) {<br /> continue;<br /> }<br /> $newuser = rawurlencode($Loginname);<br /> $to = $adminemail;<br /> $header = $mailer -> headers();<br /> $subject = "{$ubbt_lang['NEWREG']} {$config['title']}";<br /> $msg = "A New User Has Registered: $Loginame \n{$ubbt_lang['NEWREGBODY']} {$config['phpurl']}/admin/login.php?file=approveuser.php";<br /> mail("$to","$subject","$msg",$header);<br /> }<br /> } <br />
You can change the text in the line saying:
$msg = "A New User Has Registered: $Loginame \n{$ubbt_lang['NEWREGBODY']} {$config['phpurl']}/admin/login.php?file=approveuser.php";
You can use $Loginname and $Displayname to fill in the values of the new users.