If your server has issues with sending Confirmation Email for the User Activation upon registration, then you can try this little trick.
OK open your modules/Your_Account/index.php
IN that file is the
function finishNewUser area.
Find it.
OK now under that whole section is this part.
|
Code:
|
$message = ""._WELCOMETO." $sitename!\n\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\n\n "._TOFINISHUSER."\n\n $finishlink\n\n "._FOLLOWINGMEM."\n\n"._UNICKNAME." $username\n"._UPASSWORD." $user_password";
$subject = ""._ACTIVATIONSUB."";
$from = "$adminmail";
mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
title("$sitename: "._USERREGLOGIN."");
OpenTable();
echo "<center>"._ACCOUNTCREATED."
";
echo ""._YOUAREREGISTERED.""
."
"
.""._FINISHUSERCONF."
"
.""._THANKSUSER." $sitename!</center>";
CloseTable();
} |
ok replace it with this.
|
Code:
|
$message = ""._WELCOMETO." $sitename!\n\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\n\n "._TOFINISHUSER."\n\n $finishlink\n\n "._FOLLOWINGMEM."\n\n"._UNICKNAME." $username\n"._UPASSWORD." $user_password";
$subject = ""._ACTIVATIONSUB."";
$from = "$adminmail";
mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
title("$sitename: "._USERREGLOGIN."");
OpenTable();
echo "<center>"._ACCOUNTCREATED."
";
echo ""._YOUAREREGISTERED.""
."
Click this link to activate your account
<a href=$finishlink>$finishlink</a>
"
.""._THANKSUSER." $sitename!</center>";
CloseTable();
} |
that will display the Activation link for your users when they register on the last page of the Registration process..
NOW you might want to change the Language file for Your Account module for this definition.
|
Quote:
|
|
Note: You will receive a confirmation email with a link to a page you should visit to activate your account in the next 24 hours.
|
or you can remove JUST THIS part from the index.php file
|
Code:
|
"._NOTE." "._YOUWILLRECEIVE." |
BACKUP your index.php file before even touching it