Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Birthday Thread and PM generator Details »»
Birthday Thread and PM generator
Version: 1.1.2, by AusPhotography AusPhotography is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.0.0 Rating:
Released: 05-15-2011 Last Update: 04-15-2013 Installs: 115
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

<a href="http://www.AusPhotography.net.au" target="_blank">www.AusPhotography.net.au</a> 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

File Type: zip APbirthdays1.1.2.zip (85.7 KB, 382 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
BCP Hung, Bounce, CK, eTiKeT?, Markos, megabink, tbworld, Trangalleiro

Comments
  #22  
Old 06-22-2011, 07:08 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work on 4.1.4? Had it on 3.7. and users loved it
Reply With Quote
  #23  
Old 06-22-2011, 07:09 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snoopytas View Post
The day period and post count do work together.

Ie. set 2 posts in the last 10 days.
This allows you to set a basic activity level.

It also only counts posts to forums that count towards 'post count' - if that makes sense.
Thank you!

One last dumb question.

In your screenshot you have a smilie party5 and this is where we would like to link an image to show, just cant remember what to put for the code.

What coding is needed to link to an image to be displayed at the top of the post and pm?
Reply With Quote
  #24  
Old 06-22-2011, 09:33 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, rated and nominated.

Could you explain this for me, I'm having a blonde day.

Happy Birthday Post Heading
Text for Heading post {xx} = 1st 2nd 3rd 4th etc, {username} {bdate}

Specifically "Text for Heading post" is that something I have to configure?

Also does this mod ignore people who have chosen not to display birthday? - Can see that it does from OP, thank you
Reply With Quote
  #25  
Old 06-22-2011, 10:11 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CK View Post
Installed, rated and nominated. ...
Thanks.

The {} syntax allows you to put markers in the heading and message that are then filled out with the specific details of that members birthday.

So
Code:
Happy {xx} Birthday {username}! ({bdate})
becomes
Code:
Happy 54th Birthday ashey! (17th of June)
Eg:
http://www.ausphotography.net.au/for...7th-of-June%29
(On our site)
Reply With Quote
  #26  
Old 06-22-2011, 10:15 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Will this work on 4.1.4? Had it on 3.7. and users loved it
Yes. It works on our 4.1.4 test system.
I doubt any major future change to vB will affect this very much at all.

Quote:
Originally Posted by kylek View Post
Thank you!
One last dumb question.
In your screenshot you have a smiley party5 and this is where we would like to link an image to show, just cant remember what to put for the code.
What coding is needed to link to an image to be displayed at the top of the post and pm?
Ah, party5 is a custom smiley face on our site.
Edit the text via AdminCP to put whatever you want.
Reply With Quote
  #27  
Old 06-22-2011, 10:20 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Snoopy!
Reply With Quote
  #28  
Old 06-24-2011, 01:25 PM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the Mod. How can I use translated phrase on multilanguage site?
Reply With Quote
  #29  
Old 06-24-2011, 02:15 PM
whitey92lx's Avatar
whitey92lx whitey92lx is offline
 
Join Date: May 2011
Location: Katy, TX
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! It was very easy to install.

************************************************** ************

Just got a few emails:

Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT `forumid` FROM vbwsm_`forum`
WHERE (`forum`.`options` & 4096)
ORDER BY `forumid`;

MySQL Error : Table 'kevin_vbwsm.vbwsm_' doesn't exist
Error Number : 1146
Request Date : Friday, June 24th 2011 @ 11:53:06 AM
Error Date : Friday, June 24th 2011 @ 11:53:06 AM
Script : http://www.westsidemustangs.com/cron...and=1308934385
Referrer : http://www.westsidemustangs.com/sear...earchid=398297
IP Address : 70.240.73.124
Username : Unregistered
Classname : vB_Database
MySQL Version :



- I am not the original owner of my site, and some other person set the version of vbulletin up about 2 years ago. Maybe something has him listed where it should have me listed?
Reply With Quote
  #30  
Old 06-25-2011, 06:18 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed! 1.0.3
Reply With Quote
  #31  
Old 06-25-2011, 06:22 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweetpotato View Post
Thank you for the Mod. How can I use translated phrase on multilanguage site?
The birthday greeting text is single language. I'm not planning on changing that as it suites our site the way it is.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.14251 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete