Повідомлення, що надісла(ла)в Itamar Tzadok

Moodle in English -> Database -> Rate own posts [2.2] -> Re: Rate own posts [2.2]

Itamar Tzadok -

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. усміхаюсь

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. усміхаюсь