Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Calendar & Private Event Reminder hack testing Details »»
Calendar & Private Event Reminder hack testing
Version: 1.00, by !!freebsddude !!freebsddude is offline
Developer Last Online: Nov 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-07-2002 Last Update: Never Installs: 0
 
No support by the author.

I am not sure if I have posted this in the right forum, if not please let me know and I'll be happy to repost in the appropriate forum.

I have a hack in the form of a cron script that will send birthday, event reminders emails, using birthday and private event reminder template(s).

I need help with people willing to test this stuff on their site. You should be able to setup a cron job and test it.

Features:

1. Birthday and Private Event Reminders
2. User can turn off Private Event Reminder
3. Works in any/all time zones
4. Tracks reminders & greetings to ensure that only 1 is sent.
5. Custom Birthday Email Template
6. Custom Private Event Reminder Email Template
7. One email per private event even on same day.
8. Cron driven, cron should be run periodically to catch all
time zones. For example, a person celebrating a birthday
in the US wont be sent a greeting from a vb forum in
Australia until after midnight local US time.
9. Minimal impact to existing code & database, just needs
one field under User Additional Options (created via Admin CP)
and a seperate reminder table in the database.

For details/doc check out this page:

http://www.freebsdforums.org/docs/reminders.html

Thanks!

dan@freebsdforums.org

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-08-2002, 09:23 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it you that made the script? let me know.

regards,
nakkid.
Reply With Quote
  #3  
Old 03-09-2002, 03:00 AM
!!freebsddude's Avatar
!!freebsddude !!freebsddude is offline
 
Join Date: Feb 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for asking.

Yup! Built, and tested 100%, it basically uses Perl DBI/DBD, SMTP and Date modules. Used MySQL query date and time functions.

The EMAIL and BIRTHDAY template files say more than one reminder for a single event, that is not correct, currently ONE and ONLY ONE REMINDER is setup per event. The time of event will depend on when you run your cron job. You should run cron jobs as frequently as every hour to catch all time zones, i.e. then birthday and reminder emails will be generated as early as just after midnight local time zone(s). Say it is your birthday and also a private event on the same day, you will get exactly 2 reminders for it. If you have a birthday and 3 private events, then you will get 4 emails, and so on ...

Please email me with any issues. Have fun sending birthday greetings and those important private event reminders in ALL time zones :supwink: !!
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 04:35 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.03661 seconds
  • Memory Usage 2,207KB
  • Queries Executed 16 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete