atutor.no

Here be links.

Certify

Håvard Pedersen's picture
Version: 
1.6.2
Short description: 

A module that lets you bundle tests in a curse, and issue a pdf certificate to the student when he / she has passed all tests. Student sees a progress bar all the way, instructors have an instructor view.

Blog posts about this: 
AttachmentSize
certify.zip1014.26 KB

Comments

Stuart Azad's picture

Certify Module Issue

Hello,

I have downloaded the Module Certify, however I am experiencing some issues when trying to upload a certificate (PDF). Is there a different format that I have to use to upload the certificate?

Another question that I have is: where does the certificate appear once the user has successfully completed the test(s).

Any help on this matter would be highly appriciated.

Vegard A. Johansen's picture

Hia, have you read the

Hia, have you read the announcing Certify post? there's quite a bit of info there.

First and foremost, you will need pdftk on your server, you might have to contact a server administrator to get this installed.

If you wish to use a different template than the default one you will have to create that pdf as a pdf template using a program like Adobe Professional. Add whatever graphics you wish, and make sure to add the text fields with the same names as the ones in the default one (we should definately document this better, but for now the best solution is to examine the default one).

The students find it under the "certificates" tab that you can enable as a student tool.

Stuart Azad's picture

Server Issue

Thank you for your quick response.

Can/will it work with a different product than pdfk as our server will not accept it.

Thanks

Vegard A. Johansen's picture

Not likely

hia, I'm sorry but I don't think it is likely that we will find a better solution than pdftk soon, but if any developers wish to have a look at it and expand this they are more than welcome to!

Massimo Isotti 's picture

Sorry for my english. I've

Sorry for my english.
I've installed Certify module i atutor.
When I try using it I've cthis message:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@haprogetti.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
What can I do?
Thanks

Serhiy Kostyshyn's picture

Re: Sorry for my english. I've

Hi,

It might be a bug in the module itself, or it might be a server configuration problem.
The error message along with the reason should be recorded in your server's error log. If you're using Linux, that's most probably file /var/log/httpd/error_log . Please have a look at it.

Massimo Isotti 's picture

It was a server

It was a server configuration problem.
Thank you.

Serhiy Kostyshyn's picture

Re: It was a server

It's my pleasure.

Max's picture

Problems with Certificate Status

First of all thanks for the module, it's really usefull. In my installation I've got a problem, Certificate Status is always at "0%".

I've taken the test several times, the question (it's a test made for test, it's got only one question) has got one point associated with it. When I finish the test I read that I got 1/1 points but the certificate status is always at 0%.

Any idea?

Bye,
Max

Vegard A. Johansen's picture

Pass score?

Hm, have you set a pass score / percent for the test? Certify tells you how far you are on you way to obtain the pass score(s) set on the test(s) included.

So if you have one test in the certificate, and this test has a pass percent of 75%, Certify will show 100% when you have obtained more that 75% correct in that test.

Max's picture

Yes, I did:

William's picture

instructions

I'd like to see complete instructions on installing this, configuring it with a custom made certificate, etc. I'm not a programmer or web administrator, just a language instructor, and though I thought I knew what I was doing, I can't seem to make this work.

I log is as a full administrator to install the module. that seemed to go well enough. I then enable the module.

Then I log in as an instructor and go to the test I've created, and add the certificate to the test.

The passing score is set at 72%.

All students are showing a "progress" of 0%.

Also - how do I create a custom PDF certificate? I tried opening the default certificate to look at how the fields were named and configured, and Adobe Acrobat simply crashed.

Vegard A. Johansen's picture

which Atutor version?

it's working just fine for us on 1.6.2, and we have not tested it on 1.6.3 just yet - which version of ATutor are you using?

William's picture

my Atutor version

This is what I found in the admin's panel:
ATutor Version: 1.6.2.
PHP Version: 5.2.8
MySQL Version: 5.0.67
OS: Linux 2.6.9-42.0.3.EL.wh1smp

William's picture

instructions

Let's start from the first problem.
If I create a PDF from scratch, how can I get it to work with the Certify module? Do I add fields to it?

Vegard A. Johansen's picture

Add text fields

Yes, you add correctly named text fields to it. We use Adobe Acrobat Professional to do this, but there are probably other tools as well.

Here are the names of the fields that Certify uses:

  • course_name
  • email
  • full_name
  • issued_date
  • score
  • test_name

(test_name is the name of the certificate)

Max's picture

I'm exactly in the same

I'm exactly in the same situation as William, and I also think there could be a lack in documentation. A step-by-step tutorial (covering everything from module download to getting a certificate at a course completion) might be useful.

This is my system:

Database:
1.78 MB
Courses:
2
Users:
17
ATutor Version:
1.6.3. Check Latest Version.
PHP Version:
5.1.4
MySQL Version:
5.0.22-community-nt
OS:
Windows NT 5.2

Ciao,
Max

utor's picture

progress

We also had the problem of always showing 0% progress.
I noticed that the table AT_certify_tests in the database was always blank and the page to add tests was always showing the tests unselected, even after selecting all and saving.

The problem turned out to be the following code in certify_tests.php (line 125)

]" value="1">

If your web server's php.ini has "short_open_tag = Off" (default in PHP5?) then [<?= $id ?>] would not expand as expected and the HTML form has bad values.

Fix: change the code to [

<?php
echo $id
?>
] or enable short_open_tag on php.ini in the server.

After that, the progress changed to 100% as expected.

But then I got a PDFTK error when downloading the certificate which was logged by the server as "Failed to open PDF file: ATutor/mods/certify/mods/certify/test.pdf". Note "mods/certify" repeated in the path. That can be fixed in download_certificate.php, line 17

$template = dirname(realpath('test.pdf')).'/test.pdf';

Now to create our own templates... :-)

Hope this helps.

OdR

utor's picture

reload tests

forgot to mention that after fixing the short tags, go back to the manager page and add the test(s) to the certificate again.

utor's picture

progress

the format of my post got messed up but I hope it is understandable.

William's picture

I understand it. I'm going to

I understand it. I'm going to give it a try tomorrow evening when I get access to that server again.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options