Toplam 1 adet sonuctan sayfa basi 1 ile 1 arasi kadar sonuc gösteriliyor
Konu: Profile yaş ekleme
-
03.Ağustos.2014, 11:26 #1Super Moderator
- Üyelik tarihi
- 05.Ekim.2013
- Mesajlar
- 334
Profile yaş ekleme
Load.php
Bul:
Kod:
);
}
}
return true;
}
Değiştir:
Kod:
);
}
}
// ===== Begin modification - Display Age and Location next to posts =====
if (!empty($profile['birthdate']) && $profile['birthdate'] !== '0001-01-01')
{
list ($birth_year, $birth_month, $birth_day) = sscanf($profile['birthdate'], '%d-%d-%d');
$datearray = getdate(forum_time());
$memberContext[$user] += array(
'age' => $birth_year $birth_month || ($datearray['mon'] == $birth_month && $datearray['mday'] >= $birth_day)) ? 0 : 1)
);
}
// ===== End modification =====
return true;
}
Display.template.php
Bul:
Kod:
// Show their personal text?
Üstüne ekle:
Kod:
// Show the member's age
if (isset($message['member']['age']))
echo '
', $txt['age'], ': ', $message['member']['age'], '';
index.turkish.php
Bul:
Kod:
?>
Üstüne ekle:
Kod:
$txt['age'] = 'Yaş';
index.english.php
Bul:
Kod:
?>
Üstüne ekle:
Kod:
$txt['age'] = 'Age';
Orjinal konu: Profile yaş ekleme
Kaynak: Profile yaş ekleme
Konu Bilgileri
Bu Konuya Gözatan Kullanıcılar
Şu anda 1 kullanıcı bu konuyu görüntülüyor. (0 kayıtlı ve 1 misafir)
Benzer Konular
-
Profile Reporter
Konu Sahibi vBulletin.Org Forum vBulletin 4.x Official ModsCevap: 0Son Mesaj : 27.Eylül.2015, 02:26 -
Tab menü ekleme
Konu Sahibi bolubeyi Forum SMF EklentileriCevap: 0Son Mesaj : 03.Ağustos.2014, 11:26 -
MYBB Title Ekleme
Konu Sahibi deniz Forum MyBBCevap: 0Son Mesaj : 27.Mayıs.2014, 15:00 -
Tab menü ekleme
Konu Sahibi bolubeyi Forum SMF EklentileriCevap: 1Son Mesaj : 06.Mayıs.2014, 08:36 -
Profile yaş ekleme
Konu Sahibi bolubeyi Forum SMF EklentileriCevap: 0Son Mesaj : 23.Nisan.2014, 23:00
Shopsocks5 - Service Socks5 Cheap...
Bugün, 14:35 in Güvenlik