Version: 1.00, by Logician
Developer Last Online: Nov 2023
Version: 2.2.x
Rating:
Released: 06-09-2002
Last Update: Never
Installs: 205
No support by the author.
This hack will automatically greet the birthdays of your board members by sending them:
Private Messages
Emails
Both
or by creating a birthday celebration thread in a specific forum.
Features:
* Does NOT require cron jobs so everybody can use it regardless of their server settings/rights.
* You can send PMs, emails (or both) or you can choose to send them PM if they can receive PM or else send email.
* The Hack can create special greeting threads for birthdays. (optional)
* Some usergroups (like banned users) can be excluded from automatic greetings.
* Admin can choose to receive a daily report via Email or PM about the greeted birthdays. (optional)
* Compatible with ALL vbulletin versions I know.
* Carefully coded to not to increase your SQL load and its quite performance-friendly. (More info about performance issues)
* New Added Feature: To greet only members who have more than X messages or who have visited your board in the last X days, see here
* New Added Feature: You can change his style in the day user has his birthday. Check here)
* New Added Feature: You can play Happy Birthday Song to your members in their birthdays. Check here
The hack is beta tested by many users for a long time before the release and proven to be quite stable. (BTW. thx to all beta testers especially to Dark_Wizard, Boofo, DslTeam, C-Pr0mpt for returning feedback).
WARNING: I strongly suggest:
a) Be careful while installing this hack (especially in step 2). If you install it wrongly, your members may get a lot of irrelevant greetings.
b) To make sure you installed it correctly, turn on DEBUG mode AND administrator notifications in the options of the hack while you are installing it. So the hack will NOT send any notifications to members but only send daily reports to admin. Keep an eye on these reports for a few days and if you made sure you installed it correctly and it works ok, you can safely turn off debug mode.
Enjoy the hack and if you install the hack please click INSTALL, thank you..
Logician \\=^))
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
is there a way to display the european date format in the thread e.g. 24.02.2002 after the age?
Not tested but should work:
Find this:
PHP Code:
$greeting_thread.=" * [url=$bburl/member.php?s=&action=getinfo&userid=".$birthday_children[userid]."]".$birthday_children[username]."[/url]";
if ($birthday_children[yas]!='-') {$greeting_thread.="(".$birthday_children[yas].")";}
$greeting_thread.=" ".$birthday_children[birthday]." \n";
and replace it like this:
PHP Code:
if ($birthday_children[birthday] == '0000-00-00') {
$birthday321 = "N/A";
} else {
$bday = explode("-",$birthday_children[birthday]);
if (date("Y")>$bday[0] and $bday[0]>1901 && $bday[0]!='0000') {
$birthday321 = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0]));
} else {
// lets send a valid year as some PHP3 don't like year to be 0
// $calformat2 should not contania year identifier so the year doesn't matter
$birthday321 = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1993));
}
if ($birthday321=="") {
$birthday321 ="$bday[1]-$bday[2]-$bday[0]";
}
}
saw this back at the top and thought I'd chime in again. Love this hack and it's been working great. The members get a kick out of it and I love how it works.
I recently went thru this hack and the email congratulation post count hack and adjusted the vars so they were the same then made the vars settable via the cp. the damn admin notify pms were driving me crazy and I forgot that you could just switch them off
Today at 08:40 PM Intex said this in Post #139 Logician - In your readme file you have vbulletin's website scrollable in the window. Just out of curiosity how did you do that?