a033262e by Jeff Balicki

badge fix

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 8ee5f6dd
...@@ -636,8 +636,8 @@ class IS_IU_Import_Users { ...@@ -636,8 +636,8 @@ class IS_IU_Import_Users {
636 if($userdata['course_id'] != ""){ 636 if($userdata['course_id'] != ""){
637 $course_id = $userdata['course_id']; 637 $course_id = $userdata['course_id'];
638 ld_update_course_access( $user_id, $userdata['course_id'], false ); 638 ld_update_course_access( $user_id, $userdata['course_id'], false );
639 learndash_process_mark_complete(get_current_user_id(), 45654 ); 639 learndash_process_mark_complete( $user_id, 45654 );
640 sci_learndash_mark_course_complete($user_id, $userdata['course_id']); 640 learndash_user_course_complete_all_steps( $user_id, $userdata['course_id']);
641 } 641 }
642 } 642 }
643 if($column_name == 'date_completed'){ 643 if($column_name == 'date_completed'){
......
...@@ -49,7 +49,7 @@ if(shared == 'true'){ ...@@ -49,7 +49,7 @@ if(shared == 'true'){
49 </div> 49 </div>
50 </div> 50 </div>
51 51
52 <script type="text/javascript" src="../wp-content/themes/commonwell-corp/scripts/sharerbox.js?ver=6" id="mc.sharerbox-js"></script> 52 <script type="text/javascript" src="../wp-content/themes/commonwell-broker/scripts/sharerbox.js?ver=6" id="mc.sharerbox-js"></script>
53 <script> 53 <script>
54 window.onload = function(){ 54 window.onload = function(){
55 sharerboxIcons('facebook twitter linkedin', 32); 55 sharerboxIcons('facebook twitter linkedin', 32);
......
...@@ -63,7 +63,7 @@ function theme_broker_enqueue_scripts() ...@@ -63,7 +63,7 @@ function theme_broker_enqueue_scripts()
63 63
64 wp_enqueue_style('input_skins', get_bloginfo('template_url') . '/styles/input_skins/all.css', [], "0.0.61"); 64 wp_enqueue_style('input_skins', get_bloginfo('template_url') . '/styles/input_skins/all.css', [], "0.0.61");
65 wp_enqueue_script('icheck', get_bloginfo('template_url') . '/scripts/icheck.min.js', [], "0.0.1", true); 65 wp_enqueue_script('icheck', get_bloginfo('template_url') . '/scripts/icheck.min.js', [], "0.0.1", true);
66 wp_enqueue_script('script', get_bloginfo('template_url') . '/scripts/script.js', [], "0.11", true); 66 wp_enqueue_script('script', get_bloginfo('template_url') . '/scripts/script.js', [], "0.12", true);
67 } 67 }
68 68
69 if ( 69 if (
......
...@@ -63,7 +63,7 @@ jQuery(document).ready(function($) { ...@@ -63,7 +63,7 @@ jQuery(document).ready(function($) {
63 var title = $(this).data('title'); 63 var title = $(this).data('title');
64 64
65 // $("#dialog").dialog({modal: true, height: 590, width: 1005 }); 65 // $("#dialog").dialog({modal: true, height: 590, width: 1005 });
66 var w = window.open("https://thecommonwell.ca/badge-share/?badge="+title, "popupWindow", "width=400, height=400, scrollbars=no"); 66 var w = window.open("https://brokers.thecommonwell.ca/badge-share/?badge="+title, "popupWindow", "width=400, height=400, scrollbars=no");
67 67
68 }); 68 });
69 69
......