Hi Andreas,
I've knocked something together this morning that should work. Take a look at the attached zip.
It's designed to run as a cronjob each Sunday, it'll then look for birthdays that occur in the next 7 days and send e-mails based on that.
I've run a few tests here on my local test board, and it appears to work as designed, but it could do with some cleaning up if it's going to be used on a big big big forum, and it may well have a bug or 2 that I haven't noticed
(Note to anyone else who might download this zip: This isn't an official hack release, so I won't be extending / supporting it - use at your own risk)
Edit: Forgot to add the template edit
Edit the
modifyoptions template and add:
Code:
<!-- Buddy Birthday Reminders -->
<fieldset class="fieldset">
<legend><labal for="sel_buddybirthdays">$vbphrase[buddy_list_birthday_reminders]</label></legend>
<table callpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[buddy_list_birthday_reminders_desc]</td>
</tr>
<tr>
<td>
<div><label for="cb_buddybirthdays"><input type="checkbox" name="buddybirthdays" value="1" id="cb_buddybirthdays" $checked[buddybirthdays] />$vbphrase[remind_me_of_my_buddies_birthdays]</label></div>
</td>
</tr>
</table>
</fieldset>
<!-- / Buddy Birthday Reminders -->
Where ever you want it to appear.
Thanks,
Alan.