Help with Database Location: Course, Quiz, Mark

Home Forums Legacy Support Support queries Other issues Help with Database Location: Course, Quiz, Mark

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11289
    romihbudiardjo
    Spectator
    Dear Vibe, I'm trying to integrate WPLMS with our information system, but encounter some problems.  First, could you provide us where are courses, quizes, and marks which a student take saved in the database? We want to pull the data and synchronize it with our own information system. Second, could you provide us where is the function which responsible to save the quiz' mark in the database? If we could, we want to make a tiny modification in the marking system. Thanks
    #11543
    Anshuman Sahu
    Keymaster
    " save_quiz_marks " is the function that we use to save the marks of the quiz  and  " wplms_evaluate_quiz " is the action hook in this function which have $quiz_id,$marks,$user_id,$max as parameters $quiz_id is the id if that quiz, $marksis the marks of the user ,user_id is the id of the user ,$max is the total marks in that quiz .  The marks in the course is saved in the post meta of the post type course of that course . meta key is the user id and meta value is the marks . The marks in the quiz is saved in the same fashion as that of course . refer : http://prntscr.com/98z2hd
    #12428
    romihbudiardjo
    Spectator
    Thanks for your prompt response. It does help a lot
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Help with Database Location: Course, Quiz, Mark’ is closed to new replies.