sensei-certificates icon indicating copy to clipboard operation
sensei-certificates copied to clipboard

Add filter to be able to customize the name that displays on the certificate

Open donnapep opened this issue 4 years ago • 6 comments

Is your feature request related to a problem? Please describe

It's currently not possible to customize the display of the learner's name that appears on the certificate. It displays as First Name Last Name if both are specified, or otherwise uses the learner's display name.

Describe the solution you'd like

Add a filter so that the learner name can be customized on both the certificate template and the certificate.

donnapep avatar Nov 18 '20 12:11 donnapep

Could be worth merging #94 for this.

yscik avatar Jan 27 '21 11:01 yscik

Not sure if completely related, but user wants to

add [users'] full name when they finish the course, as our courses are free without any login or any profile

https://wordpress.org/support/topic/users-full-name-can-add-by-them-self-in-no-login-course/#post-14828344

cena avatar Sep 01 '21 14:09 cena

I agree with @yscik. We should consider solving this in a more general way and not only for one data type. Also, this approach most likely will solve these issues: #285, #284, #134, #116, #103, #102, #93.

Thoughts?

cc @yscik @donnapep

m1r0 avatar Nov 16 '21 11:11 m1r0

Yeah let's do it! I looked at it briefly before and there were quite a few merge conflicts IIRC — maybe rebasing that branch onto master is easier since it'd be just one pass. Also basically the whole thing is duplicated and exists at two places in the code, could be a good opportunity to clean it up :)

yscik avatar Nov 16 '21 14:11 yscik

@m1r0 and I talked and he's planning to review #94, resolve conflicts and make any changes, if necessary.

donnapep avatar Nov 17 '21 16:11 donnapep

Somehow related to this, mentioned in 5417376-zen:

Although I have asked learners to sign in with the name they want on their certificate, they are all using their user name which is not their proper name. If there was a separate way to sign in as a learner only, that would help both the certificate and website user issues.

StefMattana avatar Aug 04 '22 07:08 StefMattana