Activities: Custom certificate

Maintained by Picture of Mark Nelson Mark Nelson
Enables the creation of dynamically generated certificates with complete customisation via the web browser.
3864 sites
120 fans

This plugin allows the generation of dynamic PDF certificates with complete customisation via the web browser.

Currently supported versions: 3.3, 3.4 and 3.5.

GDPR Compliant.

If you like this plugin feel free to donate. smile btn_donate_LG.gif


This plugin is part of set MoodleCloud.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Mark Nelson
Mark Nelson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Glauco Porciuncula
    Tue, 6 Mar 2018, 9:58 PM
    Hi mark.

    Can you prevent PDF files modification in My Certificates page? When any data is modified in certificate activity the generated certificates also is modified. Moodle 3.1
  • Picture of Mark Nelson
    Mon, 12 Mar 2018, 2:43 PM
    Hi Justin - Please see

    Hi Tim - no, updating the plugin won’t resolve the issue. Can you create an issue in Thanks.

    Hi Glauco - Currently you can not. The PDF is dynamically generated each time. Please see
  • Picture of Glauco Porciuncula
    Mon, 12 Mar 2018, 7:12 PM
    Thanks Mark. Is there any way to remove the "my certificates" link from the profile?
  • Picture of Tim Bahula
    Wed, 14 Mar 2018, 3:30 AM
    Created Issue 171 for problem reported above.
  • Picture of Arnel Jr. Rubiano
    Tue, 3 Apr 2018, 2:41 PM
    Please HELP. MOODLE 2.9
    - downloaded - 2.9/3.0 release (Build: 2016032202) (2016032202)Moodle 2.9, 3.0 - ok
    - Installed as administrator on moodle site. - ok
    - customized template. ok
    - downloaded and previewed pdf. - ok
    - ERROR - Blank page in course (Get your custom certificate)
  • Picture of Carlos Moran Diaz
    Thu, 5 Apr 2018, 8:04 PM
    Please, how can I share or view the url of my certificate? it is to share the url of the pdf or of the certificate to other users or for share it on linkedin certificates

  • Picture of Edmund Evangelista
    Sun, 8 Apr 2018, 2:10 PM
    Is there a way to download at once all issued certificate as a zip file?
  • Picture of Tim Bahula
    Tue, 10 Apr 2018, 10:37 PM
    We've got some new teachers using custom certificates. They are confused by the largish "Download certificate" button that they see when accessing the activity. It would be helpful to hide that button for teachers who don't also have a Student role.
  • Picture of Ruth de Wilde
    Wed, 11 Apr 2018, 5:33 PM
    Hi Mark, this plugin works fine with us. Thanks! But I was wondering is it's possible to download the certificate more than once, without the remark : "Summary of issues", The translation in Dutch was quite weird, we changed this, but we rather have no remark at all. And I was wondering if it's possble to add "the eye" in the certificate template , so you can make one standard certificate with several options and close an element if it's not requierd for that occasion.
  • Picture of Richard Lefroy
    Mon, 30 Apr 2018, 2:55 PM
    Hi. I'm not sure if I've missed something somewhere... but I can't find any documentation/explanation on the following basic concepts of this plugin:
    1. How/when is a certificate "issued"? Is it issued when a user accesses/clicks the activity? And/Or when they have completed/achieved a specified goal/task... and if so, is this just set up using the "restrict access" settings within the plugin?
    2. Who can a certificate be issued to? EG How do I set it so that only users with a "student" role in a course can be issued a certificate
  • Picture of W Roes
    Thu, 3 May 2018, 5:42 PM
    Hi Mark,

    We're seeing the same problems as mentioned by in december 2017. I believe a pull request was created

    Will you be integrating that in the next release?

  • Picture of FPV Learning
    Wed, 6 Jun 2018, 10:52 AM
    Hi Mark,

    Not sure if this has been asked, but I am having trouble getting the background image to show. Its there when repositioning elements, but then disappears in PDF mode.

    Any advice?

  • Picture of Mark Nelson
    Wed, 6 Jun 2018, 2:47 PM
    Hi all,

    Sorry for the delay in responding. I am getting a lot of feature requests/general emails in regards to this plugin and it is only something I work on in my spare time, for the most part.

    Glauco - Sorry, no. You would have to edit the code or alter your theme to hide it.

    Tim - Thanks for the report Tim.

    Arnel - That version is no longer supported, please upgrade. If you are stuck with using that version I suggest you turn on debugging so that there is a more meaningful message.

    Carlos - You can download the PDF and use it wherever you want. I am not familiar with Linkedin certificates, sorry.

    Edmund - No, there isn't, but that is a good idea. Feel free to create an issue at

    Ruth - Currently you can only get one issue per certificate per user. To remove that you could leave the string empty. I am not sure what the advantage of hiding an element on a certificate, rather than just deleting it would be.

    Richard - Yes, it is when the certificate gets downloaded. It can be issued to anyone who can access the activity and download the certificate.

    W Roes - I pulled that patch in and it is now available with the new releases.

    FPV Learning - This sounds like a bug. Could you create an issue at with more details (eg. type of image)?
  • Picture of Adan Garcia
    Fri, 8 Jun 2018, 1:49 AM
    Hi Mark, thank you very much for your work.
    I was using your past plugin for many time and I´ve been always very happy about its performance.
    Now I am configuring this one in a Moodle 3.4.2 and I was wondering if there is a way to set that the student name is always printed in capital letters no matter how the student was writing it. I got that in the past Certificate plugin by adding to the certificate.php the code below but I don´t find where to add the code in this version since the customization is via web browser, Will you be so kind to indicate me if this would be possible or if you are thinking in including this feature in the student name field of the plugin in coming updates?. Thanks again and kind regards. Adán

    Added code used to get the string fullname$USER in capital letters in the past version of the plugin: certificate

    $cadena_devuelta = strtoupper(fullname($USER));
    certificate_print_text($pdf, $x , $y + 35, 'C', 'Helvetica', 'B', 12, $cadena_devuelta);
  • Picture of Mark Nelson
    Mon, 11 Jun 2018, 3:21 PM
    Hi Adan,

    Feel free to create an issue at

    In the meantime, to achieve this in the current plugin you can edit the mod/customcert/element/studentname/classes/element.php file and in the render() function wrap the fullname in strtoupper() (like in your example above).
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Please login to post comments