TRForumcu.NeT (Arşiv Ana sayfa) => SMF

Konu: Kayıt esnasında E-posta adresini iki defa sormak

Sayfa: [ 1 ]

Gondolin 28.05.2008 17:57:04

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codedivider in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codedivider in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codedivider in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codeselectall in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 30

Notice: Undefined index: codedivider in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31

Notice: Undefined index: codecopytoclipboard in /home/trforum/public_html/forum/Sources/Subs.php(1222) : runtime-created function on line 31
Üye olmaya hazırlanan bir kişinin E-Posta adresinizi yanlış girmediğinden emin olmak için kullanılabilir.

Register.tempalte.php'de..

Bulun:
Kod:  
// Are they allowed to hide their email?
if ($context['allow_hide_email'])
echo '
<input type="checkbox" name="hideEmail" class="check" id="hideEmail" /> <label for="hideEmail">', $txt[721], '</label>';

echo '
</td>
</tr><tr>

Sonrasına ekleyin:
Kod:  
<td width="40%">
<b>', $txt[69], '\'yı tekrarlayın:</b>
<div class="smalltext">E-Posta adresinizi yanlış girmediğinizden emin olmak için..</div>
</td>
<td>
<input type="text" name="email2" size="30" tabindex="', $context['tabindex']++, '" />
</td>
</tr><tr>

Bulun:
Kod:  
if (document.forms.creator.passwrd1.value != document.forms.creator.passwrd2.value)
{
alert("', $txt['register_passwords_differ_js'], '");
return false;
}';

Değiştirin:
Kod:  
if (document.forms.creator.passwrd1.value != document.forms.creator.passwrd2.value && document.forms.creator.email.value != document.forms.creator.email2.value)
{
alert("Girmiş olduğunuz E-Posta adresleri aynı değil!. Girmiş olduğunuz şifreler aynı değil!. Lütfen kontrol ediniz ve tekrar deneyiniz.");
return false;
}

if (document.forms.creator.passwrd1.value != document.forms.creator.passwrd2.value)
{
alert("', $txt['register_passwords_differ_js'], '");
return false;
}


if (document.forms.creator.email.value != document.forms.creator.email2.value)
{
alert("Girmiş olduğunuz E-Posta adresleri aynı değil!. Lütfen kontrol ediniz ve tekrar deneyiniz.");
return false;
}';


Linklerin Görülmesine İzin Verilmiyor
Linki Görebilmek İçin Üye Ol veya Giriş Yap
Hoochie Coochie Man™
'a teşekkürler.


Sayfa: [ 1 ]