Plugins
  1. Plugins
  2. CONTRIB-334

[PATCH] Support for Face-to-face linked activities

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9, 2.0
    • Fix Version/s: 1.9
    • Component/s: Module: Certificate
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Here's a patch which adds support for Face-to-face linked activities in the certificate module.

      It is against the 1.8 version of the module, but it also applies fine (offsets only) to the 1.9 version and HEAD.

        Gliffy Diagrams

          Activity

          Hide
          Manolescu Dorel added a comment -

          Please can you tell me how to install this patch.
          Thank You in advance!

          Show
          Manolescu Dorel added a comment - Please can you tell me how to install this patch. Thank You in advance!
          Hide
          Francois Marier added a comment -

          Hi Manolescu,

          You'll find instructions on how to apply a patch here:

          http://docs.moodle.org/en/Development:How_to_apply_a_patch

          Cheers,
          Francois

          Show
          Francois Marier added a comment - Hi Manolescu, You'll find instructions on how to apply a patch here: http://docs.moodle.org/en/Development:How_to_apply_a_patch Cheers, Francois
          Hide
          Manolescu Dorel added a comment -

          Thank you.
          But does this pack work also for the latest Moodle version.
          Because i receive an error, something like "/mod/certificate/lib.php" does not exist.
          I tried ti find the file inside moodle but I could't.

          Thank you again!

          Show
          Manolescu Dorel added a comment - Thank you. But does this pack work also for the latest Moodle version. Because i receive an error, something like "/mod/certificate/lib.php" does not exist. I tried ti find the file inside moodle but I could't. Thank you again!
          Hide
          Francois Marier added a comment -

          Well that patch is only for the certificate module (http://moodle.org/mod/data/view.php?d=13&rid=683).

          It looks like you don't have that module installed.

          Note that this bug, unfortunately, has nothing to do with activity reports (http://moodle.org/mod/forum/discuss.php?d=109611).

          Show
          Francois Marier added a comment - Well that patch is only for the certificate module ( http://moodle.org/mod/data/view.php?d=13&rid=683 ). It looks like you don't have that module installed. Note that this bug, unfortunately, has nothing to do with activity reports ( http://moodle.org/mod/forum/discuss.php?d=109611 ).
          Hide
          Manolescu Dorel added a comment -

          oK.
          Thank you!

          Show
          Manolescu Dorel added a comment - oK. Thank you!
          Hide
          Iver Johnson added a comment -

          When I try to apply this patch, I get the error "Hmm... I can't seem to find a patch in there anywhere" and nothing else happens. I am sure I am missing a step somewhere, but I have no idea where.
          Any help out there?

          Thank you in advance!

          Show
          Iver Johnson added a comment - When I try to apply this patch, I get the error "Hmm... I can't seem to find a patch in there anywhere" and nothing else happens. I am sure I am missing a step somewhere, but I have no idea where. Any help out there? Thank you in advance!
          Hide
          Iver Johnson added a comment -

          I figured out the answer to above.

          Now, Face-to-face has changed the grade location to add Gradebook support. This means that facetoface no longer changes the "grade" field in the _facetoface_submissions table, which it appears this patch works on. Can it be changed to work based on the rawgrade or finalgrade fields in the _grade_grades table?

          Show
          Iver Johnson added a comment - I figured out the answer to above. Now, Face-to-face has changed the grade location to add Gradebook support. This means that facetoface no longer changes the "grade" field in the _facetoface_submissions table, which it appears this patch works on. Can it be changed to work based on the rawgrade or finalgrade fields in the _grade_grades table?
          Hide
          Iver Johnson added a comment -

          I have been working for some time on this issue, and cannot seem to get it to work. I have tried a facetoface_get_grades call and a grade_get_grades call and cannot seem to figure out what I am missing. I was wondering if anyone had a chance to look at this little piece of code?

          Show
          Iver Johnson added a comment - I have been working for some time on this issue, and cannot seem to get it to work. I have tried a facetoface_get_grades call and a grade_get_grades call and cannot seem to figure out what I am missing. I was wondering if anyone had a chance to look at this little piece of code?
          Hide
          Francois Marier added a comment -

          Here is an updated patch for the 1.9 version of the Face-to-face module, which uses the 1.9 gradebook.

          Show
          Francois Marier added a comment - Here is an updated patch for the 1.9 version of the Face-to-face module, which uses the 1.9 gradebook.
          Hide
          Dan Marsden added a comment -

          Hi Francois,

          I've just committed this to 1.9Stable and Head versions of the cert mod in CVS - can you please check it to make sure it looks ok?

          thanks,

          Dan

          Show
          Dan Marsden added a comment - Hi Francois, I've just committed this to 1.9Stable and Head versions of the cert mod in CVS - can you please check it to make sure it looks ok? thanks, Dan
          Hide
          Jeremy Schweitzer added a comment - - edited

          Nevermind

          Show
          Jeremy Schweitzer added a comment - - edited Nevermind

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development