Git Product home page Git Product logo

sensei-certificates's Introduction

Sensei LMS Certificates

Award your students with a certificate of completion and a sense of accomplishment after finishing a course.

sensei-certificates's People

Contributors

aaronfc avatar airathalitov avatar alexsanford avatar anaemnesis avatar burlesonbrad avatar corsonr avatar danjjohnson avatar donnapep avatar dwainm avatar geojunkie avatar gikaragia avatar imran92 avatar iperurena avatar jeffikus avatar jom avatar kloon avatar kraftbj avatar m1r0 avatar mahangu avatar markcummins avatar mattyza avatar merkushin avatar misenhower avatar pgk avatar renatho avatar renovate-bot avatar rinatkhaziev avatar robertstaddon avatar roundhill avatar yscik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sensei-certificates's Issues

Portrait orientation Certificates contain extra white space on the side

(Ignore the hideous placement; none of the elements overhang the image): http://cld.wthms.co/1jhhq

ticket: https://woothemes.zendesk.com/agent/tickets/240149

The customer's proposed solution doesn't work for me, so I'm not sure what's going on exactly with this issue. Proposed solution below:

sensei-certificates/classes/class-woothemes-sensei-pdf-certificate.php, row 118-123 
$image_attr = getimagesize( $image ); 
if ( $image_attr[0] > $image[1] ) { // <-- Should check $image_attr[1], $image[1] is always ':'. After the change was tested, the cert was properly created. 
$orientation = 'L'; 
} else { 
$orientation = 'P'; 
} // End If Statement

Check for First & Last name before Username

We seem to get quite a few requests that the certificates print out the first and last name instead of the username by default.

Could we maybe investigate to see if it would be possible to check that if these First and Last name fields are populated that this is what it does, if they are not populated it would then default to the username?

Thanks

Can't disable certificates per course

There isn't a way to disable certificates for individual courses, so if you don't assign a certificate template to a course, there is still a 'View certificate' link when you complete the course (leading to a blank grey certificate).

We should make it so that if Certificate Template is set to none, then no certificate is awarded for that course, and the 'view certificate' link is not displayed.

https://woothemes.zendesk.com/agent/#/tickets/162362

Add "view certificate" button on more places.

Right now the "view certificate" button does appear in the "Completed Courses" section once the student passes the online course. The students taking these courses are not web savvy so they would not know to go to the "My Courses" section and then have to click on the "Completed Courses" button to get to the "View Certificates" button.

Add the "View/Print Certificate" button on the web page that let appears right after the student takes the online course and tells them they have successfully passed the online course. This will eliminate a few steps.

Certificate Date filter diplays correctly in Preview but not on certificate generation.

When viewing the certificate in preview after using this tutorial the date is changed to the new format in the preview.

https://support.woothemes.com/hc/en-us/articles/203347377-Change-the-date-format-on-a-certificate

Screenshot of Preview: http://cld.wthms.co/tOUN

When the certificate is generated however the date format is the default unfiltered date format.

Screenshot of generated certificate: http://cld.wthms.co/xkoI

Deleting and regenerating the certificates does not resolve the issue.

Coding standards

Two strict standards warnings for certificates:

Strict Standards: Non-static method WC_Dependencies::woocommerce_active_check() should not be called statically in /Applications/MAMP/htdocs/sensei/wp-content/plugins/sensei-certificates/woo-includes/woo-functions.php on line 13

Strict Standards: Non-static method WC_Dependencies::init() should not be called statically in /Applications/MAMP/htdocs/sensei/wp-content/plugins/sensei-certificates/woo-includes/class-wc-dependencies.php on line 21

This prevents the user search from working in Learner Management if wp_debug is enabled.

Portrait Orientation Certificate Being Cut Off At The Bottom

@danjjohnson @dwainm @hlashbrooke

I have a customer who is adding the attached image as his certificate and the bottom of the certificate is being cut off and hiding some signatures that are on the certificate.

They certificate works in Preview mode but not after being generated and viewed by a user or from the generated certificates in the admin section of Sensei.

Original Certificate Image: http://cld.wthms.co/14bPc

Screenshot of the issue replicated on my support installation: http://cld.wthms.co/Z4DR

Ticket: https://woothemes.zendesk.com/agent/tickets/238528

This particular issue is stopping the customer moving forward with his site and being able to give out certificates to his learners could someone take a look please.

Cheers

Preview filename

The pdf file created by the preview function uses 'voucher-preview-' in the filename.

Change to 'certificate-preview-'

Set position slide

When you click 'set position' it slides up to the top of the settings panel. Would be nice if it slid all the way up to the top of the image instead.

Certificate View Settings on Learner Profile viewable by all users

From the customer; I've verified both of these on my test install:

Issue 1) Even if a user sets his Certificates to be publicly viewed, other learners cannot see the certificates by visiting his public profile.

Issue 2) When a learner visits another learners public profile he is presented to the checkbox "Certificates to be publicly viewed". But for users to be able to change the integrity settings for another user can not be correct?


I can't confirm whether the Setting can be saved or not, considering the certificates don't seem to be publicly viewable at all.

ticket: https://woothemes.zendesk.com/agent/tickets/248778

Confusing menu items for certificates

Without reading the docs, it can be difficult to see how to create a new certificate.

If you go to Lessons > Certificates you can click on 'Add new Certificate', which is confusing. Maybe we should remove that?

You have to go to Sensei > Certificate Templates to create a template. I think we should either put both menu items in the same parent menu, or move them to their own top level Certificates menu.

{{learner}} name

The {{learner}} placeholder outputs the First Name and Last Name.

If these aren't available it returns nothing.

Since First and Last Name aren't required fields when registering for a course, it's likely that these will often be left blank. If WC prevents access to the Dashboard, I don't think there's even a way for users to enter their name. Am I wrong?

Any thoughts?

Template for already completed courses

If you have already completed a course before Certificates is installed, then if you apply a template to that course, it won't be used for your certificate.

Only works if you reset the course and complete it again.

Reseting Quiz changes completion date to 1970

If you reset a quiz for a user that has already completed that course and has a certificate, it will change the completion date to 1970. On the contrary, reseting the Lesson itself removes the certificate. Completing the Quiz again 'fixes' this, as it changes the date to whenever you completed the quiz.

I've confirmed this on my local test server but will spare you the screen shots of my truly horrid test certificate >_>

Ticket: https://woothemes.zendesk.com/agent/tickets/244476

Blank Certificates

Having some issues with blank certificates.

If I go to Lessons > Certificates and click the 'View Certificate' link, the URL is '?certificate=1&hash=eb8ebddc' and it works fine.

But if I click the 'View' link - http://cld.wthms.co/WXGW - or the 'view certificate' links on the front end, the URL is '/certificate/eb8ebddc-2/' and the certificate is blank

PHP warning when no styles selected

If no styles are selected the PDF generates a PHP warning because it returns an empty array instead of a string:

Warning: strtoupper() expects parameter 1 to be string, array given in /Applications/MAMP/htdocs/sensei/wp-content/plugins/sensei-certificates/lib/tfpdf/tfpdf.php on line 594

Installation script

Make sure installation script works properly for existing completed courses.

@jeffikus we're making this manual so it does 5 at a time, correct?

Template positioning box disappears after resizing

When setting a position, e.g. for Message, if you drag out a box, then click outside that box, the box disappears. You then have to click 'Done' and 'Set position' again.

Would be good if clicking outside the box was the same as clicking 'Done'.

Text content missing from preview initially

If I create a new template, set all the positions but leave all the font settings as default, when I save and preview, there is no text content on the preview PDF.

Only after changing any font setting does the text show up in the preview.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.