register.php
----------------------
ara:
[code]if ($reg_image == 1) {
$result = $db->query_first("SELECT key_string FROM bb".$n."_register_keys WHERE key_number = " . $key_number);
if (!$result['key_string'] || $result['key_string'] != strtoupper($key_string)) $error .= $lang->items['LANG_REGISTER_ERROR7'];
}[/code]

----------------------
altina ekle:

[code]if ($r_month == "" || $r_day == "" || $r_year == "") $error .="

  • Sie müssen Ihr Geburtsdatum angeben.
  • ";
    if (!$r_gender) $error .="
  • Cinsiyetinizi belirtmelisiniz.
  • ";[/code]



    register.tpl
    ---------------------

    burayi bul ve kes:

    [code]
    {$lang->items['LANG_REGISTER_BIRTHDAY']}











    {$lang->items['LANG_REGISTER_BIRTHDAY_DAY']} {$lang->items['LANG_REGISTER_BIRTHDAY_MONTH']} {$lang->items['LANG_REGISTER_BIRTHDAY_YEAR']}



    {$lang->items['LANG_REGISTER_GENDER']}

    [/code]

    ---------------------------------------

    yukarda kestigimizi bunun altina ekliyoruz:

    [code]
    {$lang->items['LANG_REGISTER_EMAILADDRESS']}

    [/code]


    usercp.php
    ---------------------

    ara:

    [code]/** verify input, build error messages **/
    if ($userfield_error == 1) $error .= $lang->items['LANG_POSTINGS_ERROR1'];
    if (wbb_strlen($r_usertext) > $wbbuserdata['max_usertext_length']) $error .= $lang->items['LANG_REGISTER_ERROR6'];[/code]

    ---------------------------------------

    altina ekle:

    [code]if ($r_month == "" || $r_day == "" || $r_year == "") $error .="
  • Sie müssen Ihr Geburtsdatum angeben.
  • ";
    if (!$r_gender) $error .="
  • Cinsiyetinizi belirtmelisiniz.
  • ";[/code]

    Beğeniler: 0
    Favoriler: 0
    İzlenmeler: 799
    favori
    like
    share