|
[
Permalink
| « Hide
]
Mike Worth added a comment - 19/Aug/08 04:38 PM
Oops- I've just realised this was supposed to go in the CONTRIB section but I've mistakenly put it here. Sorry
Fixed the credentials issue- I now have a copy that imports them from config.php (as long as it can be found at /usr/share/moodle/config.php) I'll wait until this has been put in contrib before I start plastering code everywhere though
Mike I've started work on separating these 3 scripts and integrating them into moodle.
This cron.php file is to go in blocks/mrbs, then by adding " $this->cron=300;" to the blocks init() and the function " function cron(){ global $CFG; include($CFG->dirroot.'/blocks/mrbs/cron.php'); }" to the mrbs_block class it is run by moodle's cronjob. I've also added "$settings->add(new admin_setting_configtext('cronfile', get_string('cronfile', 'block_mrbs'),get_string('cronfiledesc', 'block_mrbs'), NULL, PARAM_TEXT)); Mike - I think I like the block approach better. What would you like me to do with this cron.php file? Peace - Anthony
Re-doing the other functions of this script into nicer blocks is on my todo list; at a guess if it's left open then once I re-do it it can be marked as resolved by that. I don't have much experience with trackers so feel free to do something else if I've misunderstood how this whole thing works.
There are several options, you can create a couple sub-tasks and work on those until this is resolvable, or you can just consider that work part of resolving it. In either case, I'm just going to assign this issue to you to work on and then when you have code that is ready you can let me know and we will handle it from there. I'm trying to work through the issues that have been assigned to me. Peace - Anthony
as for not having much experience with tracker issues feel free to play around with this one. Let me know if you have any questions. Peace - Anthony
Metacourse linking feature (although not removal of redundant metacourses) has been re-written into a separate block
I've written the mrbs, tutor link and metalink functionality into other blocks. The attendance needs redoing to work with the new attendance module anyway. I won't have time to do that before my contract finishes; Mark Johnson
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||