moodle-mod_customcert icon indicating copy to clipboard operation
moodle-mod_customcert copied to clipboard

Optional sequential number certificate code, with new display element.

Open rickabitdigital opened this issue 1 year ago • 2 comments

Add a sequential number code element with an optional user defined start number setting.

  • with option to include this sequential number and/or other element tokens in the certificate filename (will create separate ticket).
  • also with option to download zip of issued (renamed) certificates in batches by Group ref: #155 .

I've written the logic for this sequential number and start number setting outside of Moodle for easier testing. I will now attempt to incorporate into plugin code.

@mdjnelson , @leonstr, @dpalou, @rhell4, @Peterburnett, @mwreichel, @mohamedmohamedatia, @ojnadjarm apologies if this is the wrong way to request feedback (please ask and I will delete your name) - I simply included committers from the last 6 months as most relevant interested parties. I would really appreciate some feedback on how best to incorporate this feature given that customcert currently relies heavily on the existing random code generation. e.g. should I fork and overwrite, swapping random code for sequential? Or should I leave random code generation, and it's display element, and include a user defined option to allow either or both? This refactor would be easier if file naming was tokenised to include all available display elements/fields as tokens.

rickabitdigital avatar Nov 19 '24 18:11 rickabitdigital

I'm testing this feature now.

rickabitdigital avatar Dec 12 '24 17:12 rickabitdigital

Bump

ted-strauss-K1 avatar Oct 09 '25 17:10 ted-strauss-K1

A new setting was added recently that allows you to change the format of how the code is generated, see https://github.com/mdjnelson/moodle-mod_customcert/issues/668.

mdjnelson avatar Nov 09 '25 14:11 mdjnelson