Version Description
Upgrade for minor bug fixes.
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 0.9.3 |
Comparing to | |
See all releases |
Code changes from version 0.9.2 to 0.9.3
- includes/mlw_dashboard.php +1 -1
- includes/mlw_main_page.php +2 -8
- includes/mlw_quiz.php +31 -5
- includes/mlw_update.php +1 -1
- mlw_quizmaster2.php +1 -1
- readme.txt +8 -1
includes/mlw_dashboard.php
CHANGED
@@ -63,7 +63,7 @@ function mlw_generate_quiz_dashboard(){
|
|
63 |
<h2>Quiz Master Next Dashboard<a id="opener" href="">(?)</a></h2>
|
64 |
|
65 |
<h3>Version <?php echo $mlw_quiz_version; ?></h3>
|
66 |
-
<p>Thank you for trying out my new plugin. I hope you find it beneficial to your website. If it is, please consider donating from the
|
67 |
|
68 |
<div style="float:left; width:60%;" class="inner-sidebar1">
|
69 |
<?php do_meta_boxes('quiz_wpss','advanced',''); ?>
|
63 |
<h2>Quiz Master Next Dashboard<a id="opener" href="">(?)</a></h2>
|
64 |
|
65 |
<h3>Version <?php echo $mlw_quiz_version; ?></h3>
|
66 |
+
<p>Thank you for trying out my new plugin. I hope you find it beneficial to your website. If it is, please consider donating from the support page. Or, please consider rating this plugin <a href="http://wordpress.org/support/view/plugin-reviews/quiz-master-next">here</a>.</p>
|
67 |
|
68 |
<div style="float:left; width:60%;" class="inner-sidebar1">
|
69 |
<?php do_meta_boxes('quiz_wpss','advanced',''); ?>
|
includes/mlw_main_page.php
CHANGED
@@ -159,16 +159,10 @@ function quiz_wpss_mrt_meta_box2()
|
|
159 |
<div>
|
160 |
<table width='100%'>
|
161 |
<tr>
|
162 |
-
<td align='left'>0.9.
|
163 |
</tr>
|
164 |
<tr>
|
165 |
-
<td align='left'>*
|
166 |
-
</tr>
|
167 |
-
<tr>
|
168 |
-
<td align='left'>* Begun Work On Monthly Stat Widget</td>
|
169 |
-
</tr>
|
170 |
-
<tr>
|
171 |
-
<td align='left'>* Added Ability To Edit Leaderboard Template</td>
|
172 |
</tr>
|
173 |
<tr>
|
174 |
<td align='left'>* Bug Fixes</td>
|
159 |
<div>
|
160 |
<table width='100%'>
|
161 |
<tr>
|
162 |
+
<td align='left'>0.9.3 (January 14, 2014)</td>
|
163 |
</tr>
|
164 |
<tr>
|
165 |
+
<td align='left'>* Logged-In Users Now See Contact Information</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
</tr>
|
167 |
<tr>
|
168 |
<td align='left'>* Bug Fixes</td>
|
includes/mlw_quiz.php
CHANGED
@@ -60,7 +60,7 @@ function mlw_quiz_shortcode($atts)
|
|
60 |
$mlw_views += 1;
|
61 |
$update = "UPDATE " . $wpdb->prefix . "mlw_quizzes" . " SET quiz_views='".$mlw_views."' WHERE quiz_id=".$mlw_quiz_id;
|
62 |
$results = $wpdb->query( $update );
|
63 |
-
|
64 |
//Form validation script
|
65 |
$mlw_display .= "
|
66 |
<script>
|
@@ -143,10 +143,36 @@ function mlw_quiz_shortcode($atts)
|
|
143 |
//Check to see if user is logged in, then ask for contact if not
|
144 |
if ( is_user_logged_in() )
|
145 |
{
|
146 |
-
//Retrieve current user information and save into
|
147 |
$current_user = wp_get_current_user();
|
148 |
-
$
|
149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
}
|
151 |
else
|
152 |
{
|
@@ -287,7 +313,7 @@ function mlw_quiz_shortcode($atts)
|
|
287 |
}
|
288 |
if ($mlw_question->hints != "")
|
289 |
{
|
290 |
-
$mlw_display .= "<
|
291 |
$mlw_display .= "<br />";
|
292 |
}
|
293 |
$mlw_display .= "<br />";
|
60 |
$mlw_views += 1;
|
61 |
$update = "UPDATE " . $wpdb->prefix . "mlw_quizzes" . " SET quiz_views='".$mlw_views."' WHERE quiz_id=".$mlw_quiz_id;
|
62 |
$results = $wpdb->query( $update );
|
63 |
+
|
64 |
//Form validation script
|
65 |
$mlw_display .= "
|
66 |
<script>
|
143 |
//Check to see if user is logged in, then ask for contact if not
|
144 |
if ( is_user_logged_in() )
|
145 |
{
|
146 |
+
//Retrieve current user information and save into text fields for contact information
|
147 |
$current_user = wp_get_current_user();
|
148 |
+
if ($mlw_quiz_options->user_name != 2)
|
149 |
+
{
|
150 |
+
$mlw_display .= "<span style='font-weight:bold;';>".$mlw_quiz_options->name_field_text."</span><br />";
|
151 |
+
$mlw_display .= "<input type='text' name='mlwUserName' value='".$current_user->display_name."' />";
|
152 |
+
$mlw_display .= "<br /><br />";
|
153 |
+
|
154 |
+
}
|
155 |
+
if ($mlw_quiz_options->user_comp != 2)
|
156 |
+
{
|
157 |
+
$mlw_display .= "<span style='font-weight:bold;';>".$mlw_quiz_options->business_field_text."</span><br />";
|
158 |
+
$mlw_display .= "<input type='text' name='mlwUserComp' value='' />";
|
159 |
+
$mlw_display .= "<br /><br />";
|
160 |
+
|
161 |
+
}
|
162 |
+
if ($mlw_quiz_options->user_email != 2)
|
163 |
+
{
|
164 |
+
$mlw_display .= "<span style='font-weight:bold;';>".$mlw_quiz_options->email_field_text."</span><br />";
|
165 |
+
$mlw_display .= "<input type='text' name='mlwUserEmail' value='".$current_user->user_email."' />";
|
166 |
+
$mlw_display .= "<br /><br />";
|
167 |
+
|
168 |
+
}
|
169 |
+
if ($mlw_quiz_options->user_phone != 2)
|
170 |
+
{
|
171 |
+
$mlw_display .= "<span style='font-weight:bold;';>".$mlw_quiz_options->phone_field_text."</span><br />";
|
172 |
+
$mlw_display .= "<input type='text' name='mlwUserPhone' value='' />";
|
173 |
+
$mlw_display .= "<br /><br />";
|
174 |
+
|
175 |
+
}
|
176 |
}
|
177 |
else
|
178 |
{
|
313 |
}
|
314 |
if ($mlw_question->hints != "")
|
315 |
{
|
316 |
+
$mlw_display .= "<span>Hint: ".$mlw_question->hints."</span>";
|
317 |
$mlw_display .= "<br />";
|
318 |
}
|
319 |
$mlw_display .= "<br />";
|
includes/mlw_update.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
function mlw_quiz_update()
|
4 |
{
|
5 |
-
$data = "0.9.
|
6 |
if ( ! get_option('mlw_quiz_master_version'))
|
7 |
{
|
8 |
add_option('mlw_quiz_master_version' , $data);
|
2 |
|
3 |
function mlw_quiz_update()
|
4 |
{
|
5 |
+
$data = "0.9.3";
|
6 |
if ( ! get_option('mlw_quiz_master_version'))
|
7 |
{
|
8 |
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: 0.9.
|
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: 0.9.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, contact
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 3.8
|
6 |
-
Stable tag: 0.9.
|
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.
|
@@ -51,6 +51,10 @@ Feel free to use the support option on the main page of the plugin or from the c
|
|
51 |
|
52 |
== Changelog ==
|
53 |
|
|
|
|
|
|
|
|
|
54 |
= 0.9.2 (January 12, 2014) =
|
55 |
* Updated Weekly Stat Widget
|
56 |
* Begun Work On Monthly Stat Widget
|
@@ -177,6 +181,9 @@ Feel free to use the support option on the main page of the plugin or from the c
|
|
177 |
|
178 |
== Upgrade Notice ==
|
179 |
|
|
|
|
|
|
|
180 |
= 0.9.2 =
|
181 |
Upgrade for several enhanced stat widgets and the ability to edit leaderboard templates!
|
182 |
|
3 |
Tags: quiz, test, score, survey, contact
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 3.8
|
6 |
+
Stable tag: 0.9.3
|
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.
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
+
= 0.9.3 (January 14, 2014) =
|
55 |
+
* Logged-In Users Now See Contact Information
|
56 |
+
* Minor Bug Fixes
|
57 |
+
|
58 |
= 0.9.2 (January 12, 2014) =
|
59 |
* Updated Weekly Stat Widget
|
60 |
* Begun Work On Monthly Stat Widget
|
181 |
|
182 |
== Upgrade Notice ==
|
183 |
|
184 |
+
= 0.9.3 =
|
185 |
+
Upgrade for minor bug fixes.
|
186 |
+
|
187 |
= 0.9.2 =
|
188 |
Upgrade for several enhanced stat widgets and the ability to edit leaderboard templates!
|
189 |
|