mod/data/lib.php around 1431
// Check the rateduserid is not the current user .. you can't rate your own entries
if ($params['rateduserid'] == $USER->id) {
throw new rating_exception('nopermissiontorate');
}
hth
mod/data/lib.php around 1431
// Check the rateduserid is not the current user .. you can't rate your own entries
if ($params['rateduserid'] == $USER->id) {
throw new rating_exception('nopermissiontorate');
}
hth
Thanks Jean-Michel. I've been asked about porting this qtype but since you are already working on it I suppose I can explore other (stackless) approaches to a similar effect.
Jean-Michel, are you planning to port this qtype to 2.3 or do you know of anyone who is working on that?
Finally got to trying that. Reduced the table size by 30%!
Thanks.
It's one and the simplest of a few question tools I've been using to make my work more efficient. Indeed it is similar to Socrate in certain respects and I think that it is so because there are some obvious extensions of the cloze interface which anyone with some spare time could implement fairly easily this way or another.