Set up Auto reminder feature on Event Booking

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
14 years 4 months ago #7512 by Tuan Pham Ngoc
Set up Auto reminder feature on Event Booking was created by Tuan Pham Ngoc
Hi All

As you know, Event Booking has a feature called Auto-Reminer which is used to send emails to registrants of an Events X-days before the event.


To have this feature works, we need to setup a cron job in your hosting account. Setting up a cron job is different between the hosting provider, so It depends on what hosting provider you are using . The general tasks are :

- Download the file which I uploaded in this post, unzip it and upload to the root of your site (the uploaded file is eb_auto_reminder.php) .

- Add a cron job in your hosting account so that It runs the uploaded file everyday. For example, with bluehost hosting account, I use this command :

php /home1/extensi2/public_html/joomdonation/eb_auto_reminder.php

Please note that you need to replace /home1/extensi2/public_html/joomdonation with the absolute path of your website .

Attachment eb_auto_reminder.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
14 years 4 months ago #7513 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Set up Auto reminder feature on Event Booking
Below is a sample cron job which I setup in my bluehost hosting account. Again, the purpose of this cron job is it runs the file eb_auto_reminder.php one time everyday .
Attachments:

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
14 years 4 months ago #7514 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Set up Auto reminder feature on Event Booking
Hi

If you have any questions about settings up this cron job, feel free to ask me.

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #8489 by zoomlanski
Replied by zoomlanski on topic Re: Set up Auto reminder feature on Event Booking
Can I trigger the file and the auto-reminder manually by running the script with the url?

I'm asking this before I try it....

www.mysite.com/eb_auto_reminder.php

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago - 14 years 2 months ago #8492 by zoomlanski
Replied by zoomlanski on topic Re: Set up Auto reminder feature on Event Booking
Any suggestions Tuan?

Does the auto-reminder call for the start time of the event OR 00:00 date of the event ?

Things tried:

- file is reminder.php (permissions 644 in root directory, same directory as my index.php)
- set up a test event
- ensure that I was marked as paid (I registered for my test event)
- checked my server time (-7 PST)
- set/double set time zone to account for server times (have tried - 6, -7, -8)

Get this Cron message each time. (set it for 5 minutes. I readjust the event start time to account for this). No email reminders.

I'm not asking you to fix the cron (which I know is right), but wondering if you might have any thoughts with this. There are so many different reasons why this occurs.

I see that the file calls index.php - the homepage. Not sure why it would be denied access.

reminder.php File script

<?php
$_REQUEST = 'com_eventbooking' ;
$_REQUEST = 'event_reminder' ;
require_once dirname(__FILE__).'/index.php';
?>

Thanks
TIm
Code:
Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/home/npc/public_html/libraries/joomla/session/session.php</b> on line <b>422</b><br /> <br /> <b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/npc/public_html/libraries/joomla/session/session.php:422) in <b>/home/npc/public_html/libraries/joomla/sessioy n/session.php</b> on line <b>422</b><br /> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr"> <head> <title>403 - Error: 403</title> <link rel="stylesheet" href="/templates/system/css/error.css" type="text/css" /> </head> <body> <div align="center"> <div id="outline"> <div id="errorboxoutline"> <div id="errorboxheader">403 - Access Denied</div> <div id="errorboxbody"> <p><strong>You may not be able to visit this page because of:</strong></p> <ol> <li>an <strong>out-of-date bookmark/favourite</strong></li> <li>a search engine that has an <strong>out-of-date listing for this site</strong></li> <li>a <strong>mistyped address</strong></li> <li>you have <strong>no access</strong> to this page</li> <li>The requested resource was not found.</li> <li>An error has occurred while processing your request.</li> </ol> <p><strong>Please try one of the following pages:</strong></p> <p> <ul> <li><a href="/index.php" title="Go to the Home Page">Home Page</a></li> </ul> </p> <p>If difficulties persist, please contact the System Administrator of this site.</p> <div id="techinfo"> <p>Access Denied</p>
Last edit: 14 years 2 months ago by zoomlanski. Reason: added

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #11892 by Tim Cutbush
Replied by Tim Cutbush on topic Re: Set up Auto reminder feature on Event Booking
Hi,

Should you able able to run the eb_auto_reminder.php within Internet Explorer, or does it only work via the CRON job?

The only reason I ask is if I do run it from IE I get a SERVER 500 error and I don't seem to be getting any remionder emails when the cron job runs everyday at 4.30am

any ideas???

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #122332 by Yasel Pita
Replied by Yasel Pita on topic Set up Auto reminder feature on Event Booking
Hello there,

I'm trying to set up this cron but seems that something is missing from my end.

I downloaded in my root the file here you posted in this blog ( eb_auto_reminder.php )

The content of the file being:

<?php
$_REQUEST = 'com_eventbooking' ;
$_REQUEST = 'event_reminder' ;
require_once dirname(__FILE__).'/index.php';
?>

I set up the cron in my hosting ( Godddy ) following the instruction :

/usr/local/bin/php /home/'myrootfolder'/public_html/eb_auto_reminder.php


I wonder what should I put here on the plugin settings? here on the section -- Trigger Reminder Code (Leave empty unless you are using cron job to send a reminder)

Should I also modify the script php?

Kind regards,

YPG
Attachments:

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
6 years 4 months ago #122362 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Set up Auto reminder feature on Event Booking
That was outdated. Please follow the instructions at eventbookingdoc.joomservices.com/basic-s...job-to-send-reminder to setup reminder instead

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc