Author Topic: (REQ) signup form retype the password and email ?  (Read 10525 times)

0 Members and 1 Guest are viewing this topic.

Offline ameenov

  • Newbie
  • *
  • Posts: 41
    • View Profile
(REQ) signup form retype the password and email ?
« 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?

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: (REQ) signup form retype the password and email ?
« Reply #1 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

Offline ameenov

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: (REQ) signup form retype the password and email ?
« Reply #2 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

Offline ameenov

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: (REQ) signup form retype the password and email ?
« Reply #3 on: May 25, 2005, 11:44:33 AM »
It is not working  :?
Any help please  :(

Offline ameenov

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: (REQ) signup form retype the password and email ?
« Reply #4 on: May 28, 2005, 08:09:11 AM »
It is difficult that much or it needs a huge mod?
Just i want to know

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: (REQ) signup form retype the password and email ?
« Reply #5 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:

Project offline

Offline FunnyUser

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: (REQ) signup form retype the password and email ?
« Reply #6 on: September 16, 2007, 01:16:40 PM »
Hey,

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

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


THX @ All!