Adding users
How do I prevent an email from being sent the the new user when I add them myself?
How do I prevent an email from being sent the the new user when I add them myself?
on the admin_pm/users_registration.php page, find the following code:
<?php
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["UserEmail"]))?$_POST["UserEmail"]:"") ."";include("../webassist/email/WAUE_users_Registration_1.php");
//Send Mail All Entries
if ("users_detail.php?UserID=".(mysql_insert_id()) .""!="") {
header("Location: users_detail.php?UserID=".(mysql_insert_id()) ."");
}
}
?>
and change it to:
<?php
//if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
if("" != "") {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["UserEmail"]))?$_POST["UserEmail"]:"") ."";include("../webassist/email/WAUE_users_Registration_1.php");
//Send Mail All Entries
if ("users_detail.php?UserID=".(mysql_insert_id()) .""!="") {
header("Location: users_detail.php?UserID=".(mysql_insert_id()) ."");
}
}
?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.