Custom certificate

Activities ::: mod_customcert
Maintained by Mark Nelson
Enables the creation of dynamically generated certificates with complete customisation via the web browser.
Latest release:
20242 sites
347 fans
Current versions available: 12

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

Currently supported versions: 3.9, 3.10 and 3.11.

Please do not ask support questions here. For support please post on the support forums.

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


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

Comments RSS


  • Tue, Nov 8, 2016, 2:50 PM
    Hi Mark,

    How can the admin/teacher be notified when a certificate is downloaded?

  • Wed, Nov 9, 2016, 4:31 AM
    Mark, thank you for this plugin

    I am using it but I have an issue.

    I've created a certificate in my course but I want to use in another. Even as an administrator I have the same issue.
    I've realized that I should have created a template as an administrator, but now I didn't and creating the same one for another course will be a pain in the...
    Is there a way to solve this?
  • Wed, Nov 9, 2016, 1:20 PM
    Luiz - Thanks! smile The verification of certificates is being worked on in

    Mathieu - Thanks! smile This is odd. The completion API is a part of core and the activity should not have any effect on this. That being said please feel free to create an issue on with replication steps and I can then look into it.

    Jason - Thanks! smile. The image issue I believe was fixed in The code element also generates a unique code for the whole site for each certificate. Regarding your other issues - please create issues for them at

    Reza - Currently you can not, but I would be happy to accept any code changes you have that can achieve this. Possibly adding an event for this that an observer can listen to?

    Christian - Hmm, I can see this being a predicament for others as well. Unfortunately the only suggestion I have is to create a backup of the certificate and restore it into your other course. Currently you can not copy templates from one course to another.
  • Fri, Nov 11, 2016, 7:28 PM
    When i create a Custom Certificate by Manage Templates in the Mysql is inserted one row in tables mdl_customcert_pages and mdl_customcert_templates. When i add a Custom Certificate by in the course in the Mysql is inserted one row in tables mdl_customcert, mdl_customcert_pages and mdl_customcert_templates, then if i create a Custom Certificate by Manage Template and after add in the course are created two certificates in the Database and Certificate of couse is printed in blank.
    How resolve this problem? How link in the Course the Custom Certificate created in the Manage Templates?
    Issue #43 - Certificate is blank in the github
  • Fri, Nov 11, 2016, 7:56 PM
    In table mdl_customcert_templates if change the field contextid to 1 the custom certificate of course is presented in manage templates.
  • Wed, Nov 16, 2016, 12:44 AM
    Hi Mark,

    In the old version of Custom Certificate, I could manually specify the x and y coordinates of an element. This function has been replaced with 'Reposition elements'. With the old version, I could enter the margins of the element and it appeared where it should have been. However, with 'Reposition element' it is very difficult to bottom align or left align elements. In 'Reposition element' you cannot be as accurate as you need to be. Can we have the feature of entering margins manually back, please?

  • Sat, Dec 3, 2016, 3:29 AM
    Thanks for the Plugin. I understand Moodle is an open source and I appreciate all the developers efforts. However, I can't believe I have so many issues when trying to upload a certificate.
    First: When I installed the certificate I received a 500 Troubleshooting on hostgator. After many weeks the specialist found it was a file permission problem. I found that installing the module contains different file permissions I had to ask hostgator to change.
    Then, it is giving me a problem saying: PDF are not an accepted file when I want to upload a background image.....
    Moodle is a pain in the neck. You don't know how many years I am trying to make my online classes work.
  • Sat, Dec 3, 2016, 3:52 AM
    Could it be that complicated that a system that is offered in universities around the world, and that is SO complicated with so many features is not able to provide an easy solution to give students a background photo of the certificate with his/her name, student ID and Date of Completion...... This is not an Open Source, in one point, you will need to contract a developer or an engineer to do it for you.

  • Fri, Dec 9, 2016, 1:00 AM
    Hey there Mark,
    The plug in is great. I have used the old one too and I see that there is no way to do notify an email address when a new certificate has been generated.
    Would be a fantastic feature.
    Thank you so much Mark
  • Fri, Dec 9, 2016, 7:37 PM
    Hi, are there plans on upgrading for Moodle 3.2?
  • Mon, Dec 12, 2016, 12:33 PM
    Bobby - I created to address this.
    Jurgen - Will release new versions tonight that fix a few bugs and a MOODLE_32_STABLE release.
  • Wed, Dec 21, 2016, 11:04 PM
    Hi Mark,

    thanks for doing a great job. We created a mod_customcert, but there is no date on the certificate, when the user is loading it from the platform. We made the x in the plug-in at print the date and also what date the system should use.... Where can be the mistake?
    Thanks for your help, Corina
  • Mon, Jan 2, 2017, 5:31 PM
    Dear Mark,

    A Happy new year 2017 to you.

    Is there a way where by we can insert user pictures in the Custom Certificate, I tried using the module developed by Jean- Michele on the custom cert version compatible with Moodle 3.0 but it just breaks the moodle installation, so I have to delete the same.

    Also is there a way we can verify the code generated by the Custom Cert module.


    Kulin Shah
  • Wed, Jan 4, 2017, 11:44 AM
    Hi, Kulin.

    The sub-plugin structure changed slightly from the beta release to the stable release. It would not take much effort to change the user picture plugin Jean-Michele kindly developed so that it worked with the new structure. Do you have a developer who could make those changes? I created in the meantime.

    Regarding your verification question - see which I am still working on.
  • Wed, Jan 4, 2017, 1:21 PM
    Hi Corina,

    What date are you trying to print? The date element can print different dates depending on the 'Date item' chosen. What have you selected and are you sure the user has a date for this?
Please login to post comments