How to download course as a student

Home Forums Legacy Support Support queries How-to & Troubleshooting How to download course as a student

Viewing 15 posts - 16 through 30 (of 34 total)
  • Author
    Posts
  • #373498
    Veronica
    Moderator
    wplms customizer plugin is a blank plugin it is not going to make any impact on-site until you add any custom code so you can download it and use it with new version of the theme as well
    #373547
    Adam
    Spectator
    Okay I enabled service worker from vibebp and regenerated service worker and in our PWA dashboard in manage course section i can see a new icon on all courses boxes. After clicking on the icon on a course, message popups in bottom says: course is available for download offline. But when i click on enrolled course section, and go to that course, i dont see any download icon to download the course. What i am missing here? Also on some course while clikcin the icon, i see this: Course package set. Course can't be set to offline!
    #373551
    Adam
    Spectator
    and the code you sent me i used it but it seems manifest file not generated for whole site except in pwa dashboard. And in PWA dashboard while visiting in mobile i can see 'add to home screen' popup. But we wanted to show the manifest file for whole site and will show add to home screen while in mobile to all pages. Even I set the home page as app for service worker option in vibebp->service worker tab, it wont show manifest file. I did generated service worker each time i change soemthing.
    #373552
    Adam
    Spectator
    Download course is working. I had to clear cache and re login to see the effect. Question: It does not download as zip, does it download the course in browser and later if no internet connection available, then the course will be available to view? Correct ? If user clear browser cache will it clear the course as well ? https://www.awesomescreenshot.com/image/15631490?key=d7dbf3b069b4138cafa50587a4ec2d06 https://www.awesomescreenshot.com/image/15631442?key=178ea56ee6e989e22642e45d8d49ed8b
    #373553
    Adam
    Spectator
    also i am getting following warning and error message in our pwa dashboard.
    WARNING: cdn.mathjax.org has been retired. Check https://www.mathjax.org/cdn-shutting-down/ for migration tips.
    This is related to: https://www.hublearn.com/wp-content/plugins/vibebp/assets/js/editor.js?ver=1.6.3
    Message: Vibebp ServiceWorker registration successful with scope: https://www.hublearn.com/
    Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope ('https://www.hublearn.com/welcome-hublearn/') with script ('https://www.hublearn.com/welcome-hublearn/pwabuilder-sw.js'): A bad HTTP response code (404) was received when fetching the script.
    #373587
    Adam
    Spectator
    We notice PWA service worker caching conflicts with page caching. This is the scenario: We visit our site in frontend and all pages are cached in our server and we are seeing cached version of pages. But when we login to our PWA dashboard and then logs out then we notice our page caching is not working, we are seeing non cachces pages. But when we delete all service worker caching from browser then our page caching kicks in. Did you aware of this issue? Any solution ?
    #373682
    Anshuman Sahu
    Keymaster
    This reply has been marked as private.
    #373687
    Adam
    Spectator
    Yes instructor download issue is resolved as I explained in my earlier message. Please check the last 2 messages regarding service worker offline caching and few error messages.
    #373748
    Anshuman Sahu
    Keymaster
    Sorry for this . Question: It does not download as zip, does it download the course in browser and later if no internet connection available, then the course will be available to view? Correct ? Yes you are right ,it downloads course in browser itself . 2 . also i am getting following warning and error message in our pwa dashboard. can be safely ignored .
    #373835
    Adam
    Spectator
    Okay thank you. Can you please answer my last question regarding service worker offline caching and page caching ?
    We notice PWA service worker caching conflicts with page caching. This is the scenario: We visit our site in frontend and all pages are cached in our server and we are seeing cached version of pages. But when we login to our PWA dashboard and then logs out then we notice our page caching is not working, we are seeing non cachces pages. But when we delete all service worker caching from browser then our page caching kicks in. Did you aware of this issue? Any solution ?
    #373868
    Anshuman Sahu
    Keymaster
    Well we do not remove any cached pages and data on logout .The pages should be shown cached there. Also please note that we are not caching all the pages .We are only caching only two pages 1 . pwa page. 2 . home page . Yes we do cache the scripts but it is not disabled when user logs out , scripts once cached are served from cache storage .
    #373966
    Adam
    Spectator
    But actually it does. Service worker caching and HTTP/page caching has conflicts.
    #374003
    Anshuman Sahu
    Keymaster
    There is no way it can cache the html pages except the two html pages .We did not wrote any code for this . can you please share your site url and admin creds in private reply .
    #374095
    Adam
    Spectator
    in our https://www.hublearn.com site almost all pages are cached except the PWA dashboard. Our caching plugin is swift performance pro. So i recorded a video to see how it works. https://www.awesomescreenshot.com/video/5902856?key=50ffb495de6868eb8e07709f7c505c09 basically when i first visit the home page or any other pages and then view the source in browser, swift performance is caching the page as it indicates (<!--Cached with Swift Performance-->) in source file. But if i login and go to our pwa page which is https://www.hublearn.com/welcome-hublearn and logs out and then go to home page, then this page is not cached. Its showing non-cached version. You can view the source of browser and you won't see a swift performance reference (<!--Cached with Swift Performance-->) in the footer. now if I open the inspect tool in the browser and then go to the application tab and then storage you will notice some 19mb sized is saved. If I clear the size by clicking the 'clear site data' button, it clears the data and then loads the page then it shows a caching version of the page which is from swift performance. So basically when the site data was saved into the browser our own caching does not work. And site data was saved by your service worker. it works when we clear the site data aka service worker offline caching data.
    #374150
    Anshuman Sahu
    Keymaster
    This reply has been marked as private.
Viewing 15 posts - 16 through 30 (of 34 total)
  • The topic ‘How to download course as a student’ is closed to new replies.