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.
2573 sites
97 fans

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

Currently supported versions: 3.2, 3.3 and 3.4.

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 Claudio Bartoloni
    Tue, 14 Nov 2017, 5:47 PM
    Hi Mark
    I'm using your valuable plugin in a moodle installation in italy using the italian language for my users.
    But in a course I need to produce a certificate in english and I have a problem with the issue date that is translated in italian.
    In other words all the certificate is written in english (using english texts) but the date is in italian and it looks very strange.
    Is it possible to customize the plugin specifying the date language?
    Thank you in advance
  • Picture of Marcos Almeida
    Thu, 16 Nov 2017, 5:26 AM
    Boa Noite Mark

    qual a possibilidade de incluir QRcode nesta nova versão assim como tinha na verão anterior??.... eu estava usando esta opção antes e senti falta nesta aqui que esta bem melhor!
  • Picture of Mark Nelson
    Thu, 16 Nov 2017, 2:48 PM
    Hi Brian - will have to check when I get home. I am running Linux at work, so no copy of safari to confirm. I still find the issue odd and suspect it may be something to do with your custom theme. Are you able to check the DOM via the browser and see what CSS rule (if any) is making it appear so large?

    Claudio - Currently the date's language defaults to whatever timezone is being set, so in your case it is most likely 'Europe/Rome'. This would be a bit tricky to fix. I have created to look into it.

    Marcos - I have created
  • Picture of Brian Warling
    Fri, 17 Nov 2017, 3:35 AM
    Mark -- I did test this on a new Moodle 3.2 install (doesn't include our custom theme), and saw the same result -- huge delete icon when using a Mac running Yosemite (Safari 10.1.2). On the same Mac running a new Moodle 3.3 install, the delete icon is sized correctly.

    In Moodle 3.2 (huge icon in Yosemite/Safari), I see this:

    img class="smallicon" alt="Delete" title="Delete" src="http://xxxxxxx/moodle32/theme/image.php/clean/core/1510616534/i/delete"

    .action-icon img.smallicon {
    vertical-align: text-bottom;
    margin: 0 .3em

    (note that in Moodle 3.2, the icon is sized correctly in Boost, and in both Clean and Boost on Chrome and Firefox; the icon is correctly sized in all themes/browsers in macOS Sierra and High Sierra)

    In Moodle 3.3 (normal icon in Yosemite/Safari), I see this:

    img class="icon " alt="Delete" title="Delete" src="http://xxxxxxxx/moodle33/theme/image.php/clean/core/1510613464/i/delete"

    img.icon {
    height: 16px;
    vertical-align: text-bottom;
    width: 16px;
    padding-right: 6px

    I hope this helps. Let me know I can provide any more info. Thanks.. Brian
  • Picture of rkLearn .
    Wed, 22 Nov 2017, 7:40 AM
    Hi, Custom certificate is giving error when I edit an element. What could be the reason for this? Thanks
  • Picture of Mark Nelson
    Wed, 22 Nov 2017, 11:11 AM
    Hi rkLearn,

    I can't really tell without anymore information. Can you please turn on debugging and check what the errors are?
  • Picture of Mark Nelson
    Wed, 22 Nov 2017, 11:11 AM
    Hi Brian - keep forgetting to check this on my laptop. On my work machine (linux) atm.
  • Picture of Tony González
    Tue, 28 Nov 2017, 5:49 AM
    Hello Mark, CCan I increase the size of the font-size > 60 points to student name? .
  • Picture of rkLearn .
    Tue, 28 Nov 2017, 10:54 AM
    Hi Mark, Please advise the default certificate image size/pixels that is generated from the plugin? Thanks.
  • Picture of Rolf Petersen
    Tue, 28 Nov 2017, 5:14 PM
    Hi Mark nearly since this great plugin has been released I use it in several Moodle Installations. Usybility is great until now.
    I have to but a date into the certificate that is one year ahead. "... Certificate valid until ... (now + 1 year)". Do you have an idea, how can I manage that? Thanks for any hint you can give!
  • Picture of Mark Nelson
    Tue, 28 Nov 2017, 5:59 PM
    Hi Brian - I still can't reproduce the issue in Moodle 3.2 running Safari on Clean or Boost.

    Hi Tony - I have created

    Hi rkLearn - The default size is determined by the image that is uploaded. It is automatically calculated.

    Hi Rolf - This would require code knowledge. You would have to create your own element or edit the existing date element to allow you to do this. You could also add a text element and write the date manually, or would this be something that is constantly changing?
  • Picture of Rolf Petersen
    Wed, 29 Nov 2017, 12:13 AM
    Hi Mark
    Thank you for your response. In deed the date to be displaey is changing for each customer. When course is finished (today or on any other day) the date to be displayed is always one year ahead.
    So I think I have to do some coding (I am a bit familiar!) Can you please direct me to the file I have to edit?
    Best would be, if it would become possible to have an additional Line in dropdown to add certificate-entries (now there are 15 entries, may be I can code a 16th "myDate") and than be able to adjust ...period ahead (= xxx days) or something useful similar to that.
    Or when I use simple Text to add, is it possible to have a coding block within that text?
    Thanks fpr careing!
  • Picture of Brian Warling
    Wed, 29 Nov 2017, 1:43 AM
    Hi Mark -- I wanted to report that I just upgraded my MacBook Pro to Sierra. Now, in Safari, the delete icon is sized correctly.
  • Picture of E C
    Thu, 30 Nov 2017, 4:47 AM
    We've been having a problem for the last couple months where two certificates are being issued to a user. This is happening at least every other day and it's happened twice today. Is anybody else seeing this? When this happens, users get a "Multiple Records Found" error when pressing the download certificate button. This also prevents the certificate emails from going out. To fix I delete the extra record out of the database and run the custom cert email scheduled task. We're running 3.3.3 with the latest custom cert module.

    Looking at the issuing code in view.php and can see that this is possible if a user where to press the download certificate button twice and fast enough where the duplicate issue check comes back false, but I haven't been able to recreate that.
  • Picture of Augusto R. M.
    Thu, 7 Dec 2017, 3:34 AM
    Hello. Currently using 3.3. and dosen't work propperly.
    I created a template. I added two text elements and image. All of them render one above the other, on the top left corner. Not center text option found. Further, I add border element, and put left and righ margin. Result: border render but none margin is set. Finally, where can I set page orientation?
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments