DIRECT ACCESS TO UNITS IS NOT ALLOWED (in course curriculum)

Home Forums Legacy Support Support queries How-to & Troubleshooting DIRECT ACCESS TO UNITS IS NOT ALLOWED (in course curriculum)

Tagged: 

Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • #16225
    mattboy526
    Participant
    I'm logged in as a student and I'm unable to access units in the course by directly clicking on the "curriculum" link in the course itself. When I select any of the units I get an error that says "direct access to units is not allowed" 2:22 video: http://www.screencast.com/t/sgzWegPdi
    #16257
    Anshuman Sahu
    Keymaster
    Yes in wplms students cannot access the units directly form the curriculum .They can only access the units from the course status page  . Only instructors and admins can access their units . If you want students to get access to the units from curriculum then please follow this tip . https://wplms.io/support/knowledge-base/enable-students-subscribed-to-course-to-view-units-from-curriculum/
    #16278
    mattboy526
    Participant
    That piece of code is already in the wplms-customizer.php file - still doesn't work.
    #16473
    Anshuman Sahu
    Keymaster
    this will only allow those students to view units from curriculum which are subscribed to the course .The students which have finished the course ,expired,removed from the course or have not purchased teh course will not be able to access the units from the curriculum . can you please check if the student is subscribed to the course . If you are still facing the issue then please share site url and admin credentials to check the issue . Ps: mark reply as private while sharing the credentials .
    #16588
    mattboy526
    Participant
    This reply has been marked as private.
    #16604
    andrea
    Spectator
    This reply has been marked as private.
    #16607
    mattboy526
    Participant
    Hi there - your reply was marked as private - am I supposed to see it?
    #16741
    Anshuman Sahu
    Keymaster
    Hi mattboy i have already replied to your issue in the previous topic . You issue is with your customization to override the single-unit template . Hi andrea , I noticed that the user able click on the unit but not able to access it . Have you properly added the code in your wplms-customizer plugin ? Please share admin credentials and site url to check this . Ps: mark reply as private while sharing the credentials .
    #16816
    andrea
    Spectator
    This reply has been marked as private.
    #16931
    Anshuman Sahu
    Keymaster
    I guess i have fixed the issue at your end .Please check .
    #18115
    mattboy526
    Participant
    Thanks for your reply. We have identified a solution for the navigation issues mentioned in our other support topic and will be implementing a fix for it shortly.  The cookie issue you mentioned pointed us in the right direction and we appreciate your support on that even though the issue was caused by the customizations we made in single-unit.php With this said, we are still experiencing the "Direct Access Not Allowed" issue on student accounts.  It works fine from admin accounts as you pointed out, but not via a student account. If you wish, I can send you a video showing the issue still occurring. In your last reply, you said "I guess i have fixed the issue at your end .Please check" but its definitely still occurring. We would highly appreciate a solution for this problem and also an explanation of what was done so our in house developers can be aware of the fix for reference.
    #18213
    Anshuman Sahu
    Keymaster
    Sorry i meant this for the other user  "andrea" . I checked your site you have overridden the single-unit.php file with the help child theme just delete the single-unit.php file from your child theme and then follow this tip :  https://wplms.io/support/knowledge-base/enable-students-subscribed-to-course-to-view-units-from-curriculum/
    #18301
    mattboy526
    Participant
    Alex, We have placed the code mentioned at https://wplms.io/support/knowledge-base/enable-students-subscribed-to-course-to-view-units-from-curriculum/ into the file specified.  It makes no difference at all. Furthermore, we completely disabled our child theme and activated the main WPLMS theme. This disabled any and all customization we have made. We are still having the issue whereby users are receiving the "Direct Access Not Allowed" error message. I have made the following video which shows you that:
    • The child theme is completely disabled.
    • The code recommended is added to the relevant file.
    • The direct access error is still occurring on a student account.
    Video: http://screencast.com/t/DYRmeivT I can confirm that the customizer plugin IS activated. We have also attempted clearing our local cache in case that was some kind of problem. The issue persists. In this reply: https://wplms.io/support/forums/topic/direct-access-to-units-is-not-allowed-in-course-curriculum/#post-16588 you were provided with both an admin account and student account, so please login and you will be able to verify for yourself that the issue is still occurring. Awaiting your reply.
    #18429
    Anshuman Sahu
    Keymaster
    Compare the two screenshots regarding the code in the main theme single-unit.php file : My test site : http://prntscr.com/9pyg5m Your site : http://prntscr.com/9pyerf You will get your answer  as soon you  compare above . We always recommend to do customizations in child theme or wplms customizer plugin . But you edited the theme files directly . This is support forum ,we are not here to check your customiztions and specially when you do it in the theme files. Now please download a fresh copy of theme from themeforest and then update your wplms theme again . refer : https://wplms.io/support/knowledge-base/manually-updating-wplms/ I have modified the code for accessing the units from curriculum and the code is working at my site and it will be working on your site too when you finish updating the theme again .
    #18481
    mattboy526
    Participant
    OK - for some reason, the css is not coming over from visual composer - even if I activate the main wplms theme - check it out: 2:00 video: http://www.screencast.com/t/ikbukU5V
Viewing 15 posts - 1 through 15 (of 28 total)
  • The topic ‘DIRECT ACCESS TO UNITS IS NOT ALLOWED (in course curriculum)’ is closed to new replies.