Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Set the course duration 9999 days, But course is EXPIRED
- This topic has 9 replies, 2 voices, and was last updated 4 years, 10 months ago by logan.
Viewing 10 posts - 1 through 10 (of 10 total)
-
AuthorPosts
-
April 26, 2019 at 3:36 am #206313KAISTSpectatorHi! I posted a new course today and assigned 9999 days (parameter in days) However, I do not know why the course is EXPIRED. Could you check what I did wrong? thank you! https://screencast-o-matic.com/watch/cqfOeyZaWQApril 26, 2019 at 10:27 am #206397loganMemberThis reply has been marked as private.April 26, 2019 at 3:51 pm #206462KAISTSpectatorThank you logan. Exactly there was a problem. when I add "Total Unit Duration [ All Users (logged in/logged out) ]" it shows as Expired https://screencast-o-matic.com/watch/cqfOoKZzEz Perhaps before I add this makes problem With the help of alex. "Show number of units and units in Course Details in "one line"" . add_filter('wplms_course_details_widget','wplms_show_unit_count_and_time2',1,1); function wplms_show_unit_count_and_time2($course_details){
} So it came out like this. https://imgur.com/sHHnIRu By the way, I do not know what to do if I want to make it visible again in the front end. any idea please. thank you!!$course_id = get_the_ID(); $units=bp_course_get_curriculum_units($course_id); $duration = $total_duration = 0; foreach($units as $unit){ $duration = get_post_meta($unit,'vibe_duration',true); if(get_post_type($unit)=='unit'){ $unit_duration_parameter = apply_filters('vibe_unit_duration_parameter',60,$unit); }elseif(get_post_type($unit)=='quiz'){ $unit_duration_parameter = apply_filters('vibe_quiz_duration_parameter',60,$unit); } $total_duration = $total_duration + $duration*$unit_duration_parameter; } $course_details['units_duration'] = '<li>'.count($units).' Units,<i class="icon-clock-1"></i>'.tofriendlytime(( $total_duration)).'</li>'; return $course_details;
April 27, 2019 at 8:47 am #206516loganMemberHello, this is code's logic related. i will discuss with alex about this. till then wait. remind me by monday,May 8, 2019 at 2:59 am #208122KAISTSpectatorand after update new version all 9999 days for life time turn to "27 years, 9 months" ( Not a lifetime as before. ) https://screencast-o-matic.com/watch/cqhjnsZsax please check this also. thank you so much!May 8, 2019 at 5:58 am #208128loganMemberHello, thats a bug, we have taken note of it. we will fix this in coming update. thanks.May 24, 2019 at 2:18 am #210520KAISTSpectatorthank you logan, But Is there any tip to show course duration as life time? 27 YEARS, 8 MONTHS is looks funny and unfinished feeling. thanksMay 24, 2019 at 5:49 am #210540loganMemberHello, for now, this is a bug. we are working on it. there is no fix for now. please hide this section for the single course.June 3, 2019 at 12:54 am #211893KAISTSpectatorthank you logan. It is fixed this new version. thank you. resolved!June 3, 2019 at 6:05 am #211929loganMemberHi,
Above everything else, our purpose and objective at WPLMS is to serve our customers. Our goal is to make you superhuman workers who can communicate/ teach more clearly, and save everyone around you time.
We wanted to personally thank you for supporting the product and helping us become an essential tool used by thousands of businesses and over 20K+ people. There's still a lot left to do, and we're excited to hear your reviews to build an even better experience for you, your customers & your students.
Here: https://themeforest.net/item/wplms-learning-management-system/reviews/6780226
-Logan, #vibeTeam
-
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
- The topic ‘Set the course duration 9999 days, But course is EXPIRED’ is closed to new replies.