Title: Customize Points Calculation
Last modified: May 3, 2017

---

# Customize Points Calculation

 *  [quirem](https://wordpress.org/support/users/quirem/)
 * (@quirem)
 * [9 years ago](https://wordpress.org/support/topic/customize-points-calculation/)
 * dear all,
 * I would like to customize the points calculation for any new Quizz…
    If I consider
   a question with 5 possible answers where only 3 are correct: If end user is answering
   correctly (3 correct answers checked), he gains 1 point If there is one mistake(
   two correct answers checked), he gains only 0,5 points If there are two mistakes(
   only one correct answer checked), he gains 0,2 points
 * Would you please tell me which file I need to update to get such functionality?
 * Thanks for your answer.
 * Quirem.

Viewing 1 replies (of 1 total)

 *  [Frank Corso](https://wordpress.org/support/users/fpcorso/)
 * (@fpcorso)
 * [9 years ago](https://wordpress.org/support/topic/customize-points-calculation/#post-9104332)
 * Hey [@quirem](https://wordpress.org/support/users/quirem/)
 * Thank you for choosing to use this plugin! The plugin does not currently have
   the functionality to create a scoring system in this way.
 * You might be able to use the plugin’s filters to achieve this. Some relevant 
   files and functions you would want to review include:
 * [https://github.com/fpcorso/quiz_master_next/blob/master/php/class-qmn-quiz-manager.php#L720](https://github.com/fpcorso/quiz_master_next/blob/master/php/class-qmn-quiz-manager.php#L720)
   
   [https://github.com/fpcorso/quiz_master_next/blob/master/php/class-qmn-quiz-manager.php#L529](https://github.com/fpcorso/quiz_master_next/blob/master/php/class-qmn-quiz-manager.php#L529)
   [https://github.com/fpcorso/quiz_master_next/blob/master/php/question-types.php](https://github.com/fpcorso/quiz_master_next/blob/master/php/question-types.php)
   [https://github.com/fpcorso/quiz_master_next/blob/master/php/class-qmn-plugin-helper.php](https://github.com/fpcorso/quiz_master_next/blob/master/php/class-qmn-plugin-helper.php)
 * The plugin uses the QMNQUizManager class to display the quiz and submit the results.
   This class uses the QMNPluginHelper class to retrieve the question types and 
   score the question types based on the functions in the question-types file.
 * Even with the hooks, filters, and functions, I am not entirely sure that a system
   could be built without editing the core files. Remember, if you do edit the core
   files that any update, including important security update, will revert your 
   changes.

Viewing 1 replies (of 1 total)

The topic ‘Customize Points Calculation’ is closed to new replies.

 * ![](https://ps.w.org/quiz-master-next/assets/icon-128x128.png?rev=3158087)
 * [Quiz and Survey Master (QSM) - Easy Quiz and Survey Maker](https://wordpress.org/plugins/quiz-master-next/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quiz-master-next/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quiz-master-next/)
 * [Active Topics](https://wordpress.org/support/plugin/quiz-master-next/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quiz-master-next/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quiz-master-next/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Corso](https://wordpress.org/support/users/fpcorso/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/customize-points-calculation/#post-9104332)
 * Status: not resolved