We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5584
    • 1 Posts
    Hello, all:
    First my setup: A fresh Modx install on:

    The latest MAMP stack on OSX (ppc)10.4.10
    I made the following changes to ’websignup.inc.php’ in order to get my user registration working:
    http://modxcms.com/forums/index.php/topic,15170.msg98716.html#msg98716

    starting at line 28:
    $username = $modx->db->escape($modx->stripTags($_POST['username']));

    to
    $username = $modx->db->escape($modx->stripTags($_POST['wsu_username']));

    line 30:
    $email = $modx->db->escape($modx->stripTags($_POST['email']));

    to
    $email = $modx->db->escape($modx->stripTags($_POST['wsu_email']));

    line 31:

     $password = $modx->db->escape($modx->stripTags($_POST['password']));

    to
     $password = $modx->db->escape($modx->stripTags($_POST['wsu_password']));

    Then at line 72:
    if ($_POST['password']!=$_POST['confirmpassword']) {

    Change to:
    if ($_POST['wsu_password']!=$_POST['confirmpassword']) {





    But now, it seems that my user confirmation emails aren’t being sent. Any ideas?
      • 31037
      • 358 Posts
      Just a quick guess:

      The confirmation e-mail code looks for input fields named without the wsu_ part.

      But have you checked that your local MAMP is configured correctly for sending e-mails? If not, I would start looking there. smiley