Home › Forums › Legacy Support › Support queries › Other issues › Only Instructors
- This topic has 5 replies, 2 voices, and was last updated 9 years, 1 month ago by Anshuman Sahu.
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
October 17, 2015 at 12:40 pm #3467eggenoSpectatorHi, I'm creating a platform where all users will have the role of instructors. I set 'Force Instructor Content Privacy' to Yes. First problem: if the X instructor, buys a course by the Y instructor, the X instructor can not click on the lessons of the curriculum nor can see the free lessons I attach a screenshot so you can better understand what I mean Second problem: Both, draft and private courses, can be seen by the instructors. Can you avoid this? Since in my platform, all users will have the role of instructor, it would be helpful if the draft courses and private courses are not visible. Third problem: Is there a way to send an email to the instructor when his course is purchased? I hope you can help me. Thanks in advance Best regards, EggenoOctober 19, 2015 at 11:58 am #3593Anshuman SahuKeymaster1. this is already available in wplms when the instructor privacy is on instrcutors cannot edit another instructor's content . 2. Please clarify upon this : What would happen in the case of the instructor leaves the course in draft mode . In this case when he come back to the course directory to see that course he will not be able to find it . 3. This is already present in the wplms . Goto lms ->settings -> touch points -> Enable email for the course subscribed to the instructor .October 19, 2015 at 1:06 pm #3636eggenoSpectatorHi Alex, maybe I have not explained well. In my site, all users who register, will act with instructor role. So everyone can create courses or buy courses from other instructors. 1. Now, if I, who am an instructor, buy a course from another instructor I must be able to view the lessons also from the Course Curriculum. Instead the lessons from that position, are not clickable. I know this is because I have privacy instructor on, but in this case, since I have purchased, the lessons must be clickables (Maybe now if you look at the screenshot above, you understand better what I mean). 2. I have 'Admin Approval for Course' set to Yes. So, when an instructor 'A' creates a course, the course will be in draft mode. Of course the instructor 'A', will continue to get his course in course directory. But if another instructor 'B' creates its course, in course directory, the instructor 'B' will also see the course of instructor 'A' which is still in draft. How to make sure that the instructor 'B' see only his drafts and not those of the instructor 'A'? Is it possible? I hope I was clear 3. It's ok!October 20, 2015 at 12:04 pm #3806Anshuman SahuKeymaster1. Add the given code for this :
add_filter('wplms_curriculum_course_link','enable_course_students_view_units_curriculum'); function enable_course_students_view_units_curriculum($enable){ return 1; } add_filter('wplms_direct_access_tounit','enable_access_tostudents',10,2); function enable_access_tostudents($flag,$post){ return 0; }
2. Sorry not possible in wplms as of now .October 20, 2015 at 12:43 pm #3815eggenoSpectatorHi Alex, 1. The filters that you suggested, enable the lessons even for not logged in users. I need that those lessons, are clickable ONLY for logged in instructors and ONLY after purchased the course. NOT BEFORE! Something like that: if ( is_user_logged_in() && (user has bought course) ) { curriculum_course_link = true; } Free lessons, instead must be clickable both for logged in and logged out instructors. 2. Can you tell me which file where are registered the roles and capabilities?October 21, 2015 at 2:59 pm #4019 -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Only Instructors’ is closed to new replies.