View Full Version : Auto Email/PM for Birthday Greetings Hack. Are you interested?
Logician
05-11-2002, 06:49 PM
Hiyas,
I am on the verge of completing a hack which will automatically send greeting private messages or emails (or BOTH) to your members who have birthdays.
The code has a complex algorithm so before releasing it I want it tested extensively. I know that I could publish the hack in BETA Releases board, but IMO that board does not work as it should be. I had published 2 of my hacks in that board before to get some feedback about how they were doing in other's boards, but despite my insistent requests, I got none. :speechless:
So instead of making the hack publicly available to all, I wanted be tested by a small group who will really interested in the hack and return some feedback to me to get it improved.
If you want to test it and will return comments to me, please provide me with your email so that I can send you the hack.
A few important notes:
1- You will not get a "non-complete" or "too buggy" hack. I'm now testing the ALPHA version in my local test board and as for beta I will first install it to my "original board", make sure it's working and then I'll send it to you as a BETA tester. You will get a code that have been tested and proved succesful in my original board. However you can test it in your test board if you wish, your call..(If not, backup db anyway!)
2- This hack will NOT require CRON jobs, so anybody can use it.
3- Installation will NOT be a pain in the neck. 4 Steps and you're done..
4- Version of your board should not be a problem either. (provided that it's 2.x.x)
Thank you!
Logician
Dean C
05-12-2002, 07:21 PM
YES .. simple answer... i wud love this hack...
inetd
05-12-2002, 07:41 PM
Yes, good idea!
Logician, i will install this hack after release ;)
Dark_Wizard
05-16-2002, 12:53 AM
Sounds really cool...If your still accepting beta testers let me know...
Logician
05-16-2002, 05:54 AM
Originally posted by Dark_Wizard
Sounds really cool...If your still accepting beta testers let me know...
Dark_Wizard yes..I've finished the hack and installed it in my original board and it's working without any problems.. And it would be nice if someone else tries in his board too. So I'm still accepting beta testers. Please send me your email address so that I can send you the hack.. Thank you.. :)
Logician
05-16-2002, 08:57 PM
Some screenshots attached (maybe it can motivate you to try the hack) :)
The private message user gets: (send automatically by the hack of course!)
Logician
05-16-2002, 08:59 PM
The daily greeting report Admin gets (optional) about when and how the hack celebrated member's birthdays..
dslteam
05-23-2002, 12:13 PM
I love this hack !! I want have it !! :cool:
When do you want to release the first public version?
Thanks !
Logician
05-23-2002, 12:47 PM
Originally posted by dslteam
I love this hack !! I want have it !! :cool:
When do you want to release the first public version?
Never unless someone helps me testing it out..
5 people asked me to be beta testers and I sent them the code and I got no response in return at all.. :ermm:
I use the hack in my board now and I have no problems at all. But I just want to be sure it's perfectly ok before releasing it since it's algorithm is not very simple (installation is easy though) So I really need some feedback about how it is doing, any problems etc. from other people.. It's even ok to get a message with 3 words: "intalled, no problems"..This is actually what "beta testing" is lol..
I hate to disappoint people who is waiting for the hack but if nobody helps out, I am not going to release it, sorry..
Regards,
Logician
dslteam
05-23-2002, 01:42 PM
I would like to test your script ! I would send you my feedback after the installation!
Logician
05-23-2002, 02:14 PM
ok pls pm/email me your email address, so that I can send it to you.. thank you
Dark_Wizard
05-23-2002, 03:53 PM
I've installed this and waitnig on a bday now...thx for the chance to help test this....
Logician
05-23-2002, 04:22 PM
Dark_Wizard may I suggest creating a few fake users and setting their birthdays to tomorrow. :) This will both save you from unnecessary waiting and also you will have a chance to see if member gets pms/emails or not.
BTW. thank you for informing me..
Dark_Wizard
05-23-2002, 06:30 PM
I thought of that as well but have 5 bdays coming up over the next few days...sorry for not getting back to you right away...I was on vacation last week when you sent it...
FCorner
05-24-2002, 10:44 PM
Yes please, would be more than happy to provide feedback. I actually received a birthday greeting from either this board or the other VB support board and thought this was already released. Was that your hack in action? :)
My email address is webmom@familycorner.com and I promise to install it and provide feedback right away!
Thanks!
Logician
05-25-2002, 04:05 PM
Originally posted by FCorner
Yes please, would be more than happy to provide feedback. I actually received a birthday greeting from either this board or the other VB support board and thought this was already released. Was that your hack in action? :)
No FCorner, I havent released this hack yet, if you didnt get it from me via email very recently, no it's not my hack. I am not aware of any other similar hack either.
I have sent the hack to your email address and waiting to hear from you..Thanks for the help..
Regards,
Logician
Dark_Wizard
05-27-2002, 09:36 AM
This is an awesome hack...my members love it and knew right away it was auto-generated. Everything is working great!
Dark_Wizard
05-27-2002, 10:17 AM
Oops...here (http://www.islandncs.com/gw/forums/showthread.php?s=&threadid=1630) is a link to the thread generated by this hack
Logician
05-27-2002, 02:19 PM
Dark_Wizard: Have you linked the page to demonstrate or to report a bug? If it's a bug report, page seems quite fine to me lol. If it's to demonstrate, my apologies..
And a small bug I catched: If user enters only date of his birthday and leaves the year blank, the variable that holds user's age will be 2002 hehe.. (Hack will greet his birthday anyway even if he is too "old"). :) I'll fix that in the release, in the meantime you can delete this variable from your templates if you want..
BTW Thx for the feedback..
Ps. Unreal Tournament is my favorite game and I'm (was) a good player too.. Cant find time to play for months though.. :tired: You board reminded me my passion to Unreal :D
Boofo
05-27-2002, 03:22 PM
I just installed the hack you sent me. I changed my birthdate to today to test it and nothing had happened so far. Am I missing a step somewhere?
freeshares1
05-27-2002, 03:30 PM
I would happily beta test this for, If you are still looking for testers, Email me @ webmaster@gamblingforums.net
phil
Logician
05-27-2002, 04:17 PM
Originally posted by Boofo
I just installed the hack you sent me. I changed my birthdate to today to test it and nothing had happened so far. Am I missing a step somewhere?
@Boofo: yep patience.. :)
First set your birthday to tomarrow, the day hack is installed will not be greeted. Secondly be patient. Hack does not greet the birthdays at exactly 12.00 AM, they can be greeted anytime in the day, so you may have to wait for sometime. This behaviour is intentional so that your server load wont increase..;)
@freeshares1: hack sent to your email, thx..
Regards,
Logician
Dean C
05-27-2002, 06:26 PM
i will happily test this out providing there are no mysql queries to run...
EMAIL: rapstar10@hotmail.com
Logician
05-27-2002, 06:36 PM
sorry Mist, it adds a table to MYSQL, so not SQL query free..
Dark_Wizard
05-27-2002, 11:57 PM
The link was to provide a demo for anyone wanting to see it....the hack works fine. the install was great....UT player too huh? That's my passion and waiting patiently for UT2003!
Boofo
05-28-2002, 01:55 AM
That's why I would have made a lousy doctor...no patience. :) Will set the birthdate and let you know how it goes. By the way, is there a way to maybe have it do an e-mail AND the forum, if I wanted to do both of them?
Boofo
05-28-2002, 02:36 AM
It worked flawlessly. It sent the PM at around 12.52 am (server time). Now, what would make this hack perfect, is if you could do the greeting according to the users set time, if they have set it in the options. It showed me having a birthday 2 hours before I had it set for. It showed it on the 27th at 10 pm and I had it set for the 28th. My server is GMT and my time is is central time (GMT -6).
Just a thought. I did set a phony year to make sure it worked right. :)
Boofo
05-28-2002, 06:54 AM
Another suggestion...is there a way to control whether my signature shows up in the birthday message to the user, whether it be the forum mode, pm mode or email mode? I have it enabled in my options but don't necessarily want it in the birthday message.
Logician
05-28-2002, 08:22 AM
@boofo: Unfortunately I cant make it work according to user's time settings. It requires too much work and more importantly hack will be awkard and unstable. However I can suggest you setting "timeset" variable inside the hack options.
For example if your server is in GMT-5 but most of your users time setting is GMT+2 set your variable as "+7". Then hack will greet birtdays according to this setting and will work better at least for most of the users.
As for creating the thread, yep I plan to change its design. In fact I didnt plan to add a feature to "create a thread", hack was supposed to send pm or email or both only. But Crazy Mofo asked me to add such a feature (and I didnt hear from him anymore.) and I added the feature. Now it is requested that it will both create a thread and send pm(or email). I'll see what I can do. I think I can modify it to work this way.
Phony years dont stop the hack from working however, user's age would be odd, for sure :)
Boofo
05-28-2002, 09:44 AM
I understand the time issue, but is there any way that it could be delayed until 12 noon on the birthday? Then it would be sure to get everyone on their birthday, no matter what timezone they were in, since GMT can only go +12 at the most. Does that make sense? :)
As far as the email, pm and thread option, it would be nice to have any combination of them that you want. It would appeal to everyone that way with it's flexibility.
Originally posted by Logician
@boofo: Unfortunately I cant make it work according to user's time settings. It requires too much work and more importantly hack will be awkard and unstable. However I can suggest you setting "timeset" variable inside the hack options.
For example if your server is in GMT-5 but most of your users time setting is GMT+2 set your variable as "+7". Then hack will greet birtdays according to this setting and will work better at least for most of the users.
As for creating the thread, yep I plan to change its design. In fact I didnt plan to add a feature to "create a thread", hack was supposed to send pm or email or both only. But Crazy Mofo asked me to add such a feature (and I didnt hear from him anymore.) and I added the feature. Now it is requested that it will both create a thread and send pm(or email). I'll see what I can do. I think I can modify it to work this way.
Logician
05-28-2002, 09:57 AM
Originally posted by Boofo
since GMT can only go +12 at the most. Does that make sense? :)
You can set the variable timeset what ever number you want. So eg. this works: $timeset=17 or $timeset=-44.
The problem is it is not possible for the hack to get into details for all users that have a birthday in a specific day. When hack is triggered, it just checks if it has already greeted the birthday for "today" and if not gets birthday of ALL users once and send them greetings, again once. I cant make it remember "when birthday should be greeted for which user".
Consider the "today's birthday" field in your main page. It has this behaviour either. For example it lists 2 birtdays for A and B in your main page (according to page viewer's time zone) and the page viewer may send A a PM to greet his birthday. But maybe it's not his birthday according to A's time zone yet, there may be 2 hours left for instance..
But nothing we can do about it, it's really too complex to add such a feature..
Boofo
05-28-2002, 10:09 AM
ok, I understnad a little better now. What you have there is fine. I need to ask, though, if there is no year after the birthday for the user, can it just show the happy birthday part and not show anything for the age part? Like parse it if there is not a year available? Just a thought...:)
Logician
05-28-2002, 11:04 AM
What is showed depends to you because you set it inside the templates. If you remove the relevant $birthday_child[yas] variable from your template, it wont display the age. However I will add a feature that if the year is blank, this variable will be just "-" instead of 2002 :)
Boofo
05-28-2002, 11:44 AM
I see what you are saying but I want the age displayed if there is a year and not if there isn't. Is there a way to do this? Or is that what you meant?
Logician
06-01-2002, 12:34 PM
BUG FIX
I found a bug and fixed it, if you install the hack, please you fix that too:
Edit index.php:
Find:
$n_month=(integer)date("n",strtotime($last_action['leftdate']));$n_day=(integer)date("j",strtotime($last_action['leftdate']))+1;$n_year=(integer)date("Y",strtotime($last_action['leftdate']));
and REPLACE it AS:
$n_month1=(integer)date("n",strtotime($last_action['leftdate']));
$n_day1=(integer)date("j",strtotime($last_action['leftdate']))+1;
$n_year1=(integer)date("Y",strtotime($last_action['leftdate']));
$n_month= date("n", mktime (0,0,0, $n_month1, $n_day1, $n_year1));
$n_day= date("j", mktime (0,0,0, $n_month1, $n_day1, $n_year1));
$n_year= date("Y", mktime (0,0,0, $n_month1, $n_day1, $n_year1));
If you dont fix it, hack will stop greeting the birthdays as of today (first day of June). After the fix hack will go on greetings from the date it stopped (Last day of May) and will not miss birthdays in the meantime..
Although not likely, please let me know if you have any problems afterwards..
Regards,
Logician
Highlander
06-02-2002, 12:58 PM
yes me too as beta tester..
mail@spieleplanet.com
c-pr0mpt
06-04-2002, 04:35 AM
I would love to help beta test this.
corey@ravio.com - Email
Jeremy W.
06-04-2002, 09:10 PM
What is the expected release date on this?
Logician
06-04-2002, 10:01 PM
Originally posted by Jeremy W.
What is the expected release date on this?
Very soon.. After the last bug fix, I sent the script to Highlander and c-pr0mpt and when I get their feedback, I will release it (provided that everything is ok)..
Me2Be
06-04-2002, 10:06 PM
Would it be too difficult to add an option where you can specify how recently a user has visited? I don't think members who haven't visited in, let's say, six months will be coming back to the boards (at least on our site!) :)
Look forward to this release!
c-pr0mpt
06-05-2002, 05:04 AM
I tested this today on my beta board. The install was quick and painless, and after that I set my birthday to June 5th. My internet has been off and on today and I just now finally got back online (1:30am) and I had the PM and the email waiting for me. :)
So as far as I can see, there are no problems off the bat. Wonderful hack and I thank you muchos for it!
Dean C
06-05-2002, 08:08 AM
i would love to test this now... i have my sql queries working again !!!
rapstar10@hotmail.com !!
Boofo
06-05-2002, 08:10 AM
Please read post# 39 above. It will be released shortly. :)
Originally posted by Mist
i would love to test this too !
rapstar10@hotmail.com !!
Logician
06-05-2002, 09:40 AM
Originally posted by Me2Be
Would it be too difficult to add an option where you can specify how recently a user has visited? I don't think members who haven't visited in, let's say, six months will be coming back to the boards (at least on our site!) :)
@Me2Be: If what you are suggesting is to send greetings to only users who have visited the board in the last X days/months, yes this can be achievable. However I'm not very keen to integrate this feature to the hack, because after every integration I need to test it more to debug and this testing time already took too long :)
However after I release the hack, remind me you want this feature and without officially integrating it as a default feature, I'll give you the code you can modify yourself to have it.
But if I were you I would choose to send emails (instead of PMs) with this hack and this would help your "missing" members to remind you and get them back to your board. ;)
@Mist: Thx for your help, but I will release it very soon..
Regards,
Logician
Boofo
06-05-2002, 10:04 AM
I'd be interested in getting that code also. :)
Originally posted by Logician
@Me2Be: If what you are suggesting is to send greetings to only users who have visited the board in the last X days/months, yes this can be achievable. However I'm not very keen to integrate this feature to the hack, because after every integration I need to test it more to debug and this testing time already took too long :)
However after I release the hack, remind me you want this feature and without officially integrating it as a default feature, I'll give you the code you can modify yourself to have it.
But if I were you I would choose to send emails (instead of PMs) with this hack and this would help your "missing" members to remind you and get them back to your board. ;)
@Mist: Thx for your help, but I will release it very soon..
Regards,
Logician
Highlander
06-05-2002, 05:43 PM
okay logician..i installed it..and all seems to bee good..now i will have wait two days..till the next members got birthday..and then 4 of my members should get an email and PM....if something should be tested ..tell me i will do..
Highlander
06-05-2002, 05:46 PM
my board version is 2.2.5 and portal runnin..also i have several hacks installed nd your webtemplates..(i lov them..) ..maybe i will install the unsubscribe hack..it might be useful too
Boofo
06-05-2002, 05:48 PM
The Unsubscribe hack is one of the best out there. It works great! I wouldn't want to run a board without it. :)
Originally posted by Highlander
my board version is 2.2.5 and portal runnin..also i have several hacks installed nd your webtemplates..(i lov them..) ..maybe i will install the unsubscribe hack..it might be useful too
c-pr0mpt
06-06-2002, 12:21 AM
I was installing on another board and ran into a weird problem at the query process. I did the queries just as the install says, then when I run.
SELECT leftdate from timetick where action='birthday';
I just get
Error
SQL-query:
SELECT leftdate from timetick where action='birthday';
MySQL said:
Mysql doesn't say anything. But when I browse the table timetick its all there...sshot attached.
What am I doing wrong with the queries? Please cure my confusion.
Logician
06-06-2002, 05:15 AM
Originally posted by c-pr0mpt
I was installing on another board and ran into a weird problem at the query process. I did the queries just as the install says, then when I run.
yep it's weird. For one thing there cant be anything wrong with the queries: These are very simple and basic queries and their syntax are correct. Besides they run correctly in all beta testers' board. I suspect something got wrong when you run the query: Maybe a corrupt table or smt.
I suggest deleting this table (timetick) from your db and start from the begining (maybe you should use "logician_query" file to run them).
Please let me know afterwards, thank you..
Logician
Logician
06-09-2002, 10:20 PM
Dear Friends,
The hack is officially released in the full releases forum. I thank you all especially to beta testers who helped me testing, debugging and improving the hack.
If you have installed the hack as a beta tester, please visit the hack's thread (https://vborg.vbsupport.ru/showthread.php?s=&threadid=39663) and download it. I strongly suggest you apply the STEP 4 (ONLY!) again. Simply delete the code you inserted from your index.php and insert the new code in step 4. It's the most recent code with some bugs fixed and a few features added.
I added the requested independent "create a greeting thread" feature so now you can both send email/pm AND create a thread as well. Since some small bugs are fixed too, I advise all of you to reapply step 4. If you click install in the original thread, you'll receive future updates and bug fixes (if any).
Regards,
Logician
FCorner
07-21-2002, 11:55 AM
Originally posted by FCorner
Yes please, would be more than happy to provide feedback. I actually received a birthday greeting from either this board or the other VB support board and thought this was already released. Was that your hack in action? :)
My email address is webmom@familycorner.com and I promise to install it and provide feedback right away!
Thanks!
Well I'm sorry that it has taken so long for me to provide feedback, but I had to wait for my server support to install it for me.
I have it set to just send emails, but did have it set to send PM's originally. Everything seems to be functioning properly.
The ONLY problem I have encountered is if the member did not specify a year of birth, but did give the month and day, here is the resulting birthday greeting:
"Happy Birthday! You don't look a day over 2002! :)"
This member had their year set at 0000. Any ideas on how to fix this? Thanks!
Logician
07-22-2002, 07:54 AM
Originally posted by FCorner
The ONLY problem I have encountered is if the member did not specify a year of birth, but did give the month and day, here is the resulting birthday greeting:
"Happy Birthday! You don't look a day over 2002! :)"
This member had their year set at 0000. Any ideas on how to fix this? Thanks!
Yes, please follow these steps:
1- Apply the released hack code instead of your beta code to index.php. You dont need to reapply other steps, simply replace the code in index.php with the latest version relased in full sections forum.. (Also dont forget to configure the settings of course)
2- Check the hack's thread for more info, I released a "hack of the hack" in that thread to fix it.
Would love to try it and give you feedback too.. :)
Blue@dss-knights.com
Logician
09-04-2002, 08:42 AM
thank you dm02, but the hack is already released here:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=39663
You can get it from there.. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.