Resume course or unit on login

Home Forums Legacy Support Support queries How-to & Troubleshooting Resume course or unit on login

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #375887
    Makarand Mane
    Spectator
    Hi I would like to Resume student with last course or unit he was using after login. So after login he will be redirected to start course with last or next unit open. Let me know if it can be work out anyway in wplms 3.9 or 4 @mr-vibe @alex I have selected notify but I am not receiving any single mail from support after reply on topic.
    #375930
    Anshuman Sahu
    Keymaster
    Well the last unit to already loads in courses but the last course does not gets saved anywhere from which we load it . In v3 we have direct links from curriculum : https://wplms.io/support/knowledge-base/direct-unit-link-from-curriculum/ what you can do is to save the course status unit url in usermeta on unit_travese trigger . https://wplms.io/support/knowledge-base/run-custom-actions-on-unit-load/
    $('.unit_content').on('unit_traverse',function(){
     
    //while this runs you can get unit specific url in course status in url bar
    //make ajax call to save window.location in usermeta 
     
    });
    then after login you can fetch this usermeta and simply redirect user to this link .
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Resume course or unit on login’ is closed to new replies.