Timed / Scheduled Release of resources

Timed / Scheduled Release of resources

by Bruce Webster -
Number of replies: 6
We want to show or hide resources or activities on specific dates.
The only information I can find on this is this tracker item:
http://tracker.moodle.org/browse/MDL-14619
This feature may be in 2.0 but we need it in 1.9

My idea is to make a new database table with resourceid, changedate and newstatus (1 or 0 for show or hide) columns. So you could have 2 entries to show a resource on one date and then hide it again later. A cron task would process the entries that need changing.

Now what interface should this have, and how do I add it to Moodle? I'm new at writing Moodle plugins but I don't think theres a simple way way to add fields (and processing code) on all resource input forms. If I write a new php page which lists all course resources in one place with current show/hide status and the ability to add schedules then I think it will be easy to use as well as not requiring any changes to core code.

What do you think?
Comments please!
Average of ratings: -
In reply to Bruce Webster

Re: Timed / Scheduled Release of resources

by Daniel Harkavy -
I love the idea. We just switched over to Moodle from Blackboard at my school, and I am very impressed by Moodle.

However, one of the few things that Blackboard had that Moodle lacks is the ability to make files/resources available at a set time and then remove it at a different time.

I would love to see it...
In reply to Bruce Webster

Re: Timed / Scheduled Release of resources

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Bruce,
There are already a number of ways to make ressources and activities visible to or hidden from the students in Moodle. Activities such as Lessons and Quizzes can be "opened" and "closed" at given dates. What more do you want? Maybe you want to make resources such as HTML uploaded files available on certain dates automatically?
Joseph
In reply to Joseph Rézeau

Re: Timed / Scheduled Release of resources

by Daniel Harkavy -
That would be what I am looking for.

After I give tests in class (I have not yet gotten around to setting up tests and quizzes on Moodle, and I question the security of tests outside the classroom), I put up an answer key for students to check themselves. I want the key to appear three class days after the test is given, and disappear 24 hours later. And I don't want to have to remember to shut it off after I turn it on.

I know I can do this manually, but would prefer a way for it to be automatic.
In reply to Bruce Webster

Re: Timed / Scheduled Release of resources

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
There are a few issues that seem to be possibly relevant. MDL-16183 seems to be the current tracker issue for making a resource visible and accessible to non-teachers at a particular time. MDL-14619 refers to activities which are different than resources. MDL-15604 is now resolved as a duplicate of MDL-16183. So if you are interested in this feature, please comment, watch, and/or vote on MDL-16183. Those who had previously voted for MDL-15604 may want to cast a vote for MDL-16183. Peace - Anthony
Average of ratings: Useful (1)
In reply to Anthony Borrow

Re: Timed / Scheduled Release of resources

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Actually, all of these duplicate MDL-15497, which is done in Moodle 2.0 dev. See Conditional activities.
Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Timed / Scheduled Release of resources

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Thanks Tim, I had suspected it might have been handled by conditional activities but your confirmation is good news. Peace - Anthony