Open your ext.members.php and find line:
if ( isset($params['joindate']) && $params['joindate'] ) { $wheresql[] = "m.joindate>".(time()-$params['timeframe']); }
if ( isset($params['birthday']) && $params['birthday'] ) { $datenow = time(); $monthday = date("m"."d", $datenow); $wheresql[] = "d.data_age LIKE '%$monthday'"; }
So simple and so useful modification!
Now just add parameter birthday=1 to your members extension call and you’ll have todays birthdays!
Note: if you have changed ‘age’ label to something else – change it in the above query also. Best practice: pass also new template as parameter value and make a best look and feel of your birthday members. With cakes and baloons!






Comments
DDNY
radioact
,birthday=1,types=1
It should help.
godyn
johnwh
timaria
Thanks
DDNY
boccio
firesgame
Realy working!
Except original birthday in events calendar and cron job (for me).. :(
Pages
1 2Log in to leave a comment