Edit: this is working on my site i have reuploaded the files with the changes this is for the new Bcrypt password mod wont work on older TT versions and email encrypt isnt added as i dont have it installed so cannot add it to this mod if someone has it feel free to play with code and post your findings
please bare in mind still need to add checks like if site email confirm etc :do not add mods[u] in progress to live sites [/u]
in account-login.php find
Replace with
account-confirm.php find
Under add
Still in account confirm find
Replace with
Open Languages/english.php and add before the last ?>
Add attached file to root website folder
please bare in mind still need to add checks like if site email confirm etc :do not add mods[u] in progress to live sites [/u]
in account-login.php find
<a href="account-signup.php"><?php echo T_("SIGNUP"); ?></a> | <a href="account-recover.php"><?php echo T_("RECOVER_ACCOUNT"); ?></a>Replace with
<a href="account-signup.php"><?php echo T_("SIGNUP"); ?></a> | <a href="account-recover.php"><?php echo T_("RECOVER_ACCOUNT"); ?></a> | <a href="emailresend.php"><?php echo T_("ACTIVE_RESEND"); ?></a> account-confirm.php find
if ($type =="noconf"){//email conf is disabled?
stdhead(T_("ACCOUNT_ALREADY_CONFIRMED"));
begin_frame(T_("PLEASE_NOW_LOGIN"));
print(T_("PLEASE_NOW_LOGIN_REST"));
end_frame();
stdfoot();
die();
}Under add
if ($type == "resend" && validemail($email)) {
stdhead(T_("ACTIVATE_RESEND"));
begin_frame(T_("EMAIL_RESEND_SUCCESS"));
if (!$site_config["ACONFIRM"]) {
print(T_("EMAIL_RESEND_SUCCESS"). " (" . htmlspecialchars($email) . "). " .T_("ACCOUNT_CONFIRM_SENT_TO_ADDY_REST"). " <br/ >");
}
}Still in account confirm find
if (!mysqli_affected_rows())Replace with
if (!mysqli_affected_rows($GLOBALS["DBconnector"]))Open Languages/english.php and add before the last ?>
//EMAIL RESEND
$LANG["EMAIL_RESEND_SUCCESS"] = "<br/><br/>Activation link resent You will need to read and respond to this email before you can use your account.<br/>If you don't do this, the new account will be deleted automatically after a few days.";
$LANG["ACTIVATE_RESEND"] = "Email activation resend";
$LANG["EMAIL_RESEND_SUCCESS"] = "Activation link sent successfully!";
$LANG["EMAIL_RESEND"] = "PLease Enter You're Email Address";
$LANG["EMAIL_ACTIVE_RE"] = "Resend Actavation Email";
$LANG["ACTIVE_RESEND"] = "Activation Resend";
$LANG["CORRECT_EMAIL_ADD"] = "<b>Please use the <Font color = 'red'>EMAIL</font> you created your account with!<br />";
/////END///////////////
Add attached file to root website folder

