Dave,
I am using version 1 and its been working fine so far is there any need for me to upgrade to 1.1 (ie what changes have been made).
Also where did you get the certificate borders? I would like to add in a few or maybe make my own and was wondering what the specifications were.
Thanks a lot
Jared
Jared,
Version 1.0 and 1.1 are identical, I just commented out the activity locking, so people have to uncomment those lines to use activity locking. It seemed like the best approach since some people are not using activity locking and I am getting alot of mail why there are getting errors.
The borders were scanned by me from my own certificates, and some posted on moodle forum. So, I dont know where to send you for more....
Dave.
Hi David,
Even though in version 1.1 of the Certificate module the activity locking is commented out do I still have to have the Activity Locking module installed in order to use the Certificate module? (sorry if this is a dumb question)
I installed the Certificate module and am getting errors. The database tables installed OK but then I ran into problems with line 4 of the lib.php. Any thoughts?
Cheers,
Jeff
No, You no longer need Activity Locking installed to use it. Can you tell me the error message you are receiving?
Dave.
Dave,
The error message I'm getting is (using moodle 1.52+)
-------------------
Warning: main(/home/waiteru/public_html/elearning/lib/locklib.php): failed to open stream: No such file or directory in /home/waiteru/public_html/elearning/mod/certificate/lib.php on line 4
-------------------
What I've done so far is download Certificate 1.1. Then I Uploaded the certificate folder under the mod folder in your zip file into my moodle mod folder. (Does that make sense Then I went to the admin page. The tables installed OK.
Thanks for your help Dave!!
Cheers,
Jeff
Jeff,
I forgot to commment out that line. Place a # in front of the line so it reads as follows in mod/certificate/lib.php:
#require_once($CFG->libdir.'/locklib.php');
Dave.
Dave,
You DA man!
This Certificate module is very nicely done. I had the 1969 date problem but found an ealier post to help with that and now it is working like a dream. Thank you for all of your help.
Cheers,
Jeff
I had heard the Certificate module was only available for the latest version of Moodle - 1.6. Does your comment then mean this certificate module will work in version1.5 as well?
Thanks!
Marilyn Godfrey
Thanks for all your hard work with this module!
I'd like to configure this so that it throws me an email whenever a student reaches the Certificate stage. I'm just using php's mail() function in the view.php file, but I'm not sure which variables to include to get the email to tell me the users name, course name, date of completion.
I've noticed some functions in the lib.php file that are used to add to the log reports, could I use the variables in these functions or should I create some new variables for the fields that I require.
Any help greatly appreciated.
Regards
Brett Drinkwater
Brett,
If you want an email sent everytime a certificate if viewed, you can place that in the view.php file. If you want to send an email everytime a certificate is created(the first viewing), you need to place it in the lib.php.
I think you want the latter. In the lib.php, the last function, check_cert_exists, in the else{} switch, place your code to send email. You can use the following variables:
$user->firstname user first name
$user->lastname user last name
$view_time certificate date
$course->fullname course name
Dave.
Cheers
Brett
I am quite surprise. I can't understand.
- Why do I always get a field to enter the name of the student?
- Why don't I get the button only if I access the module as a student? Moodle already should know my name.
- Why don't I get a menu list of my course students in order to create a certificate for them if I access the module as teacher?
uuummmmm

Daniele,
It sounds like you have a custom version of the certificate module, that asks for the name to put on the certificate. I created this for a specific person/use.
You should get the general download at http://whatalife.com/certificate_1.1.zip
Dave.
Is this really the general module? I still get the Enter Name box.
Ari
Im sorry, looks like I uploaded some source code I was working on for someone else. Please re-download the certificate module if you are being asked for the student name.
The changed file is the view.php
Dave.
Hi Dave,
how do i actually use the module? after insallation , i added a block. It ask me to enter a code to validate for the certicate. Cant figure out how to use it to generate a certicate for a particular course. Thanks!
The block/certificate is only used if you are printing validation codes on your certificate, so its optional.
You want to turn editting on when in a course, then add the mod/certificte from the pulldown. You can then customize the certificate as you like it.
Dave.
Good work by the way David. Any thought about it being linked with the e-Portfolio module?
I dont have any plans at the moment to link it to the portfolio module. I am currently too busy to further develop the certificate module.
Dave.
Hi,
I really like this module! Good work! Just one wish: I would like the certificate to open in a new window; now when a student clicks the link the certificate is shown in the browserwindow itself (in IE that is) and I loose all navigation. The only way to get back to my site is to hit the Back button of the browser..
thanks for your hard work making this good addition to Moodle
when i click on a certificate link on main page (after admin login) i get following errors
Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in c:\program files\easyphp1-8\www\moodle\mod\certificate\view.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\moodle\mod\certificate\view.php:101) in c:\program files\easyphp1-8\www\moodle\mod\certificate\fpdf\fpdf.php on line 1022
FPDF error: Some data has already been output to browser, can't send PDF file
any comments
regards.
syed
Hi Syed,
I stumbled on exactly the same problem.
Cheers, Anders
Is this when you enter the certificate link from a course page? Looks like it.
Please read the README file in the download and see if that fixes your problem. If it does, or does not, please reply so others know the answer to this problem.
Rergards,
Dave.
Hi David,


