Quiz And Survey Master (Formerly Quiz Master Next) - Version 0.3

Version Description

Upgrade to enjoy the new Not Graded scoring system and some error fixes!

Download this release

Release Info

Developer fpcorso
Plugin Icon 128x128 Quiz And Survey Master (Formerly Quiz Master Next)
Version 0.3
Comparing to
See all releases

Code changes from version 0.2 to 0.3

includes/mlw_dashboard.php CHANGED
@@ -53,7 +53,7 @@ function mlw_generate_quiz_dashboard(){
53
  <div class="wrap">
54
  <h2>Quiz Master Next Dashboard<a id="opener" href="">(?)</a></h2>
55
 
56
- <h3>Version 0.2</h3>
57
  <p>Thank you for trying out my new plugin. I hope you find it beneficial to your website.</p>
58
 
59
  <div style="float:left; width:60%;" class="inner-sidebar1">
53
  <div class="wrap">
54
  <h2>Quiz Master Next Dashboard<a id="opener" href="">(?)</a></h2>
55
 
56
+ <h3>Version 0.3</h3>
57
  <p>Thank you for trying out my new plugin. I hope you find it beneficial to your website.</p>
58
 
59
  <div style="float:left; width:60%;" class="inner-sidebar1">
includes/mlw_main_page.php CHANGED
@@ -83,7 +83,7 @@ function mlw_generate_main_page()
83
  <div class="wrap">
84
  <h2>Quiz Master Next Support <a id="opener" href="">(?)</a></h2>
85
 
86
- <h3>Version 0.2</h3>
87
  <p>Thank you for trying out my new plugin. I hope you find it beneficial to your website.</p>
88
 
89
  <div style="float:left; width:60%;" class="inner-sidebar1">
@@ -160,19 +160,13 @@ function quiz_wpss_mrt_meta_box2()
160
  <div>
161
  <table width='100%'>
162
  <tr>
163
- <td align='left'>0.2 (September 9, 2013)</td>
164
  </tr>
165
  <tr>
166
- <td align='left'>* Added New Quiz Dashboard Page</td>
167
  </tr>
168
  <tr>
169
- <td align='left'>* Created Audit Trail</td>
170
- </tr>
171
- <tr>
172
- <td align='left'>* Added Ability to Add Questions/Answers to Templates</td>
173
- </tr>
174
- <tr>
175
- <td align='left'>* Minor Spelling/Grammer Fixes</td>
176
  </tr>
177
  </table>
178
  </div>
83
  <div class="wrap">
84
  <h2>Quiz Master Next Support <a id="opener" href="">(?)</a></h2>
85
 
86
+ <h3>Version 0.3</h3>
87
  <p>Thank you for trying out my new plugin. I hope you find it beneficial to your website.</p>
88
 
89
  <div style="float:left; width:60%;" class="inner-sidebar1">
160
  <div>
161
  <table width='100%'>
162
  <tr>
163
+ <td align='left'>0.3 (September 12, 2013)</td>
164
  </tr>
165
  <tr>
166
+ <td align='left'>* Increased Scoring Systems To Three: Correct, Points, Or Not Graded</td>
167
  </tr>
168
  <tr>
169
+ <td align='left'>* Error Fixes</td>
 
 
 
 
 
 
170
  </tr>
171
  </table>
172
  </div>
includes/mlw_quiz_admin.php CHANGED
@@ -18,8 +18,8 @@ function mlw_generate_quiz_admin()
18
  {
19
  //Insert New Quiz Into Table
20
  $insert = "INSERT INTO " . $table_name .
21
- "(quiz_id, quiz_name, message_before, message_after, user_email_template, admin_email_template, submit_button_text, name_field_text, business_field_text, email_field_text, phone_field_text, system, show_score, send_user_email, user_name, user_comp, user_email, user_phone, admin_email, quiz_views, quiz_taken, deleted) " .
22
- "VALUES (NULL , '" . $quiz_name . "' , 'Enter your text here', 'Enter your text here', 'Enter your text here', 'Enter your text here', 'Submit Quiz', 'Name', 'Business', 'Email', 'Phone Number', 0, 0, 0, 0, 0, 0, 0, '".get_option( 'admin_email', 'Enter email' )."', 0, 0, 0)";
23
  $results = $wpdb->query( $insert );
24
  $hasCreatedQuiz = true;
25
 
18
  {
19
  //Insert New Quiz Into Table
20
  $insert = "INSERT INTO " . $table_name .
21
+ "(quiz_id, quiz_name, message_before, message_after, user_email_template, admin_email_template, submit_button_text, name_field_text, business_field_text, email_field_text, phone_field_text, system, show_score, send_user_email, send_admin_email, user_name, user_comp, user_email, user_phone, admin_email, quiz_views, quiz_taken, deleted) " .
22
+ "VALUES (NULL , '" . $quiz_name . "' , 'Enter your text here', 'Enter your text here', 'Enter your text here', 'Enter your text here', 'Submit Quiz', 'Name', 'Business', 'Email', 'Phone Number', 0, 0, 0, 0, 0, 0, 0, 0, '".get_option( 'admin_email', 'Enter email' )."', 0, 0, 0)";
23
  $results = $wpdb->query( $insert );
24
  $hasCreatedQuiz = true;
25
 
includes/mlw_quiz_options.php CHANGED
@@ -877,6 +877,7 @@ function mlw_generate_quiz_options()
877
  <td><div id="system">
878
  <input type="radio" id="radio1" name="system" <?php if ($mlw_quiz_options->system == 0) {echo 'checked="checked"';} ?> value='0' /><label for="radio1">Correct/Incorrect</label>
879
  <input type="radio" id="radio2" name="system" <?php if ($mlw_quiz_options->system == 1) {echo 'checked="checked"';} ?> value='1' /><label for="radio2">Points</label>
 
880
  </div></td>
881
  </tr>
882
  <tr valign="top">
877
  <td><div id="system">
878
  <input type="radio" id="radio1" name="system" <?php if ($mlw_quiz_options->system == 0) {echo 'checked="checked"';} ?> value='0' /><label for="radio1">Correct/Incorrect</label>
879
  <input type="radio" id="radio2" name="system" <?php if ($mlw_quiz_options->system == 1) {echo 'checked="checked"';} ?> value='1' /><label for="radio2">Points</label>
880
+ <input type="radio" id="radio3" name="system" <?php if ($mlw_quiz_options->system == 2) {echo 'checked="checked"';} ?> value='2' /><label for="radio3">Not Graded</label>
881
  </div></td>
882
  </tr>
883
  <tr valign="top">
includes/mlw_results.php CHANGED
@@ -84,9 +84,13 @@ function mlw_generate_quiz_results()
84
  {
85
  $quotes_list .= "<td class='post-title column-title'><span style='font-size:16px;'>" . $mlw_quiz_info->correct ." out of ".$mlw_quiz_info->total." or ".$mlw_quiz_info->correct_score."%</span></td>";
86
  }
87
- else
88
  {
89
- $quotes_list .= "<td><span style='font-size:16px;'>" . $mlw_quiz_info->point_score . " Points</span></td>";
 
 
 
 
90
  }
91
  $quotes_list .= "<td><span style='font-size:16px;'>" . $mlw_quiz_info->name ."</span></td>";
92
  $quotes_list .= "<td><span style='font-size:16px;'>" . $mlw_quiz_info->business ."</span></td>";
84
  {
85
  $quotes_list .= "<td class='post-title column-title'><span style='font-size:16px;'>" . $mlw_quiz_info->correct ." out of ".$mlw_quiz_info->total." or ".$mlw_quiz_info->correct_score."%</span></td>";
86
  }
87
+ if ($mlw_quiz_info->quiz_system == 1)
88
  {
89
+ $quotes_list .= "<td><span style='font-size:16px;'>" . $mlw_quiz_info->point_score . " Points</span></td>";
90
+ }
91
+ if ($mlw_quiz_info->quiz_system == 2)
92
+ {
93
+ $quotes_list .= "<td><span style='font-size:16px;'>Not Graded</span></td>";
94
  }
95
  $quotes_list .= "<td><span style='font-size:16px;'>" . $mlw_quiz_info->name ."</span></td>";
96
  $quotes_list .= "<td><span style='font-size:16px;'>" . $mlw_quiz_info->business ."</span></td>";
mlw_quizmaster2.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Quiz Master Next
5
  Description: This adds a quiz function to your website. This is the new version of the wildly popular Quiz Master.
6
- Version: 0.2
7
  Author: Frank Corso
8
  Author URI: http://www.mylocalwebstop.com/
9
  Plugin URI: http://www.mylocalwebstop.com/
3
  /*
4
  Plugin Name: Quiz Master Next
5
  Description: This adds a quiz function to your website. This is the new version of the wildly popular Quiz Master.
6
+ Version: 0.3
7
  Author: Frank Corso
8
  Author URI: http://www.mylocalwebstop.com/
9
  Plugin URI: http://www.mylocalwebstop.com/
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: fpcorso
3
  Tags: quiz, test, score, survey
4
  Requires at least: 3.0.1
5
  Tested up to: 3.6.1
6
- Stable tag: 0.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -22,8 +22,9 @@ Features include:
22
  * Can ask for user's contact information
23
  * Can email user after taking the quiz
24
  * Can email an admin after a user takes the quiz
25
- * Can score the quiz using either an incorrect/correct system or a points based system
26
  * Saves the results after a user takes the quiz
 
27
 
28
  == Installation ==
29
 
@@ -44,6 +45,10 @@ Feel free to use the support option on the main page of the plugin.
44
 
45
  == Changelog ==
46
 
 
 
 
 
47
  = 0.2 (September 9, 2013) =
48
  * Added New Quiz Dashboard Page
49
  * Created Audit Trail
@@ -60,6 +65,9 @@ Feel free to use the support option on the main page of the plugin.
60
 
61
  == Upgrade Notice ==
62
 
 
 
 
63
  = 0.2 =
64
  Upgrade to enjoy three new features and some minor fixes!
65
 
3
  Tags: quiz, test, score, survey
4
  Requires at least: 3.0.1
5
  Tested up to: 3.6.1
6
+ Stable tag: 0.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
22
  * Can ask for user's contact information
23
  * Can email user after taking the quiz
24
  * Can email an admin after a user takes the quiz
25
+ * Can score the quiz using an incorrect/correct system, a points based system, or a not-graded system
26
  * Saves the results after a user takes the quiz
27
+ * Features audit trail so admins can keep track of who adds, edits, or deletes quizzes and questions
28
 
29
  == Installation ==
30
 
45
 
46
  == Changelog ==
47
 
48
+ = 0.3 (September 12, 2013) =
49
+ * Increased Scoring Systems To Three: Correct, Points, Or Not Graded
50
+ * Error Fixes
51
+
52
  = 0.2 (September 9, 2013) =
53
  * Added New Quiz Dashboard Page
54
  * Created Audit Trail
65
 
66
  == Upgrade Notice ==
67
 
68
+ = 0.3 =
69
+ Upgrade to enjoy the new Not Graded scoring system and some error fixes!
70
+
71
  = 0.2 =
72
  Upgrade to enjoy three new features and some minor fixes!
73