Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Birthday Thread and PM generator Details »
Birthday Thread and PM generator
Mod Version: 1.1.2, by AusPhotography (Coder) AusPhotography is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (14 votes - 4.79 average) Installs: 115
Released: 16 May 2011 Last Update: 16 Apr 2013 Downloads: 715
Not Supported DB Changes Uses Plugins Additional Files Re-usable Code Translations  

www.AusPhotography.net.au Birthday Thread and PM generator

This product provides a simple way to create both an automatic Birthday greeting thread and forum member birthday PM.

Features:

1. Configurable greeting text with name, age (optional), and birthday
2. Excludable usergroups (eg. banned etc)
3. Creates a thread in selectable forum and sends a PM from selected user (admin or other)
4. Runs as a vBulletin scheduled task (vB cron job)
5. Honours forum members birthday profile settings
6. Only sends birthdays for members with recent forum activity (configurable)
7. Adjusts for forum members time-zone so the greeting will be on their birthday


Uses:

1. Creates a Database table to track birthday processed
2. One additional file vBulletin scheduled task (vB cron job)
3. Product installation file


Installation:

1. Copy ap_birthday.php to the forum ./includes/cron directory
2. Install the product file
3. Configure it via AdminCP/Settings/Options
4. Disable the vBulletin birthday emailer in AdminCP / Scheduled tasks
Done!

Enjoy! It will probably work on vB3.6+ as well.

Update 2013-04-12: Working with 4.2.0
Update 1.1.2 if zero active post use 'lastactivity' instead (bugfix)

Kym

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
birthday in thread Mas*Mind vBulletin 2.x Full Releases 34 06 Sep 2002 12:31

  #46  
Old 29 Jun 2011, 10:56
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by snoopytas View Post
@Doug
The definition of 'active' for this plugin is posts; not just logging in.
I.e. 1 post in the last 180 days would work, but not zero.

I wrote it as a reward for people who actually interact on the forums.
On our forum we discourage lurking.

Feel free to modify the code to your needs.

Thanks ...

Is there a line in the code (or plugin) somewhere that I could change it to permit 0 posts?

Regards,
Doug
Reply With Quote
  #47  
Old 29 Jun 2011, 23:31
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by BadgerDog View Post
Thanks ...
Is there a line in the code (or plugin) somewhere that I could change it to permit 0 posts?
Sure... you will need to modify the 2nd SQL select statement in ap_birthday.php.

http://dev.mysql.com/doc/refman/5.1/en/select.html
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #48  
Old 02 Jul 2011, 07:14
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
I had a query by PM regarding when the greeting is posted...

The messages get posted ~4 hours after midnight of the person receiving the greetings timezone.
The idea being they get the greeting on the morning of their birthday.
Obviously subject to the vagaries of the cron job system.
As we have members across the planet this was an important idea.

The code that makes it happen is this...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #49  
Old 17 Jul 2011, 10:47
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Uninstalled ... for some reason, just stopped working .... switched back to Valter's mod for this purpose ...

Thanks to the developer his efforts ....

Regards,
Doug
Reply With Quote
  #50  
Old 17 Jul 2011, 11:23
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by BadgerDog View Post
Uninstalled ... for some reason, just stopped working .... switched back to Valter's mod for this purpose ...

Thanks to the developer his efforts ....

Regards,
Doug
It works for us and other sites.
There is no reason it should just stop working.

Check that the cron job is working.

What changed on you site?
Remember it is based on forum activity.

What settings did you have?
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #51  
Old 17 Jul 2011, 12:04
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by snoopytas View Post
It works for us and other sites.
There is no reason it should just stop working.

Check that the cron job is working.

What changed on you site?
Remember it is based on forum activity.

What settings did you have?
Hi ..

Not sure why ...

As an example, had a member's birthday today. He had 3 posts and joined in the last week. He has his birthday options set to display on and the cron job is running.

No thread created or PM sent ... it was the 3rd example in the last week.

Anyway, no big deal and thanks for providing something other than Valter's which seems to run fine for us, which we had been using before.

Regards,
Doug
Attached Images
File Type: jpg Screen shot 2011-07-17 at 8.02.54 AM.jpg (95.5 KB, 23 views)
Reply With Quote
  #52  
Old 17 Jul 2011, 21:39
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
A non obvious reason could be how he has his birthday display setting

I.e. it honours the vB: Edit Profile / Date of Birth: / privacy setting.

Ie. showbirthday > '1' in the code.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #53  
Old 18 Jul 2011, 10:52
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by snoopytas View Post
A non obvious reason could be how he has his birthday display setting

I.e. it honours the vB: Edit Profile / Date of Birth: / privacy setting.

Ie. showbirthday > '1' in the code.
His setting in his user record indicates that it was ok to show "day and month of birth" publicly.

Should that have worked?

Regards,
Doug
Reply With Quote
  #54  
Old 19 Jul 2011, 04:13
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Yes, that should have worked and does on our site.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #55  
Old 19 Jul 2011, 07:32
Successfulsteps's Avatar
Successfulsteps Successfulsteps is offline
 
Join Date: Sep 2010
I installed this on 4.1.4 today and can't wait for someone's birthday to see it work!!

Do you have to disable the email too though? Or is there some reason that both can't work at the same time?
Reply With Quote
  #56  
Old 19 Jul 2011, 09:19
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by BadgerDog View Post
His setting in his user record indicates that it was ok to show "day and month of birth" publicly.

Should that have worked?

Regards,
Doug

Yes that should work.

I just re-checked the SQL code in various scenarios - it works.
Without actually seeing the specific case I cannot determine why it appears not to work for you.

We have been using this mod for over a year ourselves - well before I productised it.

Thanks for the feedback.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #57  
Old 19 Jul 2011, 09:23
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by Successfulsteps View Post
I installed this on 4.1.4 today and can't wait for someone's birthday to see it work!!

Do you have to disable the email too though? Or is there some reason that both can't work at the same time?
They can both work! Either a post or a PM or both. We use both.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #58  
Old 19 Jul 2011, 12:15
Successfulsteps's Avatar
Successfulsteps Successfulsteps is offline
 
Join Date: Sep 2010
Originally Posted by snoopytas View Post
They can both work! Either a post or a PM or both. We use both.
No, what I mean is that the instructions say to disable the email birthday one. I want to know if I can have the post, PM AND email; or if I have to disable to the email to insure the mod works correctly.
Reply With Quote
  #59  
Old 20 Jul 2011, 00:42
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
The email is created by the vB standard scheduled job .
You do not have to disable it, I suggested that to avoid confusion.

This mod does not generate an email other than by side effect of the PM.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #60  
Old 20 Jul 2011, 00:56
Successfulsteps's Avatar
Successfulsteps Successfulsteps is offline
 
Join Date: Sep 2010
Originally Posted by snoopytas View Post
The email is created by the vB standard scheduled job .
You do not have to disable it, I suggested that to avoid confusion.

This mod does not generate an email other than by side effect of the PM.
Thanks for the clarification. I wanted to keep the email birthday just because you get some members who are not active, have not posted; and any chance to send them something is great! At the same time though, I don't want to post or send the PM to them. So, your answer is helpful so I can keep that email as well without conflicts.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:20.

Layout Options | Width: Wide Color: