The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Buddy Birthday Reminder
A Useroption "Notify me when a Buddy has a birthday"
A cronjob checking for others that have a birthday in X days and that do allow to display their DOB. If there are results, check which users do have them on their buddylist and have the above option enabled. Process this data and send an eMail Quote:
user1 will become age1 on date1 user2 will become age2 on date2 NE1 willing to code that? |
#2
|
|||
|
|||
Sure Kirby, in the midst of some stuff now, but when finished, not a problem.
|
#3
|
||||
|
||||
*bump di bump*
NE1? I am too lazy |
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
*slaps bob*
It would take a bit more than 30 seconds. |
#6
|
||||
|
||||
* Ouch! *
I'm sure it wouldn't take a lot more time for the vB Dev of the year. |
#7
|
|||
|
|||
31 seconds...
btw, didn't forget, still on my other mod in free time |
#8
|
|||
|
|||
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 --> Thanks, Alan. |
#9
|
|||
|
|||
Thanks Alan for stepping in, was starting
to feel bad here not yet getting to this. Glad you were able to get it done. |
#10
|
|||
|
|||
*subscribed*
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|