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 {
if($userdata['course_id'] != ""){
$course_id = $userdata['course_id'];
ld_update_course_access( $user_id, $userdata['course_id'], false );
learndash_process_mark_complete(get_current_user_id(), 45654 );
sci_learndash_mark_course_complete($user_id, $userdata['course_id']);
learndash_process_mark_complete( $user_id, 45654 );
learndash_user_course_complete_all_steps( $user_id, $userdata['course_id']);
}
}
if($column_name == 'date_completed'){
......
......@@ -49,7 +49,7 @@ if(shared == 'true'){
</div>
</div>
<script type="text/javascript" src="../wp-content/themes/commonwell-corp/scripts/sharerbox.js?ver=6" id="mc.sharerbox-js"></script>
<script type="text/javascript" src="../wp-content/themes/commonwell-broker/scripts/sharerbox.js?ver=6" id="mc.sharerbox-js"></script>
<script>
window.onload = function(){
sharerboxIcons('facebook twitter linkedin', 32);
......
......@@ -63,7 +63,7 @@ function theme_broker_enqueue_scripts()
wp_enqueue_style('input_skins', get_bloginfo('template_url') . '/styles/input_skins/all.css', [], "0.0.61");
wp_enqueue_script('icheck', get_bloginfo('template_url') . '/scripts/icheck.min.js', [], "0.0.1", true);
wp_enqueue_script('script', get_bloginfo('template_url') . '/scripts/script.js', [], "0.11", true);
wp_enqueue_script('script', get_bloginfo('template_url') . '/scripts/script.js', [], "0.12", true);
}
if (
......
......@@ -63,7 +63,7 @@ jQuery(document).ready(function($) {
var title = $(this).data('title');
// $("#dialog").dialog({modal: true, height: 590, width: 1005 });
var w = window.open("https://thecommonwell.ca/badge-share/?badge="+title, "popupWindow", "width=400, height=400, scrollbars=no");
var w = window.open("https://brokers.thecommonwell.ca/badge-share/?badge="+title, "popupWindow", "width=400, height=400, scrollbars=no");
});
......