Version: 1.00, by ChurchMedia
Developer Last Online: Jun 2013
Version: 3.0.3
Rating:
Released: 03-17-2004
Last Update: Never
Installs: 115
No support by the author.
This hack is inspired by the Birthday Hack for vB2 by Logician. It will automatically create a Happy Birthday thread in a specified forum, listing the people with birthdays for that day. Then other members can post their happy birthday wishes in the thread.
I had the original hack installed on my VB2 board and when I upgraded to VB3 my members missed it. Luckily, it's really easy to implement.
--------------------------------------
Files to modify: /includes/cron/birthday.php
--------------------------------------
Instructions are in the attached text file. The mod should take about 5 minutes.
Be sure to change the variables that say // CHANGE ME
You can customize the message in the $birthday_greeting_thread variable. You could also ad IMG tags with an image of some kind, like in my screenshot.
Note that you MUST turn on BB CODE in you birthday forum in order for this to work properly.
--------------------------------------
Enjoy (and thanks for the inspiration, Logician!)
--------------------------------------
New in Version 2.0:
Bug fixes:
> More accurate age calculation. Sometimes it was a year off.
> The correct thread shows up in the last thread post on the forum home page.
> HTML is not required to be turned on in the birthday forum.
> Most of the code is completely rewritten to vB3 standards.
New features:
> Improved look
> Birthday line now says: (User) was born on (date), (AGE: xx)
> If the year is not given, it says "Not telling! " for age.
> The admin is emailed a list of the birthdays with links to their profiles and a link to the happy birthday thread.
> If you use the uShop/uCash hack, you can give birthday points to the users
Upgrading:
Since the code has changed so drastically, I suggest starting with a fresh copy of birthday.php and following the instructions for a new install.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I did a test install of this hack today on a vB 3.0.7 board, and it runs perfect without any modifications. Please double check your edits.
What version of vB are you using?
PS I suggest the instructions of step 5 tp be changed from "Add below" to "Add Above". With the origianl instructions the mail will only be send if the cronjob is set to be logged. This don't make much sense to me.
Actually i released that all of those 3 require_once lines are really unneeded. The hack will function the same if they are removed.
Leaving them in place where they are now could even be a (minor) security risk. If they would stay in this hack, i suggest you move them below the following line:
I've had this hack installed and running fine for the past few days without any issues, until today. It just so happens that no one has a birthday today, but I still received an email like this:
How can I add a small animated birthday banner below "user birthday(i'm not telling ) in the birthday threads
I uploaded banner into my forum/images/banners file