Important updates

Important updates

Mark Nelson發表於
Number of replies: 37
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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.
評比平均分數:Useful (1)
In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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

這一討論區的貼文已經被移除

這一討論區的貼文已經被移除且無法再被存取
In reply to Deleted user

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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! 微笑

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! 微笑

In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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! 微笑
In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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!

評比平均分數:Useful (2)
In reply to Mark Nelson

Re: Important updates

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

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.
評比平均分數:Useful (1)
In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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.
評比平均分數:Useful (1)
In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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.
評比平均分數:Useful (2)
In reply to Mark Nelson

Re: Important updates

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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Testers的相片
I am releasing a new version for 4.0 which will hopefully solve a few issues people have been complaining about.
評比平均分數:Useful (3)
In reply to Mark Nelson

Re: Important updates

Julien Garrigue發表於
Hello, any ETA to make it available for Moodle 4.1?
Thank you
In reply to Julien Garrigue

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Testers的相片
Does the 4.0 version not work with 4.1?
In reply to Mark Nelson

Re: Important updates

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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Testers的相片
I just updated https://moodle.org/plugins/mod_customcert/4.0.1/27862 to say that it works with 4.1 as well.
評比平均分數:Useful (2)
In reply to Mark Nelson

Re: Important updates

Roy Jensen發表於
Are you ever going to fix the bug that causes all the images to be lost?
In reply to Mark Nelson

Re: Important updates

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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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.
評比平均分數:Useful (1)
In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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).

評比平均分數:Useful (1)
In reply to Mark Nelson

Re: Important updates

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

 

 
 
 
附件 after updated 4.4.jpg
In reply to Jonas araujo

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Testers的相片
Please create a separate forum thread. Also, that is for a plugin that is no longer supported.
評比平均分數:Useful (1)
In reply to Mark Nelson

Re: Important updates

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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
評比平均分數:Useful (2)
In reply to Mark Nelson

Re: Important updates

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

Mark Nelson發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 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.
評比平均分數:Useful (1)