Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you by chance try to edit the php code through the admin panel plugins->editor? In wordpress if there’s a php error in a file, it won’t be able to load your site. The only solution is to ftp in to the server and fix the line of code the error message is displaying (line 37 of Insert_Register_Form.php in your case).

    I ask if you edited the file because I’m using this plugin and haven’t had any problems with the register shortcode. Line 37 deals with parsing the attributes passed in when calling the shortcode (ie getting redirect_page from [register redirect_page=”somepage.com”]). Hope this info helps!

    Thread Starter jayseeCofC

    (@jayseecofc)

    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);
    to
    $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…)

Viewing 2 replies - 1 through 2 (of 2 total)