Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/abledesi/domains/abledesign.com/public_html/navfiles/log.php on line 126

AbleDesign - Support Forum

AbleDesign Forum Index AbleDesign

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
AbleDesign Forum Index
MyCalendar Discussion
email reminders ?
Post new topic   Reply to topic

Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion
View previous topic :: View next topic  
Author Message
DonnaNJ
Window Shopper
Window Shopper


Joined: 20 Jun 2006
Posts: 24

PostPosted: Tue Jun 27, 2006 12:10 pm    Post subject: email reminders ? Reply with quote

Dan,

Can this be modified to email reminders ? Or does it do it already - I searched the support forum but didn't find anything.

Thanks

Donna

DBK Web Development.com
_________________
Donna

DBK Web Development
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Tue Jun 27, 2006 2:32 pm    Post subject: Reply with quote

I've always held off on adding in email reminders because it would require setting up cronjobs to run automatically on the server, and that would become a fairly large support headache due to the complexity.

It can be done, but a script would have to be created to query the database for whatever range of upcoming event dates you want, then send reminders to everyone subscribed to them. That script would then have to be run from a scheduled cronjob. And, of course, you'd have to provide an interface for people to subscribe to events' reminders.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DonnaNJ
Window Shopper
Window Shopper


Joined: 20 Jun 2006
Posts: 24

PostPosted: Tue Jun 27, 2006 3:34 pm    Post subject: Reply with quote

I will probably work on this.

I will need a cron job to run once a week - like Sunday midnight and send email to everyone.

But this won't be an open calendar for people to "sign-up" - it's for an office staff of about 20.

So I think it will be more do-able as things can be more hard wired than you would make for a general calendar feature.

I'll keep you posted - and probably bug you with questions - but at the end maybe you can post if for folks later.

Thanks

Donna

oh - one more ?

Can we set up our own "home page" and just "include" the calendar into the center of the page ? (ie index.php doesn't have to be the home page does it ?)

(I'll search the archives for this ...)

It's time to get started.
_________________
Donna

DBK Web Development
Back to top
View user's profile Send private message
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Tue Jun 27, 2006 6:19 pm    Post subject: Reply with quote

That'll definitely make it much easier. I'd approach it as an array of names to send emails to. When the script runs weekly, loop through the array and send the applicable notice to each.

You could also break it up into arrays of names by category.

It would be easiest to include other stuff into MyCalendar's index.php (that's the idea behind the header/footer file paths in config.php), but you could go the other way around with a bit of fiddling. The main thing to be aware of is how session headers are handled, as they are in index.php and must be sent to the browser prior to any other page data. You'd need to move that content over to the parent page and then make sure it doesn't get omitted if the calendar is accessed directly elsewhere.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group


Home | Services | Pricing | Portfolio | About Us | Contact
Support | Programs | Purchase | Tutorials | Site Map

© 1999-2025 AbleDesign.com - Web Design that Can!