Log in

View Full Version : Recent & Upcoming Birthdays on Forum Home


wii
08-09-2006, 07:39 PM
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!

wii
10-24-2007, 01:50 PM
This is my idea:

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

wii
10-25-2007, 11:35 AM
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>,&nbsp;";
}

}


But how to use it ?

wii
11-16-2007, 12:18 PM
Looks like SMF forums has it as a standard feature !?

http://www.simplemachines.org/community