Sources/Load.php'de
BuL



Kod:
'time_offset' => empty($user_settings['timeOffset']) ? 0 : $user_settings['timeOffset'],
Sonrasına ekle:

Kod:
'birthdate' => empty($user_settings['birthdate']) ? 0 : $user_settings['birthdate'],
Sources/MessageIndex.php'de
Bul:


Kod:
if (WIRELESS)
$context['sub_template'] = WIRELESS_PROTOCOL . '_messageindex';
else
loadTemplate('MessageIndex');
Sonrasına ekle:

Kod:
//Bölüme yaş sınırı eklemek - Türkçe çeviri Hoochie Coochie Man
    if ($board == '2') // 2 yerine yasaklamak istediğiniz bölümün ID numarısını giriniz.
    {
        if (!empty($user_info['birthdate']))
{
            if ($user_info['birthdate'] != '1990-01-01')
            {
list ($birth_year, $birth_month, $birth_day) = sscanf($user_info['birthdate'], '%d-%d-%d');
$datearray = getdate(forum_time());
$user_info += array(
'age' => empty($birth_year) ? $txt[470] : $datearray['year'] - $birth_year - (($datearray['mon'] > $birth_month || ($datearray['mon'] == $birth_month && $datearray['mday'] >= $birth_day)) ? 0 : 1),
                'today_is_birthday' => $datearray['mon'] == $birth_month && $datearray['mday'] == $birth_day
);
            }
            else
            {
                $user_info['age'] = '0';
            }
}
 
        if ((@$user_info['age'] < '18') && (!$user_info['is_admin']))
            fatal_error('Üzgünüm, bu bölüme girmeniz için 18 yaşın altında olmanız gerekmektedir.', false);
    }