Skip to content

Commit

Permalink
Merge pull request #68 from fpcorso/3.8.2
Browse files Browse the repository at this point in the history
Version 3.8.2
  • Loading branch information
fpcorso committed Dec 21, 2014
2 parents f825d8c + 88d8d68 commit dca21ca
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 27 deletions.
12 changes: 6 additions & 6 deletions includes/mlw_adverts.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ function mlw_qmn_show_adverts()
$mlw_random_int = rand(0, 7);
switch ($mlw_random_int) {
case 0:
$mlw_advert_text = "Need support or features? Check out our Premium Support options! Visit our <a href=\"http://mylocalwebstop.com/shop/\">WordPress Store</a> for details!";
$mlw_advert_text = "Need support or features? Check out our Premium Support options! Visit our <a href=\"http://mylocalwebstop.com/store/\">WordPress Store</a> for details!";
break;
case 1:
$mlw_advert_text = "Is Quiz Master Next beneficial to your website? Please help by giving us a review on WordPress.org by going <a href=\"http://wordpress.org/support/view/plugin-reviews/quiz-master-next\">here</a>!";
break;
case 2:
$mlw_advert_text = "Want help installing and configuring one of our plugins? Check out our Plugin Installation services. Visit our <a href=\"http://mylocalwebstop.com/shop/\">WordPress Store</a> for details!";
$mlw_advert_text = "Want help installing and configuring one of our plugins? Check out our Plugin Installation services. Visit our <a href=\"http://mylocalwebstop.com/store/\">WordPress Store</a> for details!";
break;
case 3:
$mlw_advert_text = "Would you like to support this plugin but do not need or want premium support? Please consider our inexpensive 'Advertisements Be Gone' add-on which will get rid of these ads. Visit our <a href=\"http://mylocalwebstop.com/shop/\">Plugin Add-On Store</a> for details!";
$mlw_advert_text = "Would you like to support this plugin but do not need or want premium support? Please consider our inexpensive 'Advertisements Be Gone' add-on which will get rid of these ads. Visit our <a href=\"http://mylocalwebstop.com/store/\">Plugin Add-On Store</a> for details!";
break;
case 4:
$mlw_advert_text = "Need help keeping your plugins, themes, and WordPress up to date? Want around the clock security monitoring and off-site back-ups? How about WordPress training videos, a monthly status report, and support/consultation? Check out our <a href=\"http://mylocalwebstop.com/wordpress-maintenance-services/\">WordPress Maintenance Services</a> for more details!";
break;
case 5:
$mlw_advert_text = "Setting up a new site? Let us take care of the set-up so you back to running your business. Check out our <a href=\"http://mylocalwebstop.com/shop/\">WordPress Store</a> for more details!";
$mlw_advert_text = "Setting up a new site? Let us take care of the set-up so you back to running your business. Check out our <a href=\"http://mylocalwebstop.com/store/\">WordPress Store</a> for more details!";
break;
case 6:
$mlw_advert_text = "Our new Popular Add-On Pack is now only $45 for 6 add-ons! Now is the time to save almost 50%! Visit our <a href=\"http://mylocalwebstop.com/shop/\">WordPress Store</a> for details.";
$mlw_advert_text = "Our new Popular Add-On Pack is now only $45 for 6 add-ons! Now is the time to save almost 50%! Visit our <a href=\"http://mylocalwebstop.com/store/\">WordPress Store</a> for details.";
break;
case 7:
$mlw_advert_text = "Please consider taking our survey so we can improve this add-on. The survey only takes a few minutes. When you are ready, please <a href='http://mylocalwebstop.com/quiz-master-next-survey/'>take our survey</a>";
break;
default:
$mlw_advert_text = "Need support or features? Check out our Premium Support options! Visit our <a href=\"http://mylocalwebstop.com/shop/\">Plugin Add-On Store</a> for details!";
$mlw_advert_text = "Need support or features? Check out our Premium Support options! Visit our <a href=\"http://mylocalwebstop.com/store/\">Plugin Add-On Store</a> for details!";
}
$mlw_advert .= "
<style>
Expand Down
8 changes: 3 additions & 5 deletions includes/mlw_dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,12 @@ function mlw_dashboard_box_six()
?>
<div>
<h2>Plugin Premium Support</h2>
<p>Plugin Premium Support includes 1 year of priority support, priority feature requests, and access to WordPress training videos.</p>
<p>You can also purchase 1-on-1 training to go with your support!</p>
<p>For details, visit our <a href="http://mylocalwebstop.com/product/plugin-premium-support/" target="_blank" style="color:blue;">Plugin Premium Support</a> page.</p>
<p>Get access to premium support and always be a priority in our support. We will provide technical support and even access your site to solve your problems. With premium support, we will answer your responses as quickly as possible and your feature requests will be priorities in our future updates.</p>
<p>For details, visit our <a href="http://mylocalwebstop.com/downloads/plugin-premium-support/" target="_blank" style="color:blue;">Plugin Premium Support</a> page.</p>
<hr />
<h2>Plugin Installation Services</h2>
<p>We will install and configure any or all of our WordPress plugins on your existing WordPress site.</p>
<p>We also offer 1-on-1 training to go with your installation!</p>
<p>For details, visit our <a href="http://mylocalwebstop.com/product/plugin-installation/" target="_blank" style="color:blue;">Plugin Installation</a> page.</p>
<p>For details, visit our <a href="http://mylocalwebstop.com/downloads/plugin-installation/" target="_blank" style="color:blue;">Plugin Installation</a> page.</p>
<hr />
<h2>WordPress Maintenance Services</h2>
<p>Our maintenance service includes around the clock security monitoring, off-site backups, plugin updates, theme updates, WordPress updates, WordPress training videos, and a Monthly Status Report.</p>
Expand Down
12 changes: 12 additions & 0 deletions includes/mlw_help.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,18 @@ function qmn_get_system_info()
$qmn_sys_info .= "MySQL : ".$wpdb->db_version()."<br />";
$qmn_sys_info .= "Webserver : ".$_SERVER['SERVER_SOFTWARE']."<br />";

