ATutor

Learning Management Tools







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


BeginEnd Dates


  • 2007-07-16 14:01:26

    BeginEnd Dates

    Is there a way to track a student's access points without going to My Tracker? I have independent study courses that are available for 30 days once a student first accesses them. I need to know when that is, so the student can be removed from the course after his/her 30 days are up. I'm not seeing this type of specific information in Statistics or Content Usage. Can anyone help?

  • 2007-07-16 14:46:34

    Re: Begin/End Dates

    Currently, there is no such feature unless and until I have missed it. I'm currently working on such a feature and waiting for greg to actually give me some pointers on a few doubts that I have... So once he replies to one of my other threads, I will be releasing this as a mod... Until then, greg will have to help you out I guess...

  • 2007-07-16 16:49:03

    Re: Begin/End Dates

    All of our courses are also independent study, available to anyone, and I need to generate a report that shows the number of new enrollees per course each month. Since I could not find a way to do it within ATutor, I added a data field "enroll_date" to the AT_course_enrollments table and store the current date in the field when someone enrolls, which required a modification to enroll.php. I can then generate a monthly access report using mySQL. Using this extra field you could have a query against the database to remove users 30 days past the enroll_date.

    I do think it would be nice if enroll_date were added to ATutor's database along with the subsequent mod to enroll.php to store the value upon enrollment...

    Sandie

  • 2007-07-16 16:51:44

    Re: Begin/End Dates

    Well, I've done a little more than that... Not just 30 days but almost all the packages one can think of... 1 Week to 1 Year... I'm just waiting for greg's approval/denial....

  • 2007-07-16 18:36:19

    Re: Begin/End Dates

    legend, approval/denial doesn't really apply to modules. You can do whatever your want. We're a little more picky about code being added to the primary source code, less so with modules.

    I'll try to look at your module in the next few days, though time is short at the moment. I'd help if you could get it to a state where it would install, or set it up somewhere where we can try it out.

    A note on end/start dates, an end date course property has been added, and available in SVN. I'm not sure how this will affext your module, but you may want to try your module with a fresh checkout from the repository.

  • 2007-07-17 03:45:23

    Re: Begin/End Dates

    No greg. I guess I wasn't clear about my point. I won't ask you to add anything to the Primary Code. I saw a recent discussion somewhere where you made your point clear of adding things to the base code.

    Could you please let me know if end_date is the only end_date is the only thing you've added or you've added others too? I mean, is there a log in the repository to which you can link me too? My mod inserts a table:

    //cc_course_enrollment_details --> holds the duration details and payment details
    // member_id
    // course_id
    // start_date
    // end_date
    // package_id
    // under_combo
    // payment

  • 2007-07-17 04:00:56

    Re: Begin/End Dates

    Hmm... I downloaded one of the nightly build and tested it out but couldn't find the end_date column. Maybe I'm looking at the wrong place and hope you'd guide me.

    As for the end_date, my mod is completely different, the student will be able to choose even a start date for the course so that his validity would start from that particular date... Hope I'm able to convey my point...

  • 2007-07-17 11:16:24

    Re: Begin/End Dates

    It is there. Look for "end_date"

    http://atutorsvn.atrc.utoronto.ca/repos/atutor/trunk/docs/install/db/atutor_schema.sql

  • 2007-07-17 11:18:35

    Re: Begin/End Dates

    Alright... I got it... Sorry for the trouble... Anyways, what I am doing is completely different... I'll come out with the complete documentation too in a few days... Can you kindly let me know if there is anybody whom I can approach to get this module integrate with PayPal?

  • 2007-07-17 12:04:43

    Re: Begin/End Dates

    There is a list of service providers, some of whom do custom development. You try contact a few of those.

    Have you looked at the Payments module? It supports PayPal.

  • 2007-07-17 12:06:48

    Re: Begin/End Dates

    Yeah I've looked at it. I think I'll have a look at it again. I don't understand why the script used so many functions. Thats the only problem. Never mind, I'll have a look at it again...

  • 2007-07-18 10:56:21

    Re: Begin/End Dates

    How can I get a module to execute a particular piece of code everytime the user logs in? I want to check for the validity of a course but then I am doing this by editing the index.tmpl.php file in the themes folder.

    I don't think this is such a good idea. Is there any other way I could actually do it?

  • 2007-07-18 11:21:34

    Re: Begin/End Dates

    You can't. There is no plan to make this possible any time soon.

    If you can write up a detailed description of what it is you're trying to achieve, we may be able to add it to the core. Provided the functionality would be useful to others.

  • 2007-07-18 11:36:18

    Re: Begin/End Dates

    Wow... another developer.. Pleased to see you Sir... I'm almost done with a module.. I'll release it soon and will take pointers from you as to what best can be done with that.....

  • 2007-07-18 11:47:32

    Re: Begin/End Dates

    Anyways, here's what I need:

    In my module, I take the start date of a particular course and depending on some parameters, I calculate the end date and then store both in the database. Now i need to determine if the end date has been passed. If it has, then I need to remove the student from the course. What is the best way to achieve this? I mean, at what stage should I check all these?

  • 2007-07-18 13:13:32

    Re: Begin/End Dates

    Does the end date change from student to student?

    I think this feature makes the most sense for private courses, where you don't want to remove the student from the course, you just want to not allow access.

  • 2007-07-18 13:16:09

    Re: Begin/End Dates

    Yes this feature is for a private course where a student will be given a validity package. He will be asked the start date for the course and I will calculate the end date based on his package, say One month package or Two months package. So it varies from student to student... All the table creation tasks are over... I just need to check the expiry for each and every student and remove him from the course _enrollment table.

  • 2007-07-18 14:38:08

    Re: Begin/End Dates

    In that case it's easy.

    Instead of removing the student from the course just sent the enrollment field to 'n' (for not enrolled).

    See the example modules for create a scheduled cron. The cron can run every day and un-enroll students who are to be expired.

  • 2007-07-18 14:41:18

    Re: Begin/End Dates

    Oh... I'll try that out... And if I want to display the remaining dates and things like that, there is no other way other than editing the theme files right? Just to confirm before I start writing the code...Thanks for your time...

  • 2007-07-18 15:30:01

    Re: Begin/End Dates

    You could do it in a theme, but then it would be difficult to use the module elsewhere.

    But, for now there's no other way.

  • 2007-07-18 15:31:42

    Re: Begin/End Dates

    Thanks a lot... For my first release, I'll stick to that... In my later revisions, I'll think of a different logic :)