Home › Forums › Legacy Support › Support queries › Setup issues › Bug: Unlimited Access
Tagged: unlimited access
- This topic has 22 replies, 3 voices, and was last updated 5 years, 8 months ago by Anshuman Sahu.
-
AuthorPosts
-
February 15, 2019 at 10:41 pm #197045pablocanedoqParticipantHi, I have an offline course set up for 4 years, but "Unlimited Access" appears on the course page. https://prnt.sc/mlpoge https://prnt.sc/mlpmu8 I need that where it says "Unlimited Access" say "4 years". Please, how can we configure or fix this? Thank youFebruary 16, 2019 at 7:11 am #197082Anshuman SahuKeymasterplease try adding this given code in your wplms-customizer.php file in wplms customizer plugin : add_filter('course_friendly_time',function ($time,$seconds,$course_id){ $course_duration_parameter = apply_filters('vibe_course_duration_parameter',86400,$course_id); $time = tofriendlytime($seconds,$course_duration_parameter); return $time; },10,3);February 18, 2019 at 5:08 pm #197383pablocanedoqParticipantIt works almost perfectly. There is an error. When the value is 1 (whether configured with seconds, minutes, hours, days, weeks, months, etc.), the course page does not show the number. For example. In this case, I have set the course with 1 day. Please see how it looks: https://prnt.sc/mms492 The same happens with any other parameter. Whenever the value is 1, it gives this error. On the other hand, could you tell me how to do so that the duration data, use the same typography and size as the other data of the course? See image please: https://prnt.sc/mmsc8c I await your comments. Thank you very much in advance.February 19, 2019 at 11:39 am #197487AvaMemberHi Issue 1: Duration time is 1, then Okay, so this is a bug it seems, and we are working on it. Will update you with the fix. Issue 2: For font typography and size issue Please add the below custom css code to Wp-admin > Appearance > Cutomization > Custom Css > Publish li.course_time { font-family: "Montserrat" !important; }February 19, 2019 at 2:49 pm #197532pablocanedoqParticipantOk, the typography issue is solved. So, I'll be waiting for the fix of the duration time issue. Thanks.February 19, 2019 at 7:53 pm #197568pablocanedoqParticipantPlease, I would also like to add the following issue: I just changed the duration of a course. It was configured with 4 years of duration; I changed it to 3 years. The changes are effective for all users, except for the students enrolled in the course. Although the course is now 3 years long, for students enrolled in the course, the duration is still 4 years. Then, we have two different time durations for the same course. I await your comments on this issue too. Thank you.February 20, 2019 at 7:51 am #197619AvaMemberHi So there was an issue of cache, I deleted the cache in your site and now the duration is showing correcting for the courses. Please verify now.February 20, 2019 at 1:18 pm #197688pablocanedoqParticipantSorry, but it has not been solved. Just in case, I also deleted the cache of my browsers, but the error is still there. Look at this image please: https://prnt.sc/mnns5b I also want to note another issue: The progress bar of the course shows 100% progress, which is not correct since the course has a start date of 2019-02-11. I have activated the option "Automatically generate the progress of the course according to the duration." https://prnt.sc/mno10o https://prnt.sc/mno3o0 Maybe I'm not using the correct configuration. I await your comments. Thank youFebruary 21, 2019 at 2:00 pm #197850AvaMemberokay, so there is reason why student can see the duration of years differently than admin. So, when a non-logged in member or admin will open a course page, that will show the default duration which you have set for the course. But if any logged-in user or student will access that page, it will show the left duration of the course of his own. The duration of the course here acts dynamically. So it will show different for both admin as well as student. I hope I able to clear the issue here.February 21, 2019 at 2:53 pm #197868pablocanedoqParticipantok, I understand the point, but then this will generate great confusion in the user of offline courses. I explain: If the course lasts 5 years and the user has started 2 weeks ago, it should indicate at least 4 years and 11 months (not being very accurate). Anyway, I do not think this is the problem and I'll explain why: Following your logic, if I change the duration of the course to 3 years, for the enrolled user it should show 2 years, but it still shows 4 years. No matter the time duration you put the course now (it can be 10 years, if you want), for this user the duration of the course will remain 4 years (which was the time duration that was established when he enrolled in the course). You can test it, if you like. It seems that once the user has enrolled in the course, with a specific time duration, it does not matter that you change the time duration from the admin, for the student the time duration that was established when he enrolled will be maintained. Is there any way to fix this? And I also reiterate the other issue. Why if it says 4 years, the progress bar shows 100%? I await your comments. Thank you. P.S. I assume that you changed the user's password, to be able to do the checks, right?February 22, 2019 at 2:46 pm #198011AvaMemberYes there is an issue with the duration in years more than 2 years . IT starts to show unlimited access . this is a bug , we have fixed it . to fix this at your end please share your valid ftp credentials in private reply. Yes it shows the default duration when user is not logged or not enrolled in course . But when user is logged in and enrolled in course then it shows the remaining duration of the user .February 22, 2019 at 9:49 pm #198056pablocanedoqParticipantThis reply has been marked as private.February 23, 2019 at 11:01 am #198125Anshuman SahuKeymasterOkay changed has been done in your site please checkFebruary 23, 2019 at 1:44 pm #198156pablocanedoqParticipantHi, I have checked, but I do not see any change. This is the matter (see the image please): https://prnt.sc/mp28k1 I await your commentsFebruary 25, 2019 at 1:13 pm #198331AvaMemberIm sorry I could not understand how are you relating progress and course duration ? Progress in course is calculated based of number of units user has marked completed . http://prntscr.com/mpudxv
-
AuthorPosts
- The topic ‘Bug: Unlimited Access’ is closed to new replies.