$mlw_stat_total_quiz = $wpdb->get_var( "SELECT COUNT(*) FROM ".$wpdb->prefix."mlw_quizzes LIMIT 1" );
$mlw_stat_total_active_quiz = $wpdb->get_var( "SELECT COUNT(*) FROM ".$wpdb->prefix."mlw_quizzes WHERE deleted=0 LIMIT 1" );
$mlw_stat_total_questions = $wpdb->get_var( "SELECT COUNT(*) FROM ".$wpdb->prefix."mlw_questions LIMIT 1" );
$mlw_stat_total_active_questions = $wpdb->get_var( "SELECT COUNT(*) FROM ".$wpdb->prefix."mlw_questions WHERE deleted=0 LIMIT 1" );

$qmn_sys_info .= "<h3>QMN Information</h3><br />";
$qmn_sys_info .= "Total Quizzes : ".$mlw_stat_total_quiz."<br />";
$qmn_sys_info .= "Total Active Quizzes : ".$mlw_stat_total_active_quiz."<br />";
$qmn_sys_info .= "Total Questions : ".$mlw_stat_total_questions."<br />";
$qmn_sys_info .= "Total Active Questions : ".$mlw_stat_total_active_questions."<br />";


return $qmn_sys_info;
}

Expand Down
12 changes: 3 additions & 9 deletions includes/mlw_qmn_credits.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,12 @@ function mlw_qmn_setTab(tab) {
<p style="text-align: center;">We have had several users ask for this so we thought we would try it out. We now love github! Be sure to <a href="https://github.com/fpcorso/quiz_master_next/">make suggestions or contribute</a>.</p>
<br />
<h2 style="margin: 1.1em 0 .2em;font-size: 2.4em;font-weight: 300;line-height: 1.3;text-align: center;">Popular Add-on Pack</h2>
<p style="text-align: center;">Our Popular Add-On Pack is now only $45 for 6 add-ons! Now is the time to save almost 50%! Visit our <a href=\"http://mylocalwebstop.com/shop/\">WordPress Store</a> for details.</p>
<p style="text-align: center;">Our Popular Add-On Pack is now only $45 for 6 add-ons! Now is the time to save almost 50%! Visit our <a href="http://mylocalwebstop.com/store/">WordPress Store</a> for details.</p>
</div>
<div id="mlw_quiz_changelog" style="display: none;">
<h3><?php echo $mlw_quiz_version; ?> (December 17, 2014)</h3>
<h3><?php echo $mlw_quiz_version; ?> (December 21, 2014)</h3>
<ul>
<li>* Added Ability To Send Different Admin Emails Based On Score</li>
<li>* Added Ability To Customize Admin Email Subject</li>
<li>* Added New Dashboard Widget For Quick Snapshot Of Status</li>
<li>* Added New Help Page With Link To Documentation</li>
<li>* Create New System Info Widget On Help Page</li>
<li>* In Code: Added 4 New Hooks Throughout The Quiz Creator Class</li>
<li>* In Code: Added 3 New Quiz Settings Helper Functions In Quiz Creator Class</li>
<li>* Minor Design Changes</li>
</ul>
</div>
<div id="mlw_quiz_requested" style="display: none;">
Expand Down
2 changes: 1 addition & 1 deletion includes/mlw_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function mlw_quiz_update()
{

//Update this variable each update. This is what is checked when the plugin is deciding to run the upgrade script or not.
$data = "3.8.1";
$data = "3.8.2";
if ( ! get_option('mlw_quiz_master_version'))
{
add_option('mlw_quiz_master_version' , $data);
Expand Down
2 changes: 1 addition & 1 deletion mlw_quizmaster2.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
Plugin Name: Quiz Master Next
Description: Use this plugin to add multiple quizzes, tests, or surveys to your website.
Version: 3.8.1
Version: 3.8.2
Author: Frank Corso
Author URI: http://www.mylocalwebstop.com/
Plugin URI: http://www.mylocalwebstop.com/
Expand Down
13 changes: 8 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: quiz, test, score, exam, survey, contact, form, email, answer, question
Requires at least: 3.8.1
Tested up to: 4.1
Stable tag: 3.8.1
Stable tag: 3.8.2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
Expand Down Expand Up @@ -68,13 +68,13 @@ You can check out the sample quiz with various questions types here: [Sample Qui
You can check out the sample survey with pagination here: [Sample Survey](http://mylocalwebstop.com/sample-survey/)!

= Quiz Master Next Add-ons =
While Quiz Master Next is fully functional and is packed full of features that will meet the needs of most, we do offer vaious extra features and support available in our [Wordpress Store](http://mylocalwebstop.com/shop/)
While Quiz Master Next is fully functional and is packed full of features that will meet the needs of most, we do offer vaious extra features and support available in our [Wordpress Store](http://mylocalwebstop.com/store/)


== Installation ==

We now offer an installation service to assist you in this process. We will install any or all of our plugins and spend up to 2 hours with you for consultaion and training. Visit our website for details.
[My Local Webstop Plugin Installation](http://mylocalwebstop.com/product/plugin-installation/)
[My Local Webstop Plugin Installation](http://mylocalwebstop.com/downloads/plugin-installation/)

**Or**

Expand All @@ -95,10 +95,10 @@ We now offer an installation service to assist you in this process. We will inst
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.

= I need a lot of help setting up my quiz, what can you do to help? =
We now offer a premium support plan that offers priority response, priority feature requests, and 1-on-1 training! For details, visit our services page: [My Local Webstop Services](http://mylocalwebstop.com/product/plugin-premium-support/)
We now offer a premium support plan that offers priority response, technical support, and priority feature requests! For details, visit our services page: [My Local Webstop Services](http://mylocalwebstop.com/downloads/plugin-premium-support/)

= Do you offer any 1-on-1 training to assist me in using this plugin? =
We now offer an installation service that includes 1-on-1 training as well as a premium support that offers 1-on-1 training. For details, visit our [Wordpress Store](http://mylocalwebstop.com/shop/)
We now offer an installation service that includes 1-on-1 training as well as a premium support that offers 1-on-1 training. For details, visit our [Wordpress Store](http://mylocalwebstop.com/store/)

= I have an idea, how do I contact you? =
Feel free to use the widget on the help page within the plugin or from the contact page at mylocalwebstop.com.
Expand All @@ -116,6 +116,9 @@ Feel free to use the widget on the help page within the plugin or from the conta

== Changelog ==

= 3.8.2 (December 21, 2014) =
* Minor Design Changes

= 3.8.1 (December 17, 2014) =
* Added Ability To Send Different Admin Emails Based On Score
* Added Ability To Customize Admin Email Subject
Expand Down

0 comments on commit dca21ca

Please sign in to comment.