How to make a course last a week for new students

How to make a course last a week for new students

by Abdul Khan -
Number of replies: 2

i want to make a course last a week for a new student, but students will enroll at different times.  can this be done if so how? 


thanks!


Average of ratings: -
In reply to Abdul Khan

Re: How to make a course last a week for new students

by Colin Fraser -
Picture of Documentation writers Picture of Testers

I don't think I have seen this question before... so mmm I don't believe this can be done automagically, can certainly be done manually, but that becomes tedious and time consuming. 

Having said that, I am not a dev, but I would think that you could possibly do it through the database on a nightly basis... For example, an SQL SELECT and UPDATE statement that find enrolled Students, check the enrollment date and if it falls outside the current date less 7 days range then the Deleted state is reset to 1. Off the top of my head, I can't tell you which tables in the Database would be needed to be accessed, but they should be easy enough to find. You will need to test this thoroughly before implementing it, on your test Moodle, if you have one and if not then set one up asap, I suggest.   

In reply to Abdul Khan

Re: How to make a course last a week for new students

by Mark Whitington -


Hi... found this in the Course Admin settings for Self Enrolment... = duration.

see attachment

 

Attachment enrolment.png
Average of ratings: Useful (1)