Bug: Unlimited Access

Home Forums Legacy Support Support queries Setup issues Bug: Unlimited Access

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #197045
    pablocanedoq
    Participant
    Hi, 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 you
    #197082
    Anshuman Sahu
    Keymaster
    please 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);
    #197383
    pablocanedoq
    Participant
    It 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.
    #197487
    Ava
    Member
    Hi 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; }
    #197532
    pablocanedoq
    Participant
    Ok, the typography issue is solved. So, I'll be waiting for the fix of the duration time issue. Thanks.  
    #197568
    pablocanedoq
    Participant
    Please, 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.
    #197619
    Ava
    Member
    Hi 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.
    #197688
    pablocanedoq
    Participant
    Sorry, 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 you
    #197850
    Ava
    Member
    okay, 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.
    #197868
    pablocanedoq
    Participant
    ok, 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?
    #198011
    Ava
    Member
    Yes 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 .
    #198056
    pablocanedoq
    Participant
    This reply has been marked as private.
    #198125
    Anshuman Sahu
    Keymaster
    Okay changed has been done in your site please check
    #198156
    pablocanedoq
    Participant
    Hi, 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 comments
    #198331
    Ava
    Member
    Im 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
Viewing 15 posts - 1 through 15 (of 23 total)
  • The topic ‘Bug: Unlimited Access’ is closed to new replies.