Front-End Only Users
Email Registration Bug (3 posts)

  1. jayseeCofC
    Posted 1 year ago #

    For some reason the "EWD_FEUP_Sign_Up_Email" option never got set to "Yes" when filling out the Email tab through the Admin Panel. Looking through the plugin php files I don't see update_option("EWD_FEUP_Sign_Up_Email", "Yes"); code anywhere, is there a reason for this omission?


  2. jayseeCofC
    Posted 1 year ago #

    Also the EWD_FEUP_Send_Email function in Prepare_Data_For_Insertion.php script needs some tweeking...

    Currently it replaces the [password] shortcode with the encrypted SHA1 MD5 password (not very helpful to the user). To get around this I passed in the $_POST variable as a 3rd parameter to the function and changed line 94 from:

    $Message_Body = str_replace("[password]", $User_Fields['Password'], $Message_Body);
    $Message_Body = str_replace("[password]", $_POST['User_Password'], $Message_Body);

    I also changed line 137 to:
    $Mail_Success = mail($User_Email, $Email_Subject, $Message_Body, $headers);
    as it should be (currently the first 2 arguments to mail are static...)

  3. Rustaurius
    Plugin Author

    Posted 1 year ago #

    Awesome, thanks! We'll add those changes in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic