Home › Forums › Legacy Support › Support queries › Other issues › Custom certificate shows incorrect code
- This topic has 24 replies, 2 voices, and was last updated 5 years, 9 months ago by Anshuman Sahu.
-
AuthorPosts
-
June 29, 2018 at 10:24 pm #167718tutocaSpectatorHi, In order for all my courses to have the same certificate design automatically, I have customized the certificate from the parent theme /wplms/certificate.php Inside certificate.php I added the shortcode:
echo do_shortcode ('[certificate_code]');
The problem is that the certificates awarded are not showing the certificate code correctly, e.g instead of showing: 5219-1720-24 Shows letter “H”: H-1720-24 How can I solve this issue? I will share my credentials in private.June 29, 2018 at 10:25 pm #167719tutocaSpectatorThis reply has been marked as private.June 30, 2018 at 9:28 am #167746Anshuman SahuKeymasterWel this shortcode : certificate_code needs two get parameters in url : u : user id c : course id . When these parameters are set correctly only then code will appear fine . Therefore genenerally our certificate url in user profile show like this : https://your-site.com/certificate/{certificate-template-name}/?u=2&c=56June 30, 2018 at 8:51 pm #167789tutocaSpectatorThis reply has been marked as private.July 2, 2018 at 1:24 pm #167916Anshuman SahuKeymasterOkay I missed the point that you are using custom certificate code plugin Okay that certificate code was generated for that user somehow and it is saved as it is . IF you want to have that traditional certificate code style then please deactivate the wplms custom certificate codes plugin and check it again . Or if you want to have your custom pattern and want to correct it then please click on apply to all certificates button in wp-admin -> settings -> certificate codesJuly 3, 2018 at 1:27 am #167968tutocaSpectatorHi, I have previously done all the actions you have mentioned, I tried again but the issue remains. Precisely I installed custom certificate code plugin to see if this would solve the issue, but it did not. Also the plugin does not work for what it is made of, maybe for the same cause.- I tried generate a certificate with a new user, the same thing happens.
July 3, 2018 at 2:22 pm #168061Anshuman SahuKeymasterOkay please provide your site url , admin credentials and a valid FTP credentials to check this issue at your end . PS : mark reply as private while sharingJuly 3, 2018 at 10:51 pm #168091tutocaSpectatorThis reply has been marked as private.July 4, 2018 at 1:39 pm #168214Anshuman SahuKeymasterThis reply has been marked as private.July 4, 2018 at 8:24 pm #168237tutocaSpectatorSorry, you are right, the server was blocking countries, now I have unlocked it and you should be able to access.July 5, 2018 at 5:55 pm #168346Anshuman SahuKeymasterThis reply has been marked as private.July 10, 2018 at 4:00 am #168668tutocaSpectatorThis reply has been marked as private.July 10, 2018 at 3:05 pm #168763Anshuman SahuKeymasterThis reply has been marked as private.July 11, 2018 at 1:10 am #168793tutocaSpectatorHi, The issue could not be replicated because a template has been setup in: LMS - Certificate Templates In my situation I do not require the user/instructor choose a template, instead certificate must be auto set for all courses. Because of this I am creating the certificate from: Pages - Certificate and I have set the default certificate page template in: WP Admin - WPLMS - Course manager - Fallback certificate page Then, when I create a New Course and have not previously set a certificate template, this course shows default certificate template, but this is not showing the correct code.July 11, 2018 at 2:28 pm #168871Anshuman SahuKeymasterThis reply has been marked as private. -
AuthorPosts
- The topic ‘Custom certificate shows incorrect code’ is closed to new replies.