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

Version Description

Upgrade for bug fixes.

Download this release

Release Info

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

Code changes from version 2.7.1 to 2.7.2

includes/mlw_quiz.php CHANGED
@@ -112,7 +112,7 @@ function mlw_quiz_shortcode($atts)
112
  // increase the default animation speed to exaggerate the effect
113
  $j.fx.speeds._default = 1000;
114
  $j(function() {
115
- $j( document ).tooltip();
116
  });
117
  }, 100);
118
  </script>
@@ -258,7 +258,7 @@ function mlw_quiz_shortcode($atts)
258
  <script type="text/javascript">
259
  setTimeout(function(){
260
  var minutes = 0;
261
- if (window.sessionStorage.getItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>') >= 0)
262
  {
263
  minutes = window.sessionStorage.getItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>');
264
  }
@@ -279,6 +279,7 @@ function mlw_quiz_shortcode($atts)
279
  window.amount = 0;
280
  }
281
  window.sessionStorage.setItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>', window.amount/60);
 
282
  document.getElementById("mlw_qmn_timer").innerHTML = minToSec(window.amount);
283
  window.document.title = minToSec(window.amount) + " " + window.titleText;
284
  if (window.amount <= 0)
@@ -676,8 +677,9 @@ function mlw_quiz_shortcode($atts)
676
  else
677
  {
678
  ?>
679
- <script>
680
  window.sessionStorage.setItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>', 'completed');
 
681
  </script>
682
  <?php
683
  if (empty($mlw_spam_email) && $mlw_qmn_isAllowed)
112
  // increase the default animation speed to exaggerate the effect
113
  $j.fx.speeds._default = 1000;
114
  $j(function() {
115
+ $j( ".mlw_qmn_quiz" ).tooltip();
116
  });
117
  }, 100);
118
  </script>
258
  <script type="text/javascript">
259
  setTimeout(function(){
260
  var minutes = 0;
261
+ if (window.sessionStorage.getItem('mlw_started_quiz<?php echo $mlw_quiz_id; ?>') == "yes" && window.sessionStorage.getItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>') >= 0)
262
  {
263
  minutes = window.sessionStorage.getItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>');
264
  }
279
  window.amount = 0;
280
  }
281
  window.sessionStorage.setItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>', window.amount/60);
282
+ window.sessionStorage.setItem('mlw_started_quiz<?php echo $mlw_quiz_id; ?>', "yes");
283
  document.getElementById("mlw_qmn_timer").innerHTML = minToSec(window.amount);
284
  window.document.title = minToSec(window.amount) + " " + window.titleText;
285
  if (window.amount <= 0)
677
  else
678
  {
679
  ?>
680
+ <script type="text/javascript">
681
  window.sessionStorage.setItem('mlw_time_quiz<?php echo $mlw_quiz_id; ?>', 'completed');
682
+ window.sessionStorage.setItem('mlw_started_quiz<?php echo $mlw_quiz_id; ?>', "no");
683
  </script>
684
  <?php
685
  if (empty($mlw_spam_email) && $mlw_qmn_isAllowed)
includes/mlw_update.php CHANGED
@@ -6,7 +6,7 @@ function mlw_quiz_update()
6
  {
7
 
8
  //Update this variable each update. This is what is checked when the plugin is deciding to run the upgrade script or not.
9
- $data = "2.7.1";
10
  if ( ! get_option('mlw_quiz_master_version'))
11
  {
12
  add_option('mlw_quiz_master_version' , $data);
6
  {
7
 
8
  //Update this variable each update. This is what is checked when the plugin is deciding to run the upgrade script or not.
9
+ $data = "2.7.2";
10
  if ( ! get_option('mlw_quiz_master_version'))
11
  {
12
  add_option('mlw_quiz_master_version' , $data);
mlw_quizmaster2.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Quiz Master Next
5
  Description: Use this plugin to add multiple quizzes, tests, or surveys to your website.
6
- Version: 2.7.1
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: Use this plugin to add multiple quizzes, tests, or surveys to your website.
6
+ Version: 2.7.2
7
  Author: Frank Corso
8
  Author URI: http://www.mylocalwebstop.com/
9
  Plugin URI: http://www.mylocalwebstop.com/
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: quiz, test, score, survey, contact, form, email, answer, question
5
  Requires at least: 3.5.1
6
  Tested up to: 3.9.1
7
- Stable tag: 2.7.1
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
@@ -79,7 +79,7 @@ We now offer an installation service to assist you in this process. We will inst
79
  On each page, there is a "?" next to the page title. Clicking on it will bring up a small help window that will assist you on that page.
80
 
81
  = How do you use that feature? =
82
- There is a How-To page that has many useful how-to's to assist you on using the plugin. If you still have any trouble, feel free to use the widget on the quiz dashboard within the plugin to contact me and I will help you.
83
 
84
  = I need a lot of help setting up my quiz, what can you do to help? =
85
  We now offer a premium support plan that offers priority response, access to a premium support-only forum, and includes 1-on-1 training! For details, visit our services page: [My Local Webstop Services](http://mylocalwebstop.com/product/plugin-premium-support/)
@@ -103,6 +103,10 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
103
 
104
  == Changelog ==
105
 
 
 
 
 
106
  = 2.7.1 (May 16, 2014) =
107
  * Added Ability To Set Number Of Question Per Page
108
  * Fixed HTML Not Showing On Results Page Bug
@@ -447,6 +451,9 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
447
 
448
  == Upgrade Notice ==
449
 
 
 
 
450
  = 2.7.1 =
451
  Upgrade to have the ability to set number of questions per page and more bug fixes.
452
 
4
  Tags: quiz, test, score, survey, contact, form, email, answer, question
5
  Requires at least: 3.5.1
6
  Tested up to: 3.9.1
7
+ Stable tag: 2.7.2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
79
  On each page, there is a "?" next to the page title. Clicking on it will bring up a small help window that will assist you on that page.
80
 
81
  = How do you use that feature? =
82
+ We have begun creating documentation for the plugin. You can view the documentation here: [Documentation](http://mylocalwebstop.com/plugin-documentation/) If you still have any trouble, feel free to use the widget on the quiz dashboard within the plugin to contact me and I will help you.
83
 
84
  = I need a lot of help setting up my quiz, what can you do to help? =
85
  We now offer a premium support plan that offers priority response, access to a premium support-only forum, and includes 1-on-1 training! For details, visit our services page: [My Local Webstop Services](http://mylocalwebstop.com/product/plugin-premium-support/)
103
 
104
  == Changelog ==
105
 
106
+ = 2.7.2 (May 18, 2014) =
107
+ * Fixed Timer Not Restarting Bug
108
+ * Fixed Tooltip Affecting Whole Page Bug
109
+
110
  = 2.7.1 (May 16, 2014) =
111
  * Added Ability To Set Number Of Question Per Page
112
  * Fixed HTML Not Showing On Results Page Bug
451
 
452
  == Upgrade Notice ==
453
 
454
+ = 2.7.2 =
455
+ Upgrade for bug fixes.
456
+
457
  = 2.7.1 =
458
  Upgrade to have the ability to set number of questions per page and more bug fixes.
459