Hello, i use email addresses instead of usernames. So i replaced every accourance of username on site. The exception is the form that is displayed when the users forgot their password->enter their email on form->receive the forgot pass email->follow the link in email and the amember/sendpass/ site opens. On this site the first field is an uneditable "Username" field. How can i change that field so that it displays the "Email".
You have to edit /amember/application/controllers/Sendpasscontroller.php In that file find function createForm and remove this line: $form->addElement('text', 'login', array('disabled'=>'disabled')) ->setLabel(___('Username'));
Change above line to: PHP: $form->addElement('text', 'email', array('disabled'=>'disabled'))->setLabel(___('Email')); Then change this block : PHP: $form->setDataSources(array( new HTML_QuickForm2_DataSource_Array(array( self::SECURITY_VAR=>$this->_request->get(self::SECURITY_VAR), 'login'=>$this->user->login )) )); to PHP: $form->setDataSources(array( new HTML_QuickForm2_DataSource_Array(array( self::SECURITY_VAR=>$this->_request->get(self::SECURITY_VAR), 'email'=>$this->user->email )) ));