View Full Version : Recent & Upcoming Birthdays on Forum Home
A feature adding upcoming birthdays to forum home as we already have for events.
Even better would be have to both recent and upcoming birthdays.
Thanks.
MotoUp
08-09-2006, 07:51 PM
I would love that as well!
edytwinky
09-03-2007, 05:28 PM
Add me to the list if it hasn'tbeen made yet!
DragonMasterNYC
10-24-2007, 03:41 PM
I like it
Just say when and I'll click install.
bigcurt
10-24-2007, 06:24 PM
Same here probably
Now I just need someone to code this.
--------------- Added 1193401835 at 1193401835 ---------------
Found this:
$month = date("m");
$find = $db->query_read("SELECT userid,username,birthday FROM " . TABLE_PREFIX . "user WHERE birthday LIKE '$month-%'");
while ($user = $db->fetch_array($find))
{
$userid = $user['userid'];
$username = $user['username'];
$birthday = $user['birthday'];
$birthday = explode("-", $birthday);
$birthmonth = $birthday[0];
if ($birthmonth = $month)
{
echo "<a href='member.php?u=$userid'>$username</a>, ";
}
}
But how to use it ?
Looks like SMF forums has it as a standard feature !?
http://www.simplemachines.org/community
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.