Only Instructors

Home Forums Legacy Support Support queries Other issues Only Instructors

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3467
    eggeno
    Spectator
    Hi, 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, Eggeno
    #3593
    Anshuman Sahu
    Keymaster
    1. 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  .
    #3636
    eggeno
    Spectator
    Hi 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!
    #3806
    Anshuman Sahu
    Keymaster
    1. 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  .  
    #3815
    eggeno
    Spectator
    Hi 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?
    #4019
    Anshuman Sahu
    Keymaster
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Only Instructors’ is closed to new replies.