Important updates

Important updates

by Mark Nelson -
Number of replies: 37
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
The custom certificate plugin is pretty much unusable in Oracle due to the usage of a reserved word. This will be fixed as soon as I get free time, please see https://github.com/markn86/moodle-mod_customcert/issues/123.
Average of ratings: Useful (1)
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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 reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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).

In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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!

In reply to Mark Nelson

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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! smile

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! smile

In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I will be releasing a new version of the plugin this week for 3.3, 3.4 and 3.5 so that it is GDPR compliant.
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I will be adding mobile support for the next release for 3.3 onwards allowing students to download the certificate via the mobile app. Stay tuned! smile
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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!

Average of ratings: Useful (2)
In reply to Mark Nelson

Re: Important updates

by Josias Souto -

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 !?

In reply to Josias Souto

Re: Important updates

by Rob Mills -
You can lock the name fields in the user profile - that's what we do. That way only admins can change the names of users.
Average of ratings: Useful (1)
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hey all. I no longer work for Moodle HQ (as of around May 2019) and have (nearly) moved on from the Moodle world professionally. I will still use my free time to maintain this plugin and fix bugs where I can but would really appreciate help from the community in answering some of the questions on this forum, and even working on some of the issues on Github. Cheers.
Average of ratings: Useful (1)
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
New versions are out for 3.6, 3.7 and 3.8

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.
Average of ratings: Useful (2)
In reply to Mark Nelson

Re: Important updates

by C S -
There's a 3.9 new version available, right? (This one: https://moodle.org/plugins/mod_customcert )
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?
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I am releasing a new version for 4.0 which will hopefully solve a few issues people have been complaining about.
Average of ratings: Useful (3)
In reply to Mark Nelson

Re: Important updates

by Julien Garrigue -
Hello, any ETA to make it available for Moodle 4.1?
Thank you
In reply to Julien Garrigue

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Does the 4.0 version not work with 4.1?
In reply to Mark Nelson

Re: Important updates

by Julien Garrigue -
Hi
As soon as I upgraded to 4.1 the plugin disappeared from the activity list, and deactivated from my plugin list.
I can't install it from Moodle pluging website under the 4.1 version : https://moodle.org/plugins/?q=certificate%20moodle-version:4.1

Best regards
In reply to Julien Garrigue

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
That is absurd and very strange behaviour. I am not sure why that would happen. Ill have to try it out when im at home and not at work.
In reply to Julien Garrigue

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I just updated https://moodle.org/plugins/mod_customcert/4.0.1/27862 to say that it works with 4.1 as well.
Average of ratings: Useful (2)
In reply to Mark Nelson

Re: Important updates

by Julien Garrigue -
it's all good now. I did a plugin update and it's available again in my courses
Average of ratings: Useful (1)
In reply to Mark Nelson

Ri: Re: Important updates

by Patrizio Porcelli -
Salve,
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



In reply to Mark Nelson

Re: Important updates

by Roy Jensen -
Are you ever going to fix the bug that causes all the images to be lost?
In reply to Roy Jensen

Re: Important updates

by Roy Jensen -
Sorry about the tone. Now I have to re-upload images and recreate several templates. Very annoying.
In reply to Mark Nelson

Re: Important updates

by Vianny Jimenez -
Hello Mark
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.
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
I am only supporting Moodle versions 4.1 and upwards now.
Average of ratings: Useful (2)
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Not really an important update but just to let you all know I have enabled GitHub sponsors. If you find this plugin useful please feel free to donate at https://github.com/sponsors/mdjnelson. I work on this project in my spare time which often takes up a day during the weekend at a cafe when I could be sleeping and doing nothing :P No pressure just if you ever wanted me to buy a coffee for when I am at that cafe that would be great.
Average of ratings: Useful (1)
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

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).

Average of ratings: Useful (1)
In reply to Mark Nelson

Re: Important updates

by Jonas araujo -
Hello Mark, after updating to Moodle 4.4 it shows me an error on all certificates. Could you help me? Thank you.

 

 
 
 
Attachment after updated 4.4.jpg
In reply to Jonas araujo

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Please create a separate forum thread. Also, that is for a plugin that is no longer supported.
Average of ratings: Useful (1)
In reply to Mark Nelson

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
A very severe bug was introduced that would issue everyone certificates regardless if they met the criteria or not, please see https://moodle.org/mod/forum/discuss.php?d=461260. I have created a fix which you can see at https://github.com/mdjnelson/moodle-mod_customcert/commit/94cfd4b130392e1a204844a0074c8938d09bf642. Note, this will not affect anyone who is downloading the plugin from the plugins DB however if you are using the GitHub repository and have pulled recent changes please check you have the latest version with the bug fix.

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
Average of ratings: Useful (2)
In reply to Mark Nelson

Re: Important updates

by Ejiro Ekpogbe -

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?

In reply to Ejiro Ekpogbe

Re: Important updates

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Sorry, you can not unsend an email (in general). It gets sent to a different mail server that I have no control over. However, deleting the certificate issues will mean they are no longer valid.
Average of ratings: Useful (1)