make sure to back all files that you have. this will send a pm to the admin of the board on a new registration. if you want it to go to a different person, it will look different, if anyone wants that just post so and i will show how it can be done. in two seconds i will have an email the admin version, i personally like the pm. open up adduser.php and find the line that says:
// ------------------------------------- // Now we need to mail them the password
and above that add:
// Now pm the admin about a new user $subject3 = "New user has Subscribed!"; $body = "A new user by the name of $Username_q has registered on your forums."; $subject3_q = addslashes($subject3); $body_q = addslashes($body); $query = " INSERT INTO w3t_Messages (M_Username,M_Status,M_Subject,M_Sender,M_Message,M_Sent) VALUES ('$Sender_q','$Messstat_q','$subject3_q','$Sender_q','$body_q','$date') "; $dbh -> do_query($query);
so it looks like this:
// Now pm the admin about a new user $subject3 = "New user has Subscribed!"; $body = "A new user by the name of $Username_q has registered on your forums."; $subject3_q = addslashes($subject3); $body_q = addslashes($body); $query = " INSERT INTO w3t_Messages (M_Username,M_Status,M_Subject,M_Sender,M_Message,M_Sent) VALUES ('$Sender_q','$Messstat_q','$subject3_q','$Sender_q','$body_q','$date') "; $dbh -> do_query($query); // ------------------------------------- // Now we need to mail them the password
i also uploaded the text file, for who knows sake.
[:red]--------------
http://extremeforums.org