Support » Plugin: Sensei LMS » Sensei Shortcode – Display Sum of Quiz Grade Points, Completed Courses

  • Resolved adminsvs

    (@adminsvs)


    Any chance there is an existing short code display for Sensei User – Sum of Quiz Grade Points, all Quizzes, for Courses Status “Complete”? For shortcode use on User Profile page or separate page. I’ve tried 3-4 ways incl. a fetch, can’t seem to get it, But I am no Sensei! Thanks! Good work on Sensei!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter adminsvs

    (@adminsvs)

    Anyone know if this function can be used to create shortcode for this ?

    get_sensei_user_grades( $lesson_id, $user_id = 0 )

    Thread Starter adminsvs

    (@adminsvs)

    Or this get_sensei_user_grades( $lesson_id, $sensei_user_id = 0 )

    Thread Starter adminsvs

    (@adminsvs)

    REVISED QUESTION. Sorry, thanks for feedback from a couple people, I guess the better (and more precise) way to have phrased the question is..

    Can Sensei report Total “Grade” by Total (sum) of Points (of Questions of Lesson in Courses of a Module) correctly answered) instead of grade (and view results) by percentile?

    or, as just handed to me….

    (i.e. existing Sensei shortcode or function) to fetch and display: in Learner Profile (or any page) a Sum calculated as the total the number of points assigned to Questions in a Quiz (Lesson) automatically graded (correctly) summed from all Courses with the status of “Completed” in a specific Module.

    Thanks

    Plugin Support Cena (a11n)

    (@cena)

    Hi @adminsvs ,

    To my knowledge, this can’t be done out of the box – you’d likely need a custom mySQL query to grab the information, then transform it for display (in the admin? frontend?).

    That said, we do have an open enhancement request for this here: https://github.com/Automattic/sensei/issues/2258 to which I’ve added your request.

    Sorry I don’t have better news!

    Best,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sensei Shortcode – Display Sum of Quiz Grade Points, Completed Courses’ is closed to new replies.