When editing the activity:
String [grade,core] is deprecated. Either you should no longer be using that string, or the string has been incorrectly deprecated, in which case you should report this as a bug. Please refer to ``https://docs.moodle.org/dev/String_deprecation
line 397 of /lib/classes/string_manager_standard.php: call to debugging()
line 7414 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 144 of /mod/randomactivity/view.php: call to get_string()
Astor Bizard (c5cdff39) at 09 Nov 11:42
Deprecated grade string (closes #2)
Astor Bizard (9da95f78) at 09 Nov 11:41
Added support for completion tracking of assigned activities.
Hi,
As you pointed out, with the current state of the plugin and the way activities are drawn from the pool, I do not think it is possible.
Perhaps in a version 2, I will come up with another draw method.
It's possible for two random modules to choose the same activity.
Eg. if you have 5 quizzes and two activities, it could choose quiz 1 for both.
Is there any way to avoid this?
Otherwise, how would you extend the plugin to implement this? It seems a bit tricky since you'd have to check all the other random activities for that user but they're not 'assigned' as such, they're looked up every time using the seed. If we want to override the randomactivity_get_assigned_activity lookup to filter out previously assigned activities, we have to use the same function in any other random activities anyway to get the users currently assigned activities and it becomes a recursive problem.
Just want to reach out to see if I'm thinking about this in the right way and if there's an alternative solution, thanks
When editing the activity:
String [grade,core] is deprecated. Either you should no longer be using that string, or the string has been incorrectly deprecated, in which case you should report this as a bug. Please refer to ``https://docs.moodle.org/dev/String_deprecation
line 397 of /lib/classes/string_manager_standard.php: call to debugging()
line 7414 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 144 of /mod/randomactivity/view.php: call to get_string()
Astor Bizard (9da95f78) at 18 Jul 14:02
Added support for completion tracking of assigned activities.
... and 2 more commits
Astor Bizard at 12 Apr 10:53
Astor Bizard (12d23683) at 06 Apr 16:24
Searching for activities no longer shows whole section when only on...
Astor Bizard (bea15d13) at 18 Feb 15:29
Moodle coding style compliance (js @package tag, typo in template)
Astor Bizard (f3377be3) at 18 Feb 15:00
Random Activity due date now shown on timeline block.
... and 1 more commit
Astor Bizard (cc60d6d1) at 18 Feb 12:24
Moodle coding style compliance (useless checks, eof line).
... and 1 more commit
Astor Bizard (16ff5715) at 22 Jul 11:56
Security fix: restored submitted data cleaning.
Astor Bizard (f9c94094) at 22 Jul 10:52
Security fix: restored submitted data cleaning.
Astor Bizard (b9f8c422) at 22 Jul 10:46
Secutiry fix: now checks sesskey and post data for activities pool ...
Astor Bizard (f5ab5eac) at 15 Apr 15:36
Added support for groups and groupings.
Astor Bizard (3309a776) at 09 Apr 10:12
Minor rework of section navigation for activities addition.