PDA


View Full Version : Birthday Code


Chuckuk
05-27-2005, 08:27 AM
I have removed the Birthdays from the stats section and made a new module for this. It works fine when there is a birthday but when there are no birthdays i get a blank area. I notice on this site you get a none entry, what does the code for that look like please.

Thanks

Brian
05-27-2005, 12:34 PM
$home["$mods[modid]"]['content'] = iif($birthdays, str_replace(array('member.php', ','), array($vboptions['bburl'] . '/member.php', '<br />'), $birthdays), $vbphrase['none']);

Chuckuk
06-14-2005, 01:15 PM
Thanks Brian, but this doesn't seem to work.

I copied the code into the php file and it still doesn't place none into the birthday area if there are no birthdays today.