Version Description
(January 11, 2015) = * Fixes bug preventing some users to not be able to submit quiz * Fixes bug causing undefined titles for some users
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 4.6.6 |
Comparing to | |
See all releases |
Code changes from version 4.6.5 to 4.6.6
- js/qmn_quiz.js +7 -4
- mlw_quizmaster2.php +8 -6
- php/about-page.php +2 -5
- readme.txt +8 -4
js/qmn_quiz.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
//Global Variables
|
2 |
var qmn_timer_activated = false;
|
|
|
3 |
|
4 |
function qmnTimeTakenTimer() {
|
5 |
var x = +document.getElementById("timer").value;
|
@@ -175,7 +176,7 @@ function qmnActivateTimer( quiz_id ) {
|
|
175 |
minutes = qmn_quiz_data[quiz_id].timer_limit;
|
176 |
}
|
177 |
window.amount = minutes * 60;
|
178 |
-
|
179 |
jQuery( '#quizForm' + quiz_id + ' .mlw_qmn_timer').html( window.amount );
|
180 |
window.qsmCounter = setInterval( qmnTimer, 1000, quiz_id );
|
181 |
}
|
@@ -188,7 +189,7 @@ function qmnTimer( quiz_id ) {
|
|
188 |
window.sessionStorage.setItem( 'mlw_time_quiz' + quiz_id, window.amount / 60 );
|
189 |
window.sessionStorage.setItem( 'mlw_started_quiz' + quiz_id, "yes" );
|
190 |
jQuery( '#quizForm' + quiz_id + ' .mlw_qmn_timer').html( qmnMinToSec( window.amount ) );
|
191 |
-
window.document.title = qmnMinToSec( window.amount ) + " " +
|
192 |
if ( window.amount <= 0 )
|
193 |
{
|
194 |
clearInterval( window.counter );
|
@@ -206,8 +207,10 @@ function qmnTimer( quiz_id ) {
|
|
206 |
function qmnEndTimer( quiz_id ) {
|
207 |
window.sessionStorage.setItem('mlw_time_quiz' + quiz_id, 'completed');
|
208 |
window.sessionStorage.setItem('mlw_started_quiz' + quiz_id, 'no');
|
209 |
-
window.document.title =
|
210 |
-
|
|
|
|
|
211 |
}
|
212 |
|
213 |
function qmnInitTimer( quiz_id ) {
|
1 |
//Global Variables
|
2 |
var qmn_timer_activated = false;
|
3 |
+
var qsmTitleText = window.document.title;
|
4 |
|
5 |
function qmnTimeTakenTimer() {
|
6 |
var x = +document.getElementById("timer").value;
|
176 |
minutes = qmn_quiz_data[quiz_id].timer_limit;
|
177 |
}
|
178 |
window.amount = minutes * 60;
|
179 |
+
|
180 |
jQuery( '#quizForm' + quiz_id + ' .mlw_qmn_timer').html( window.amount );
|
181 |
window.qsmCounter = setInterval( qmnTimer, 1000, quiz_id );
|
182 |
}
|
189 |
window.sessionStorage.setItem( 'mlw_time_quiz' + quiz_id, window.amount / 60 );
|
190 |
window.sessionStorage.setItem( 'mlw_started_quiz' + quiz_id, "yes" );
|
191 |
jQuery( '#quizForm' + quiz_id + ' .mlw_qmn_timer').html( qmnMinToSec( window.amount ) );
|
192 |
+
window.document.title = qmnMinToSec( window.amount ) + " " + qsmTitleText;
|
193 |
if ( window.amount <= 0 )
|
194 |
{
|
195 |
clearInterval( window.counter );
|
207 |
function qmnEndTimer( quiz_id ) {
|
208 |
window.sessionStorage.setItem('mlw_time_quiz' + quiz_id, 'completed');
|
209 |
window.sessionStorage.setItem('mlw_started_quiz' + quiz_id, 'no');
|
210 |
+
window.document.title = qsmTitleText;
|
211 |
+
if ( typeof window.qsmCounter != 'undefined' ) {
|
212 |
+
clearInterval( window.qsmCounter );
|
213 |
+
}
|
214 |
}
|
215 |
|
216 |
function qmnInitTimer( quiz_id ) {
|
mlw_quizmaster2.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Quiz And Survey Master
|
4 |
* Description: Easily and quickly add quizzes and surveys to your website.
|
5 |
-
* Version: 4.6.
|
6 |
* Author: Frank Corso
|
7 |
* Author URI: http://www.quizandsurveymaster.com/
|
8 |
* Plugin URI: http://www.quizandsurveymaster.com/
|
@@ -10,7 +10,7 @@
|
|
10 |
* Domain Path: /languages
|
11 |
*
|
12 |
* @author Frank Corso
|
13 |
-
* @version 4.6.
|
14 |
*/
|
15 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
16 |
/**
|
@@ -28,7 +28,7 @@ class MLWQuizMasterNext
|
|
28 |
* @var string
|
29 |
* @since 4.0.0
|
30 |
*/
|
31 |
-
public $version = '4.6.
|
32 |
|
33 |
/**
|
34 |
* QMN Alert Manager Object
|
@@ -86,11 +86,13 @@ class MLWQuizMasterNext
|
|
86 |
*/
|
87 |
private function load_dependencies()
|
88 |
{
|
|
|
|
|
|
|
89 |
include("php/class-qmn-log-manager.php");
|
90 |
$this->log_manager = new QMN_Log_Manager;
|
91 |
|
92 |
-
if (is_admin())
|
93 |
-
{
|
94 |
include("php/stats-page.php");
|
95 |
include("php/quizzes-page.php");
|
96 |
include("php/quiz-options-page.php");
|
@@ -116,7 +118,7 @@ class MLWQuizMasterNext
|
|
116 |
include("php/class-qmn-review-message.php");
|
117 |
}
|
118 |
include("php/class-qmn-quiz-manager.php");
|
119 |
-
|
120 |
include("php/leaderboard-shortcode.php");
|
121 |
include("php/updates.php");
|
122 |
include("php/widgets.php");
|
2 |
/**
|
3 |
* Plugin Name: Quiz And Survey Master
|
4 |
* Description: Easily and quickly add quizzes and surveys to your website.
|
5 |
+
* Version: 4.6.6
|
6 |
* Author: Frank Corso
|
7 |
* Author URI: http://www.quizandsurveymaster.com/
|
8 |
* Plugin URI: http://www.quizandsurveymaster.com/
|
10 |
* Domain Path: /languages
|
11 |
*
|
12 |
* @author Frank Corso
|
13 |
+
* @version 4.6.6
|
14 |
*/
|
15 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
16 |
/**
|
28 |
* @var string
|
29 |
* @since 4.0.0
|
30 |
*/
|
31 |
+
public $version = '4.6.6';
|
32 |
|
33 |
/**
|
34 |
* QMN Alert Manager Object
|
86 |
*/
|
87 |
private function load_dependencies()
|
88 |
{
|
89 |
+
|
90 |
+
include("php/install.php");
|
91 |
+
|
92 |
include("php/class-qmn-log-manager.php");
|
93 |
$this->log_manager = new QMN_Log_Manager;
|
94 |
|
95 |
+
if ( is_admin() ) {
|
|
|
96 |
include("php/stats-page.php");
|
97 |
include("php/quizzes-page.php");
|
98 |
include("php/quiz-options-page.php");
|
118 |
include("php/class-qmn-review-message.php");
|
119 |
}
|
120 |
include("php/class-qmn-quiz-manager.php");
|
121 |
+
|
122 |
include("php/leaderboard-shortcode.php");
|
123 |
include("php/updates.php");
|
124 |
include("php/widgets.php");
|
php/about-page.php
CHANGED
@@ -67,11 +67,8 @@ function mlw_generate_about_page()
|
|
67 |
<li class="add"><div class="two">Add</div>Some feature was added</li>
|
68 |
<li class="fixed"><div class="two">Fixed</div>Fixed some bug</li>
|
69 |
-->
|
70 |
-
<li class="fixed"><div class="two">Fixed</div>* Fixes
|
71 |
-
<li class="fixed"><div class="two">Fixed</div>* Fixes
|
72 |
-
<li class="fixed"><div class="two">Fixed</div>* Fixes Quizzes/Surveys page table width issue</li>
|
73 |
-
<li class="fixed"><div class="two">Fixed</div>* Fixes but preventing editing of quiz post settings</li>
|
74 |
-
<li class="fixed"><div class="two">Fixed</div>* Minor design changes</li>
|
75 |
</ul>
|
76 |
</div>
|
77 |
<div id="qmn_contributors" class="qmn_tab" style="display:none;">
|
67 |
<li class="add"><div class="two">Add</div>Some feature was added</li>
|
68 |
<li class="fixed"><div class="two">Fixed</div>Fixed some bug</li>
|
69 |
-->
|
70 |
+
<li class="fixed"><div class="two">Fixed</div>* Fixes bug preventing some users to not be able to submit quiz</li>
|
71 |
+
<li class="fixed"><div class="two">Fixed</div>* Fixes bug causing undefined titles for some users</li>
|
|
|
|
|
|
|
72 |
</ul>
|
73 |
</div>
|
74 |
<div id="qmn_contributors" class="qmn_tab" style="display:none;">
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://mylocalwebstop.com/downloads/donation-service-payment/
|
|
4 |
Tags: quiz, survey, quizzes, surveys, test, score, exam, questionnaire, email, answer, question, certificate, points, results, math, mailchimp, newsletter, optin
|
5 |
Requires at least: 4.0.1
|
6 |
Tested up to: 4.4.1
|
7 |
-
Stable tag: 4.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -113,11 +113,15 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
116 |
= 4.6.5 (January 9, 2015) =
|
117 |
* Fixes timer bug that caused the timer to continue counting down after quiz has been submitted
|
118 |
* Fixes theme conflict between QSM and some Bootstrap based themes
|
119 |
* Fixes Quizzes/Surveys page table width issue
|
120 |
-
* Fixes
|
121 |
* Minor design changes
|
122 |
|
123 |
= 4.6.4 (December 15, 2015) =
|
@@ -137,5 +141,5 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
|
|
137 |
|
138 |
== Upgrade Notice ==
|
139 |
|
140 |
-
= 4.6.
|
141 |
-
Upgrade to fix
|
4 |
Tags: quiz, survey, quizzes, surveys, test, score, exam, questionnaire, email, answer, question, certificate, points, results, math, mailchimp, newsletter, optin
|
5 |
Requires at least: 4.0.1
|
6 |
Tested up to: 4.4.1
|
7 |
+
Stable tag: 4.6.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 4.6.6 (January 11, 2015) =
|
117 |
+
* Fixes bug preventing some users to not be able to submit quiz
|
118 |
+
* Fixes bug causing undefined titles for some users
|
119 |
+
|
120 |
= 4.6.5 (January 9, 2015) =
|
121 |
* Fixes timer bug that caused the timer to continue counting down after quiz has been submitted
|
122 |
* Fixes theme conflict between QSM and some Bootstrap based themes
|
123 |
* Fixes Quizzes/Surveys page table width issue
|
124 |
+
* Fixes bug preventing editing of quiz post settings
|
125 |
* Minor design changes
|
126 |
|
127 |
= 4.6.4 (December 15, 2015) =
|
141 |
|
142 |
== Upgrade Notice ==
|
143 |
|
144 |
+
= 4.6.6 =
|
145 |
+
Upgrade to fix bugs that prevented some users from not submitting the quiz or survey
|