wesley1066
Forum Replies Created
-
Sorry, answer now, thanks for helping me, update my system to a newer version and now it doesn’t take the code you passed anymore. I tried to redo the whole process but this is giving error I’m not getting more with this code
Hi, I did it as requested, but it’s still going on.
If you want I can enable a user for you to move. Follow the video.
@sliontos Thank you very much! ??
————-Code created by @sliontos——————–
$username = $user[‘login’];
$get_course_data = stm_lms_get_user_course($user[“id”], $course_id, array(), “”);
$post_author_id = get_post_field( “post_author”, $get_course_data[0][“course_id”] );
$instructor = get_the_author_meta( “display_name” , $post_author_id );$_option_name = ‘_cert_date_’ . $username . ‘_’ . get_the_title ( $course_id );
$_date = get_option( $_option_name );
if ( empty( $_date ) ) {
$_date = date( ‘l j F, Y’ );
add_option ( $_option_name, date( ‘Y-m-d’ ), ‘no’ );
} else
$_date = date( ‘l j F, Y’, strtotime ( $_date ) );$shortcodes = array(“{username}”, “{date}”, “{course}”, “{user_first_name}”, “{user_last_name}”, “{instructor}”);
$shortcode_values = array($username, $_date, get_the_title($course_id), $first_name, $last_name, $instructor);
————————————————————IN STM LMS > Certificate > Certificate Text
Is like this…………………….
has qualifications and achieved all requirements of {course}
End Date: {date}
Instructor: {instructor}The end……………………………….
here’s a link of how it was: https://uday.com.br/cursos/wp-content/uploads/2020/04/certificate.pdf
Thank you very much, I work perfectly, big hugs!
Sorry my english, I’m Brazilian
Hello, sorry to get involved, but I would like to help, if you set up Paypal he will be able to pay with any card, but if you want to use other ways to set up woocommerce and set up the visa plugin
https://www.youtube.com/watch?v=DLEqXTX2Goo
some problemsI updated, but it didn’t work, the videos and FAQ part doesn’t appear for the instructor
update 1.8.5.3 err still not working
https://uday.com.br/cursos/lms-manage