Version Description
This update fixes minor bugs and adds minor design changes.
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 1.6.2 |
Comparing to | |
See all releases |
Code changes from version 1.6.1 to 1.6.2
- includes/mlw_dashboard.php +4 -16
- includes/mlw_quiz.php +3 -1
- includes/mlw_update.php +1 -1
- mlw_quizmaster2.php +1 -1
- readme.txt +8 -1
includes/mlw_dashboard.php
CHANGED
@@ -52,7 +52,7 @@ function mlw_generate_quiz_dashboard(){
|
|
52 |
add_meta_box("wpss_mrts", 'Quiz Total Stats', "mlw_dashboard_box_three", "quiz_wpss3");
|
53 |
add_meta_box("wpss_mrts", 'Quiz Weekly Stats - Times Taken', "mlw_dashboard_box_four", "quiz_wpss4");
|
54 |
add_meta_box("wpss_mrts", 'Quiz Monthly Stats - Times Taken', "mlw_dashboard_box_five", "quiz_wpss5");
|
55 |
-
add_meta_box("wpss_mrts", '
|
56 |
add_meta_box("wpss_mrts", 'Support', "mlw_dashboard_box_seven", "quiz_wpss7");
|
57 |
add_meta_box("wpss_mrts", 'Contribution', "mlw_dashboard_box_eight", "quiz_wpss8");
|
58 |
add_meta_box("wpss_mrts", 'News From My Local Webstop', "mlw_dashboard_box_nine", "quiz_wpss9");
|
@@ -420,25 +420,13 @@ function mlw_dashboard_box_six()
|
|
420 |
<div>
|
421 |
<table width='100%'>
|
422 |
<tr>
|
423 |
-
|
424 |
</tr>
|
425 |
<tr>
|
426 |
-
<td align='left'
|
427 |
</tr>
|
428 |
<tr>
|
429 |
-
<td align='left'
|
430 |
-
</tr>
|
431 |
-
<tr>
|
432 |
-
<td align='left'>* Fixed Internet Explorer Quiz Adding Bug</td>
|
433 |
-
</tr>
|
434 |
-
<tr>
|
435 |
-
<td align='left'>* Fixed Results Link On Quizzes Page Bug</td>
|
436 |
-
</tr>
|
437 |
-
<tr>
|
438 |
-
<td align='left'>* Fixed Points Number Check Bug</td>
|
439 |
-
</tr>
|
440 |
-
<tr>
|
441 |
-
<td align='left'>* Fixed Limited Question Grading Bug</td>
|
442 |
</tr>
|
443 |
</table>
|
444 |
</div>
|
52 |
add_meta_box("wpss_mrts", 'Quiz Total Stats', "mlw_dashboard_box_three", "quiz_wpss3");
|
53 |
add_meta_box("wpss_mrts", 'Quiz Weekly Stats - Times Taken', "mlw_dashboard_box_four", "quiz_wpss4");
|
54 |
add_meta_box("wpss_mrts", 'Quiz Monthly Stats - Times Taken', "mlw_dashboard_box_five", "quiz_wpss5");
|
55 |
+
add_meta_box("wpss_mrts", 'Plugin Premium Support', "mlw_dashboard_box_six", "quiz_wpss6");
|
56 |
add_meta_box("wpss_mrts", 'Support', "mlw_dashboard_box_seven", "quiz_wpss7");
|
57 |
add_meta_box("wpss_mrts", 'Contribution', "mlw_dashboard_box_eight", "quiz_wpss8");
|
58 |
add_meta_box("wpss_mrts", 'News From My Local Webstop', "mlw_dashboard_box_nine", "quiz_wpss9");
|
420 |
<div>
|
421 |
<table width='100%'>
|
422 |
<tr>
|
423 |
+
<td align='left'>Plugin Premium Support includes priority response, priority feature requests, access to premium support-only forums forums, and access to WordPress training videos through wp101.</td>
|
424 |
</tr>
|
425 |
<tr>
|
426 |
+
<td align='left'>Up to 1 hour of consultation and training included during 1st month.</td>
|
427 |
</tr>
|
428 |
<tr>
|
429 |
+
<td align='left'>Visit our <a href="http://mylocalwebstop.com/services/" target="_blank" style="color:blue;">services</a> page for details.</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
</tr>
|
431 |
</table>
|
432 |
</div>
|
includes/mlw_quiz.php
CHANGED
@@ -27,10 +27,12 @@ function mlw_quiz_shortcode($atts)
|
|
27 |
$mlw_quiz_options = $mlw_eaches;
|
28 |
break;
|
29 |
}
|
|
|
|
|
30 |
if ( $mlw_quiz_options->total_user_tries != 0 && is_user_logged_in() )
|
31 |
{
|
32 |
$current_user = wp_get_current_user();
|
33 |
-
$mlw_qmn_user_try_count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM ".$wpdb->prefix."mlw_results WHERE email='%s' AND deleted='0'", $current_user->user_email ) );
|
34 |
if ($mlw_qmn_user_try_count >= $mlw_quiz_options->total_user_tries) { $mlw_qmn_isAllowed = false; }
|
35 |
}
|
36 |
|
27 |
$mlw_quiz_options = $mlw_eaches;
|
28 |
break;
|
29 |
}
|
30 |
+
|
31 |
+
//Check to see if there is limit on the amount of tries
|
32 |
if ( $mlw_quiz_options->total_user_tries != 0 && is_user_logged_in() )
|
33 |
{
|
34 |
$current_user = wp_get_current_user();
|
35 |
+
$mlw_qmn_user_try_count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM ".$wpdb->prefix."mlw_results WHERE email='%s' AND deleted='0' AND quiz_id=%d", $current_user->user_email, $mlw_quiz_id ) );
|
36 |
if ($mlw_qmn_user_try_count >= $mlw_quiz_options->total_user_tries) { $mlw_qmn_isAllowed = false; }
|
37 |
}
|
38 |
|
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 = "1.6.
|
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 = "1.6.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: 1.6.
|
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: 1.6.2
|
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, contact, form, email
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.8.1
|
6 |
-
Stable tag: 1.6.
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
9 |
Use this plugin to add multiple quizzes, tests, surveys, or contact forms to your website.
|
@@ -88,6 +88,10 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
|
|
|
|
|
|
|
|
91 |
= 1.6.1 (March 2, 2014) =
|
92 |
* Added Ability To Limit Amount User Tries Certain Quizzes
|
93 |
* Fixed Internet Explorer Quiz Adding Bug
|
@@ -311,6 +315,9 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
|
|
311 |
|
312 |
== Upgrade Notice ==
|
313 |
|
|
|
|
|
|
|
314 |
= 1.6.1 =
|
315 |
This update allows you to set the amount of tries a user has for cetain quizzes. Also fixes several bugs.
|
316 |
|
3 |
Tags: quiz, test, score, survey, contact, form, email
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.8.1
|
6 |
+
Stable tag: 1.6.2
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
9 |
Use this plugin to add multiple quizzes, tests, surveys, or contact forms to your website.
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= 1.6.2 (March 4, 2014) =
|
92 |
+
* Minor Bug Fixes
|
93 |
+
* Minor Design Changes
|
94 |
+
|
95 |
= 1.6.1 (March 2, 2014) =
|
96 |
* Added Ability To Limit Amount User Tries Certain Quizzes
|
97 |
* Fixed Internet Explorer Quiz Adding Bug
|
315 |
|
316 |
== Upgrade Notice ==
|
317 |
|
318 |
+
= 1.6.2 =
|
319 |
+
This update fixes minor bugs and adds minor design changes.
|
320 |
+
|
321 |
= 1.6.1 =
|
322 |
This update allows you to set the amount of tries a user has for cetain quizzes. Also fixes several bugs.
|
323 |
|