Support » Plugin: BuddyPress for LearnDash » Quiz breakdown not visible in buddypress courses tab

  • When I view the courses section in my buddypress profile, I can see the course progression fine, but the quizzes section does not display even though I have quiz attempts.

    The problem seems to be the data structure of the multidimensional array for $quiz_attempts in courses.php.

    (line 137) <?php if ( ! empty( $quiz_attempts[ $course_id ] ) ) : ?>
    This always returns empty as course_id is deeper inside the multidimensional array and not at the top level. Likewise for all the variables looked for inside the loop (e.g. has_graded).

    Just wondering if this will ever be fixed or is it something that I’ll have to override myself in my child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support BuddyBoss Support

    (@bbwpsupport)

    Hey @jol2011,

    Hope you are doing great ๐Ÿ™‚
    Apologies for the delay in response.
    Quiz section is designed to work that way.
    It is not showing the process because quiz is a continues process and quiz can be given more than one time so participants can improve their score. My courses on Profile page shows quiz result directly.

    Regards

    paradoxbox

    (@odincode)

    Hi @jol2011 , If you ever added the override to your child theme I would be interested in seeing how you did it I have a similar need as the course tab gives little quiz data for user. Much appreciated, thanks ๐Ÿ˜‰

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quiz breakdown not visible in buddypress courses tab’ is closed to new replies.