Moodle plugins directory: Certificate | Moodle.org
Certificate
Activities ::: mod_certificate
Maintained by Mark Nelson
This module allows for the dynamic generation of certificates based on predefined conditions set by the teacher.
NOTE: This plugin is no longer receiving any new features. Only bug fixes are being applied. I have been working on a new plugin which can be located at https://moodle.org/plugins/mod_customcert which allows complete customisation of the PDF via the browser, whereas this plugin requires FTP and PHP knowledge. Both plugins can be installed on a site at once with no issues.
Latest release:
5842 sites
914 downloads
195 fans
Current versions available: 9
NOTE: This plugin is no longer receiving any new features. Only bug fixes are being applied. I have been working on a new plugin which can be located at https://moodle.org/plugins/mod_customcert which allows complete customisation of the PDF via the browser, whereas this plugin requires FTP and PHP knowledge. Both plugins can be installed on a site at once with no issues.
See the certificate docs for information on how to customise your certificate and for additional help please visit the certificate forums.
Contributors
Mark Nelson (Lead maintainer)
Please login to view contributors details and/or to contact them
Notice: Undefined variable: student in /home/myalf/public_html/mod/certificate/lib.php on line 374
Notice: Undefined variable: student in /home/myalf/public_html/mod/certificate/lib.php on line 374
Notice: Undefined variable: student in /home/myalf/public_html/mod/certificate/lib.php on line 407
In both cases
$from = $student;
fails b/c $student is undefined. I suspect you meant to use $user or $USER -- this fixes it, anyway.
I am getting the following error with the Certificate Module in Moodle 2.3.
'Coding error detected, it must be fixed by a programmer: moodle_database: insert_record_raw() no fields found'
When do you think the Certificate Module will be ready for Moodle 2.3?
Thanks
Steven
On the type/certificate.php I have two options (embedded or non-embedded).
For Embedded (in pdf) I see these lines:
// Add text
$pdf->SetTextColor(0, 0, 120);
certificate_print_text($pdf, $x, $y, 'C', 'freesans', '', 30, get_string('title', 'certificate'));
$pdf->SetTextColor(0, 0, 0);
certificate_print_text($pdf, $x, $y + 20, 'C', 'freeserif', '', 20, get_string('certify', 'certificate'));
certificate_print_text($pdf, $x, $y + 36, 'C', 'ean', '', 30, fullname($USER));
certificate_print_text($pdf, $x, $y + 55, 'C', 'freesans', '', 20, get_string('statement', 'certificate'));
certificate_print_text($pdf, $x, $y + 72, 'C', 'freesans', '', 20, $course->fullname);
certificate_print_text($pdf, $x, $y + 92, 'C', 'freesans', '', 14, certificate_get_date($certificate, $certrecord, $course));
How I can to use the ean font? Both for embedded and not embedded?
thanks!
(1) In lib.php line ~1235 add some default params to the function call:
function certificate_print_text($pdf, $x, $y, $align, $font='freeserif', $style, $size=10, $text) {
(2) Change each customtext output line in type/{sometype}/certificate.php to use the default params;
certificate_print_text($pdf, $custx, $custy, 'L', NULL, NULL, NULL, $certificate->customtext);
Hope that helps someone.
Mark
TCPDF ERROR: Can't open image file: /home2/autodea2/public_html/classes/moodledata/cache/tcpdf/mska_ab06cb6b020203aef3dab52d2ddf96ea
My seal is the same size as the other seals that are available in the plugin.
Not sure what I am doing wrong. Any help will be greatly appreciated.
Thanks
Debug info: Missing mandatory en language pack.
Error code: detectedbrokenplugin
Stack trace:
line 563 of /lib/upgradelib.php: plugin_defective_exception thrown
line 358 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1524 of /lib/upgradelib.php: call to upgrade_plugins()
line 329 of /admin/index.php: call to upgrade_noncore()
I'm having an issue when trying to access the certificate in IE8. If I set the certificate to "open in a new window" I just get a blank popup. If I choose to "force download" I get this IE error message - "Unable to download view.php from mydomain.com. Unable to open this internet site. The requested site is either unavailable or cannot be found. Please try again later."
The certificates are opening fine in Chrome and Firefox. I'm needing to go live with this site as soon as possible, so any help you can provide is greatly appreciated! Thank you in advance!
I just downloaded the certificate module, and it seems to work well in the original english language, but there are a couple of language strings which were not available for translation in AMOS. The uploadimage string and the associated help string.
I do not know how this might be corrected, but perhaps the programmer (maintainer) of the plugin might get in touch with David Mudrak and sort it out. It is a great plugin and many of us would love to have it available in many other languages additionally to English.
Thanks in advance,
German Valero
"If the Email Teachers option is set to Yes then all users with a Teacher/Trainer role within the course will receive an autogenerated email whenever a student receives a Certificate. "