ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Auto Enroll Master list or Cron Job


  • 2014-07-26 15:11:36

    Auto Enroll Master list or Cron Job

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on - Linux 2.6.18-348.4.1.el5
    ATutor version - 2.1.1
    Patch #s applied - All
    ATutor theme name - Original
    PHP version - 5.2.17
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

    I must first thank everyone involved in Atutor as I love the simplicity of the software for my LMS needs. Here is my story:

    I'll start with what I need as I know someone brighter than me has figured it out. I have a course in Atutor that I need to grant access to the course automatically after the student has used the Jotform on my site and paid. Here are the options I've explored and the issues I have with each one:

    1. Auto Enroll. The auto enroll feature with Atutor is fantastic but the problem is that I can send the link to the student automatically after they paid but I'm concerned that they can then distribute the link and then I will have people completing the course that have not paid. I read that I can set the course enrollment to instructor approval but then it defeats the purpose of being automatic.

    2. Master List. I read up on the using the master list to mass enroll but how can i make this work?

    3. Jotform allows webhooks/scripts to run after payment. Is there any way to write a specific script that contains specific data of the student to enroll that particular student in the course? What I mean is maybe a url that has the name, id, password, etc and that information will be send to Atutor and then the student can just log in with their info since they will already be in the system?

    4. I explored using the payment feature of Atutor with paypal but the part about the paypal IPN concerns me as I already use the IPN for other registrations? Any idea if the IPN can be used on multiple sites?

    5. Cron job. Is it possible to have a cron job setup that will every hour will query a certain database of paid students and allow them to start the course?

    The ideal situation would be to find a way to create a script/url/cron/etc... that Jotform can send to Atutor to enroll the student after payment. However, I'm open to suggestions.

    Thanks to everyone that has read this post.

  • 2014-07-28 09:19:24

    Re: Auto Enroll, Master list, or Cron Job?

    It sounds like you've given this a lot of thought.

    I suppose if I were to choose one of these option, I'd go for the Paypal route. Since you already have a Paypal account it seems, its then relatively easy with the Payments module to automate course enrollment. I would assume IPN would not be a problem, but can't confirm that. If you have a Paypal sandbox, you could experiment.

    I'm not familiar with JotForm, but it seems like it might also be a good option, combined with a cron job to pull info from wherever it stores its data, to update the ATutor database. Of course there'd be some programming involve, but nothing too complicated.

    Good luck!