I have deleted the 'master' branch on github. This was simply a copy of MOODLE_33_STABLE and was tiresome to update. Please be aware of this change if you have been pulling from master (which you shouldn't be doing in the first place, please use the branch corresponding to the version of Moodle you are using).
In 3.3 and 3.2 I am getting rid of the hacky $this->element usage + the magic getter in an effort to improve code quality - it's an ongoing process. This will be in the next release in the plugins DB.
See https://github.com/markn86/moodle-mod_customcert/commit/5c1f1aa812caa3ecfb9608446cfb4300a6ad1c00.
$this->element will still be able to accessed via any third-party element plugins, but if you are using it in definition_after_data() it will no longer work. Please explicitly set the value of any custom fields you have in the form (the diff has examples on how to do so).
For those who have implemented their own custom certificate element please consider sharing this (if applicable) with the community via https://moodle.org/plugins/browse.php?list=category&id=73.
Thanks!
This forum post has been removed
Hi Dave,
Please don't use in the 'Important updates' thread as it's used for announcements etc, otherwise it would just fill up with unrelated topics!
In relation to your question - https://github.com/markn86/moodle-mod_customcert/issues/185 might interest you. You can set a date range. If this doesn't satisfy your requirements, you can create an issue on https://github.com/markn86/moodle-mod_customcert/issues with your desired functionality and i'll see what I can do, or even better, create a patch I can review!
Plugin updated and tags added - see https://github.com/markn86/moodle-mod_customcert/releases.
Versions that are GDPR compliant are 3.5.0, 3.4.1 and 3.3.10
Hey all,
Some good news - I will finally have some time to work on this plugin! I have been extremely busy with the Moodle 3.6 release and have neglected this plugin for a few months now, but now 3.6 has been shipped I can dedicate some time to this.
I will be working for a week (in the very soon future) on the backlog and hope to release a new version that should contain requested features and bug fixes.
Thanks for your patience!
Hi Mark Nelson, I would like to ask you a question.
I noticed that when a student finishes a course and the certificate is released to him, he can go to the profile, rename and issue another certificate with the new name.
How can I do to restrict this? Make the first name printed on the certificate remain even if it changes user settings !?
Some noticeable changes are issues 298 and 264. Please have a look at the list of versions and click on 'Learn more' to well, learn more.
I tried yo install it but it doens't work on my Moodle... and since I updated my Moodle's to 3.9 version I don'ts have access to any Certificate.
Can you please help me?
Thank you
As soon as I upgraded to 4.1 the plugin disappeared from the activity list, and deactivated from my plugin list.
mi scuso se il post è off-topic volevo però segnalare che poco fa ho scaricato il plugin da qui: https://moodle.org/plugins/mod_customcert e cercando di installarlo sul mio moodle mi ha restituito l'errore che segue.
Grazie per l'attenzione e scusate ancora se per caso sono stato inopportuno.
Patrizio


The QR code for participants only leads to the moodle home page. It would be excellent if someone scans the QR code, it takes them to the validation page, already with the code of that verified certificate.
In the last certificate, I had to create a direct QR to the validation page and under the QR I put the Certificate code so they can do it manually.
But it would be a plus if it redirects them to the page already with the verified message.
Thank you
There is a bug in Moodle 4.2 onwards that affects the visibility of the certificate when groups are involved. This is a bug in Moodle and not the plugin itself.
Please see https://tracker.moodle.org/browse/MDL-81850 for more information. If this is affecting you I would update once the tracker issue has been closed (which should be soon).
Hello Mark, after updating to Moodle 4.4 it shows me an error on all certificates. Could you help me? Thank you.

If you have been affected please read the following if you want to remove the erroneously issued certificates.
The issues for the certificates are stored in the mdl_customcert_issues database table. This table has a column called timecreated which is the date it was issued. The format it is stored in is called a unix timestamp. If you visit https://www.unixtimestamp.com/ and put in the date when you upgraded and it started issuing erroneously and convert that date to a unix timestamp using the site I mentioned you can delete all issued certificates from that date with a SQL query like "DELETE FROM mdl_customcert_issues WHERE timecreated >= :value" - note "mdl_" is the default prefix but is configurable so may be different - look at your DB for the table name to make sure. Also, please be very careful when executing this query. You should make a backup of the table before executing this.
HTH,
Mark
Hello Mark,
Thank you for this update.
On December 25th 2024, certificates were erroneously issued to some of our users. We had enabled "Email certificates" when we configured the plugin in our courses, so the participants received the certificates in their email inboxes.
My question is: if we perform the "delete" action in our database, will this action recall the mails that were sent to our users containing the certificates?