Home Forums Teachify LMS Teachify LMS – Lecture content locked

  • #4113

    rsm181090
    Participant

    817

    Teachify LMS – Lecture content locked

    Hello,

    Student enrolled for a course but why it’s still showing. Lecture content locked. Student able to see quizzes but not lecture. What I am missing here?

Viewing 6 replies - 1 through 6 (of 6 total)
  • #4114

    x8smile
    Participant

    Find and remove this code:

    ` //Mark, If an user is Super Admin.
    if ( Auth::check() ){
    $isOpen = $user->isAdmin();
    }`

    app/Http/Controllers/CourseController.php

    #4115

    rsm181090
    Participant

    @X8smile, Thank you so much it worked!

    I have one more issue related to stripe payment gateway.

    When I tried to do payment via test api key, payment proceed successfully. but when I disable test mode and tried with live api key. payment does not proceed. It stuck on enroll course button. I have tried couple of times and now my credit card is blocked by my bank for internet transactions.

    #4117

    x8smile
    Participant

    That properly cause by your Stripe API. Make sure to enable and make the gateway live on Stripe side.

    I dont use these gateway so not sure.

    #4118

    rsm181090
    Participant

    Yes, I am checking with stripe.

    Is it possible to display result to students automatically when he finishes his quiz For multiple choice questions. Right now instructor has to review students quiz. There is no point to review MCQ questions result as instructor already assigned answers for all MCQ questions.

    #4127

    x8smile
    Participant

    //Mark, If an user is Super Admin.
    if ( Auth::check() ){
    if ( $user->isAdmin ){
    $isOpen = $user->isAdmin();
    }
    }

    Bring these code so admin can check pending course I think.

    #4131

    rsm181090
    Participant

    yes they have updated there theme with this code and now it’s working
    //Mark, If an user is Super Admin.
    if ( Auth::check() && $user->isAdmin() ){
    $isOpen = true;
    }

Viewing 6 replies - 1 through 6 (of 6 total)

Purchase for access

Buy a copy of Teachify LMS for access to our member center.

Buy