mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
89 stars 157 forks source link

Allow sending email after clicking to view/download certificate #299

Closed JozefKuco closed 5 years ago

JozefKuco commented 5 years ago

Hello.

If we have restriction to access certificate after scorm quiz is completed to 70%, it sends email immediately after user completed successfuly 7 question (of 10). We need to send certificate after user exit scorm activity and clicks on download/view certificate. Not before, because user thinks, that certificate is issued before completion of scorm.

mdjnelson commented 5 years ago

There is a setting in the certificate where you can say that you would not like it to be emailed at all. Would that not work?

JozefKuco commented 5 years ago

Yeah, in some cases that would work.

But in this case i want to send emails, but only with some delay (as i described, after user download it by pressing button to download). Some "students" want to get certificate via email and is not right, that email will came to student even when scorm test is not finished.

I know this is not regular request and priority of this is not critical. But i would appreciate this function and maybe im not the only one.

Markibacsi commented 5 years ago

Hi JeyKey

Have you tried the completion settings on the SCORM activity? You should be able to set it so that the certificate will only be sent after the activity has been completed, or even after the activity has been graded.

Or, I have created an activity called ‘Download Certificate’ (which is simply a message of congratulations and links to related further reading) with a restriction based on the completion of another activity (the core element of the course) and date. The certificate activity is also restricted until the the download certificate activity has been viewed - this works great for us :)

On Mon, 22 Jul 2019 at 14:30, JeyKey notifications@github.com wrote:

Yeah, in some cases that would work.

But in this case i want to send emails, but only with some delay (as i described, after user download it by pressing button to download). Some "students" want to get certificate via email and is not right, that email will came to student even when scorm test is not finished.

I know this is not regular request and priority of this is not critical. But i would appreciate this function and maybe im not the only one.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/markn86/moodle-mod_customcert/issues/299?email_source=notifications&email_token=AJUNAUFLV6LA7SQZYVPI6X3QAWK4TA5CNFSM4IFDPH72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2PUC7Q#issuecomment-513753470, or mute the thread https://github.com/notifications/unsubscribe-auth/AJUNAUEAUNADJHCHIGZNTY3QAWK4TANCNFSM4IFDPH7Q .

--

mdjnelson commented 5 years ago

This seems like an issue with the SCORM activity and not something I can address in this plugin. @danmarsden may be able to shed some light on this issue.

danmarsden commented 5 years ago

Sounds like you should be using the completed/passed activity completion settings instead of basing it on grade. Most scorm packages won't report the completion status until the end of the activity.

mdjnelson commented 5 years ago

Thanks all, closing as it is not related to code in this plugin.

JozefKuco commented 5 years ago

Thanks @danmarsden, @Markibacsi, @markn86

I will try to set customcert condition to completion of activity, not grade.