1. Custom rating:
fie show_quiz.php
instead code:
$percent = number_format($score / $total * 100, 2);
//0-9 10-19%, 20-29%, 30-39% 40-49%
$all_rating = array(t('Failed'), t('Failed'), t('Failed'), t('Failed'), t('Just Passed'),
//100% More than 100%?!
t('Satisfactory'), t('Competent'), t('Good'), t('Very Good'),t('Excellent'), t('Unbeatable'), t('Cheater'));
I use this code. (number of questions þт this example - 55)
if($score == 0) $all_rating = array(t('no level'));
if(($score >= 1) && ($score <= 10)) $all_rating = array(t('level1'));
if(($score >= 11) && ($score <= 19)) $all_rating = array(t('level2'));
if(($score >= 20) && ($score <= 30)) $all_rating = array(t('level3'));
if(($score >= 31) && ($score <= 40)) $all_rating = array(t('level4'));
if(($score >= 41) && ($score <= 50)) $all_rating = array(t('level5'));
if(($score >= 51) && ($score <= 55)) $all_rating = array(t('level6'));
2. Number of question:
in this line
echo "<div class='question-content'><b>$question_count.</b> ". stripslashes($ques->question) . "</div><br />";
i use <b>$question_count.</b> - this is bolded question number.
Thank you and sorry for my bad English