Plugin Name: eventreminder
Purpose: To send reminder e-mails to event owners prior to an event.
This plugin is configured in the plugin settings screen in Joomla's Plugin Manager. To configure, modify the following plugin settings:
Itemid: Menu id of the Zap Calendar component (used to generate the correct URL in the e-mail)
1st Event Reminder, 2nd Event Reminder, 3rd Event Reminder: The number days prior to the event to send the reminder e-mail. Up to three e-mails can be sent for an event. Use zero "0" for the number of days if the reminder will not be used.
E-mails are sent using a cron job. The cron job should run only once per day. Zap Calendar provides a security feature to prevent attacks on cron jobs. From the Zap Calendar global settings, you can specify the IP addresses authorized to run the event reminder cron job. By default, "127.0.0.1" is enabled, which is the localhost. If you want to allow any host to run the cron job, use the IP address "*.*.*.*", however, this is not secure. (Note: only ip4 addresses are currently supported).
ZContent will also provide the cron job service to Pro customers who can not run it on their own servers at no additional charge. Contact Z Content for more details.
Sample Cron for Zap Calendar 4.0 and higher
10 1 * * * wget -O /dev/null "http://yourdomain.com/index.php?option=com_zcalendar&view=plugin&name=eventreminder" >/dev/null
Sample Cron for Zap Calendar 3.1
10 1 * * * wget -O /dev/null "http://yourdomain.com/index.php?option=com_zcalendar&plugin=eventreminder" >/dev/null
This plugin is new with version 3.1