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

Version Description

(September 13, 2013) = * Bug Fixes

Download this release

Release Info

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

Code changes from version 0.3 to 0.3.1

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.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">
53
  <div class="wrap">
54
  <h2>Quiz Master Next Dashboard<a id="opener" href="">(?)</a></h2>
55
 
56
+ <h3>Version 0.3.1</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.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,13 +160,10 @@ function quiz_wpss_mrt_meta_box2()
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>
83
  <div class="wrap">
84
  <h2>Quiz Master Next Support <a id="opener" href="">(?)</a></h2>
85
 
86
+ <h3>Version 0.3.1</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.1 (September 13, 2013)</td>
164
  </tr>
165
  <tr>
166
+ <td align='left'>* Bug Fixes</td>
 
 
 
167
  </tr>
168
  </table>
169
  </div>
includes/mlw_quiz_options.php CHANGED
@@ -112,12 +112,14 @@ function mlw_generate_quiz_options()
112
  }
113
 
114
  //Get table of questions for this quiz
115
- global $wpdb;
116
- $table_name = $wpdb->prefix . "mlw_questions";
117
- $sql = "SELECT * FROM " . $table_name . " WHERE quiz_id=".$quiz_id." AND deleted=0";
118
- $sql .= " ORDER BY question_id ASC";
119
- $mlw_question_data = $wpdb->get_results($sql);
120
-
 
 
121
 
122
  /*
123
  Code for Quiz Text tab
@@ -193,12 +195,15 @@ function mlw_generate_quiz_options()
193
  */
194
 
195
  //Load all quiz data
196
- $sql = "SELECT * FROM " . $wpdb->prefix . "mlw_quizzes" . " WHERE quiz_id=".$quiz_id;
197
- $mlw_quiz_options = $wpdb->get_results($sql);
198
-
199
- foreach($mlw_quiz_options as $testing) {
200
- $mlw_quiz_options = $testing;
201
- break;
 
 
 
202
  }
203
  ?>
204
  <!-- css -->
112
  }
113
 
114
  //Get table of questions for this quiz
115
+ if ($quiz_id != "")
116
+ {
117
+ global $wpdb;
118
+ $table_name = $wpdb->prefix . "mlw_questions";
119
+ $sql = "SELECT * FROM " . $table_name . " WHERE quiz_id=".$quiz_id." AND deleted=0";
120
+ $sql .= " ORDER BY question_id ASC";
121
+ $mlw_question_data = $wpdb->get_results($sql);
122
+ }
123
 
124
  /*
125
  Code for Quiz Text tab
195
  */
196
 
197
  //Load all quiz data
198
+ if ($quiz_id != "")
199
+ {
200
+ $sql = "SELECT * FROM " . $wpdb->prefix . "mlw_quizzes" . " WHERE quiz_id=".$quiz_id;
201
+ $mlw_quiz_options = $wpdb->get_results($sql);
202
+
203
+ foreach($mlw_quiz_options as $testing) {
204
+ $mlw_quiz_options = $testing;
205
+ break;
206
+ }
207
  }
208
  ?>
209
  <!-- css -->
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.3
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.1
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.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -45,6 +45,9 @@ Feel free to use the support option on the main page of the plugin.
45
 
46
  == Changelog ==
47
 
 
 
 
48
  = 0.3 (September 12, 2013) =
49
  * Increased Scoring Systems To Three: Correct, Points, Or Not Graded
50
  * Error Fixes
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.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
45
 
46
  == Changelog ==
47
 
48
+ = 0.3.1 (September 13, 2013) =
49
+ * Bug Fixes
50
+
51
  = 0.3 (September 12, 2013) =
52
  * Increased Scoring Systems To Three: Correct, Points, Or Not Graded
53
  * Error Fixes