Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › DIRECT ACCESS TO UNITS IS NOT ALLOWED (in course curriculum)
Tagged: curriculum
- This topic has 27 replies, 3 voices, and was last updated 8 years, 11 months ago by mattboy526.
-
AuthorPosts
-
December 31, 2015 at 4:28 am #16225mattboy526ParticipantI'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/sgzWegPdiDecember 31, 2015 at 7:55 am #16257Anshuman SahuKeymasterYes 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/December 31, 2015 at 1:02 pm #16278mattboy526ParticipantThat piece of code is already in the wplms-customizer.php file - still doesn't work.January 4, 2016 at 7:05 am #16473Anshuman SahuKeymasterthis 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 .January 4, 2016 at 2:37 pm #16588mattboy526ParticipantThis reply has been marked as private.January 4, 2016 at 4:27 pm #16604andreaSpectatorThis reply has been marked as private.January 4, 2016 at 5:20 pm #16607mattboy526ParticipantHi there - your reply was marked as private - am I supposed to see it?January 5, 2016 at 11:44 am #16741Anshuman SahuKeymasterHi 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 .January 5, 2016 at 7:28 pm #16816andreaSpectatorThis reply has been marked as private.January 6, 2016 at 9:07 am #16931Anshuman SahuKeymasterI guess i have fixed the issue at your end .Please check .January 12, 2016 at 6:41 pm #18115mattboy526ParticipantThanks 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.January 13, 2016 at 10:52 am #18213Anshuman SahuKeymasterSorry 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/January 13, 2016 at 11:27 pm #18301mattboy526ParticipantAlex, 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.
January 14, 2016 at 11:53 am #18429Anshuman SahuKeymasterCompare 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 .January 14, 2016 at 10:47 pm #18481mattboy526ParticipantOK - 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 -
AuthorPosts
- The topic ‘DIRECT ACCESS TO UNITS IS NOT ALLOWED (in course curriculum)’ is closed to new replies.