Hi,
Here's the Swedish translation.
Cheers, Anders
Anyone know how to fix this error?
FPDF error: Alpha channel not supported: /home/elearntr/public_html/mod/certificate/pix/seals/SCEMSPatch.png
I attempted to upload a picture and replace it on the certificate and this came up.
Thanks!!!
You'll have to customize certificate/view.php. To change the color of the title, you can use the SetTextColor() function. To make the title red (and then go back to black for the rest of the text) you would put this code in the case in the switch() that stands for the certificate type you want to change:
$pdf->SetTextColor(255,0,0);
cert_printtext(170, 125, 'C', 'Helvetica', 'B', 30, get_string("title".$type, "certificate"));
$pdf->SetTextColor(0);
that should do the trick
I'm having the same problem. I have the certificate module working beautifully, but when I try to change logos or seals. I get the same error message.
I created png files, but when I look at them on cpanel, they show they are 8 bit rgba instead of 8 bit colormap. How do I change this? I even copied some of the existing png files and changed them and they still say the same thing.
Stella Maris
Warning: main(../../lib/fpdf/fpdf.php): failed to open stream: No such file or directory in /home/school/public_html/School/mod/certificate/view.php on line 13
Warning: main(../../lib/fpdf/fpdf.php): failed to open stream: No such file or directory in /home/school/public_html/School/mod/certificate/view.php on line 13
Warning: main(): Failed opening '../../lib/fpdf/fpdf.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/school/public_html/School/mod/certificate/view.php on line 13
Warning: main(../../lib/fpdf/fpdfprotection.php): failed to open stream: No such file or directory in /home/school/public_html/School/mod/certificate/view.php on line 14
Warning: main(../../lib/fpdf/fpdfprotection.php): failed to open stream: No such file or directory in /home/school/public_html/School/mod/certificate/view.php on line 14
Warning: main(): Failed opening '../../lib/fpdf/fpdfprotection.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/school/public_html/School/mod/certificate/view.php on line 14
Fatal error: Cannot instantiate non-existent class: fpdf_protection in /home/school/public_html/School/mod/certificate/view.php on line 145
When i want to look at a cert. i have created
Im also haveing an issue with modulename on any new mod i add.
When I create a certificate, I get the error "Could not add a new instance of certificate"
Not sure what that means. Probably means I installed it wrong.
Any ideas?
Please tell me what version of Moodle you are running (the latest certificate mod runs only with 1.6).
It sounds like you might be having problems with the new unicode lang files. You might try going to Admin>Language and trying to fix the module names and other lang strings there.
I'm not getting the pulldown for the certificate type, any ideas what's wrong with it? I'm also getting [Title0] [Intro0] and [statement] how do I fix these?
Thanks,
Michael
This forum post has been removed
This forum post has been removed
I’m not de developer of verify module, try to contact developer, because I don’t have this module installed in my test environment and developer can help you and if this have a bug his can solve also.
Al
On occasion, we have a user who misspells their name (yes, seriously) and we need to edit the certificate to show the correct name. I used to download the certificate in PDF and correct it using Adobe Professional or Illustrator. Since upgrading to 1.6.4 and the corresponding Certificate module, opening the files for editing requires a password.
Where do I find the password to change the files? It is not the site admin, the database or the user's password from my trials and errors.
Thanks
Any help you can give would be most appreciated!
Thanks.
Winston...here's the answers to the email you sent that also relate to this post. I hope this information helps!
Winston - I'm sorry it took me so long to get back to you. I don't log in to the main site often and just got this. For Question 1, you need to add the 'verify certificate' block to whichever page you want on your site that people can enter the certificate number into to verify it. I have this on my main page so that people can verify certificates without having to log in or be enrolled in courses.
2. Verify_Certificate folder should be installed in moodle/blocks as it is a block.
3. Putting it in the block folder and removing it from your mod folder and then installing it through the moodle/admin screen should take care of problem #3. I have permissions at 755 in my block folder.
This works off of the 'certificate issues' table in your database which is (I think) the same table the 'report' function of the certificate module itself works off of so assuming the certificate MODULE is installed correctly, this 'verify certificate' BLOCK should work correctly as well.
I hope this info helps. I will post in the forum too just to be sure you receive this.
Thanks, Fran
My Moodle hosting service has installed the Certificate module in my environment, but I need to know how to make access to the certificates conditional on achieving an 85% or higher grade on a final test (quiz).
I've read through a lot of stuff about conditional activities, activity locking, score locking, etc., but some of these techniques are hacks that are version specific and cannot be upgraded and none explain how they might be used in conjunction with the Certificate module.
This seems pretty fundamental to the concept of a certificate, namely, receiving a certificate *only* upon successful completion as demonstrated by test performance. Step by step tips or links to relevant documentation would be appreciated.
Thanks,
P.S. A couple of other, less critical questions that I would appreciate some help on are:
- How can I add new signatures to Certificates?
- How can I add new logo images to Certificates?
Verne Morland
Managing Partner
ROI Learning Services
Dayton, OH USA
You provider probably is offering certificate module from moodle CVS, in this case you will get a code equivalent to Chardelle’s certificate 3.2.
Certificate 4.1 FAT offers this functionality, try to install that version.
To add logo and signatures you will need to place new logo and signature file inside proper folder.
Thanks.
Im trying to give a user a certificate on completion of a quiz, i used the lesson dependency trick where i linked the certificate activity to a dummy lesson mentioned here
http://docs.moodle.org/en/Certificate_module
But when i click on the lesson to view the certificate activity it displays a message saying
Navigation: first page not found
It should ideally display the certificate in a drop down. Can u help me out?
If you need to do it after student passing a test try to install certificate 4.1 FAT.
Unable to delete certificates from course...Any ideas?
I am able to generate Certificates, however, I am now unable to delete them from the list of course activities. I hit the delete icon...then I am asked If I'm sure I want to delete the certificate..then I'm hung at /moodle/course/mod.php. I'm using Certificate 3.2 on Moodle 1.8. Any help would be greatly appreciated.
I want to say that the certificate module is great! I am wondering, is there any way to have a new certificate generated every time the course is passed? Right now once a user completes the course and gets their certificate, no matter how many times they take the course again they never receive a new certificate.
I would love to be able to have it NOT remember who has obtained a certificate and just issue a new certificate every time.
Thanks,
Ben
ERROR: Could not instantiate mail function. ERROR: Could not instantiate mail function. FPDF error: Some data has already been output to browser, can't send PDF file
Any suggestion are welcome
Cheers