4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: ameenov on May 20, 2005, 11:52:57 AM

Title: (REQ) signup form retype the password and email ?
Post by: ameenov on May 20, 2005, 11:52:57 AM
I want to users when register to retype the password and email
Beacuse sometimes they will miss type them !!
I mean some time they put a wrong email address by mistake ...
I don't want that to happen ...

Any help?
Title: Re: (REQ) signup form retype the password and email ?
Post by: ascanio on May 20, 2005, 04:06:30 PM
ok, in member_editprofile.html there is that option for the email. maybe if u include the code in register_form.html it will work just try this:

In register_form.html

Find:

Code: [Select]
          <tr>
            <td class="row2"><b>{lang_email}</b></td>
            <td class="row2"><input type="text" name="user_email" size="30" class="input" value="{user_email}" /></td>
          </tr>

Replace:

Code: [Select]
          <tr>
            <td class="row1"><b>{lang_email}</b></td>
            <td class="row1"><input type="text" name="user_email"  size="30" value="{user_email}" class="input" /></td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_email_confirm}</b></td>
            <td class="row2"><input type="text" name="user_email2"  size="30" value="{user_email2}" class="input" /></td>
          </tr>

I hope it work
Title: Re: (REQ) signup form retype the password and email ?
Post by: ameenov on May 25, 2005, 09:53:51 AM
Thanks ascanio
I will try it, but I don't think it will work, because i think I have to modify the (register.php)

thanks again and I will get back if it didn't work
Title: Re: (REQ) signup form retype the password and email ?
Post by: ameenov on May 25, 2005, 11:44:33 AM
It is not working  :?
Any help please  :(
Title: Re: (REQ) signup form retype the password and email ?
Post by: ameenov on May 28, 2005, 08:09:11 AM
It is difficult that much or it needs a huge mod?
Just i want to know
Title: Re: (REQ) signup form retype the password and email ?
Post by: Flo2005 on February 27, 2006, 03:07:03 PM
@Ameenov

Yes you are right! You must also edit register.php

find:
Code: [Select]
else {
        $msg .= (($msg != "") ? "<br />" : "").$lang['invalid_email_format'];
        $error = 1;
      }

Add after:
Code: [Select]
      if ($user_email != $user_email2) {
    $msg .= (($msg != "") ? "<br />" : "").$lang['update_email_confirm_error'];
    $error = 1;
  }
  if ($user_email == "" || $user_email2 == "") {
    $msg .= (($msg != "") ? "<br />" : "").$lang['update_email_error'];
    $error = 1;
  }

Try this :wink:
Title: Re: (REQ) signup form retype the password and email ?
Post by: FunnyUser on September 16, 2007, 01:16:40 PM
Hey,

it works perfectly! See: http://www.weltspass.de/register.php (http://www.weltspass.de/register.php)!

Now I don't get these damn emails: "Undelivered Mail Returned to Sender"


THX @ All!