Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Issued not showing on certificate #118

Closed
meggatrron opened this issue Jun 13, 2017 · 13 comments
Closed

Date Issued not showing on certificate #118

meggatrron opened this issue Jun 13, 2017 · 13 comments

Comments

@meggatrron
Copy link

I'm new to Git so don't blast me if this is the wrong place to post this. I'm working in Moodle 3.3 and have designed a certificate. When logged in as a student (not just the student role) and after completing the requisite lesson, the certificate prinss without showing the date. I've tried the different date modes available with no luck. Any help?

@mdjnelson
Copy link
Owner

What happens when you edit the date element? Does it display when you preview it?

@meggatrron
Copy link
Author

meggatrron commented Jun 22, 2017 via email

@meggatrron
Copy link
Author

meggatrron commented Jul 10, 2017 via email

@sstoppi
Copy link

sstoppi commented Jul 19, 2017

Hi Mark,

I have the same problem. I would like to have the Completion Date of the created test of the course, but it doesn't work. ("Topic 3: Test", like shown in the screen Shot). The date only gets displayed when I'm logged in as admin and click the "Save changes and preview".
Any help?

Thanks, Sara
editingdate

@sstoppi
Copy link

sstoppi commented Jul 27, 2017

Hi Mark,

do you have updates on this? Thanks,

Sara

@mdjnelson
Copy link
Owner

Hi Sara,

Have you had a look at #113?

@mdjnelson
Copy link
Owner

Hi Ray,

I will be working on issues next week for this plugin, so expect an update then. Cheers for your patience.

(Note - I have been overseas for a few weeks and majority of the time I did not have access to the internet, sorry for the late reply).

@meggatrron
Copy link
Author

meggatrron commented Jul 31, 2017 via email

@mdjnelson
Copy link
Owner

Hi Ray,

I did the following -

  1. Enabled completion on the site.
  2. Created a new course with a start and end date.
  3. Enrolled a student into the course.
  4. Added an assignment to the course and set it so it was marked as complete when a student made a submission.
  5. Set the course completion to be dependent on this activity being set.
  6. Created a custom certificate with 5 date elements (every option available).
  7. Logged in as the student and downloaded the certificate.
    • The only dates being shown were the course start date, course end date and the issue date.
  8. Submitted the assignment.
  9. Ran the site cron.
  10. As the student I downloaded the certificate again.
    • The only dates being shown were the course start date, course end date, completion date and the issue date.

I then wondered why the date of the assignment was not displaying and had a look at the code. It is supposed to display the date that it was graded but this isn't possible because the function it is calling only returns the grade. So there is indeed a bug!

Working on fix now.

@mdjnelson
Copy link
Owner

This has been fixed now. I will update the plugin in the Moodle plugins DB at the end of the week. Thanks for your patience and the report.

@meggatrron
Copy link
Author

meggatrron commented Aug 8, 2017 via email

@piteko
Copy link

piteko commented Oct 19, 2017

Hi,
I saw that you fixed and published two different commits respectively for the 3.2 and 3.3 moodle version. Is there a commit for the moodle 3.1 plugin (which is the only long-term release)?
Thanks!
Marcello

@mdjnelson
Copy link
Owner

mdjnelson commented Oct 20, 2017

Hi Marcello,

Since I develop this in my own time I only support versions that align with the Moodle release - having an additional version to test is time consuming. Also, this is not a security issue which is why I never backported it. Feel free to cherry-pick the commit for you to use.

Sorry. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants