diff --git a/css/common.css b/css/common.css index 4235654d4..922ee1537 100644 --- a/css/common.css +++ b/css/common.css @@ -281,7 +281,7 @@ footer.qsm-popup__footer button.qsm-popup-secondary-button:hover { font-size: 13px; font-weight: bold; color: rgb(52, 152, 219); - width: 42px; + width: 50px; margin-left: 10px; } .qsm-progress-bar{ diff --git a/css/qsm-admin.css b/css/qsm-admin.css index af1773934..84c728ced 100644 --- a/css/qsm-admin.css +++ b/css/qsm-admin.css @@ -3196,3 +3196,13 @@ body .qsm_tab_content .qsm-small-input-field input[type="text"] { .qsm-quiz-dates fieldset#scheduled_time_start, .qsm-quiz-dates fieldset#scheduled_time_end { display: inline-block; } +.qsm-image-field { + display: flex; +} +.qsm-image-field span { + padding-top: 4px; +} +fieldset#enable_quick_correct_answer_info { + margin-left: 25px; + margin-top: 4px; +} \ No newline at end of file diff --git a/data/parsing_script.json b/data/parsing_script.json index e33a6381c..5339477cd 100644 --- a/data/parsing_script.json +++ b/data/parsing_script.json @@ -1 +1 @@ -{"change_log":[""," Feature: Added option to move a question on specified page\/position\n"," Feature: Added image answer type support for horizontal multiple response questions\n"," Feature: Added separate button on first page to start quiz\/survey\n"," Bug: Fixed issue with fill in the blank question type causing conflict with other plugins\n"," Bug: Fixed question position issue while duplicating questions\n"," Bug: Fixed issue with %TIMER_MINUTES% variable\n"," Bug: Fixed security issues\n"," Enhancement: Improved format of wrong answers in emails"],"products":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248"},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010"},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861"},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858"}],"new_addons":[{"name":"Fortune","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/12\/Fortune-v1v2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=547794","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":""},{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248","price":{"amount":"0.00"},"description":""},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010","price":{"amount":"0.00"},"description":""},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861","price":{"amount":"99.00"},"description":""},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858","price":{"amount":"199.00"},"description":""},{"name":"Plugin Configuration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452658","price":{"amount":"49.00"},"description":""},{"name":"Advanced Question Types","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Question-types.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=429053","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"The Advanced Questions plugin allows you to include three powerful question types in your Quizzes and Surveys, including radio and checkbox grids and matching pairs questions."},{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"description":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle."},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"description":"14+ addons to add useful features to your quiz and surveys. "},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"description":"All the right addons to get you started with QSM premium features. "}],"all_addons":[{"name":"Advanced Question Types","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Question-types.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=429053","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"The Advanced Questions plugin allows you to include three powerful question types in your Quizzes and Surveys, including radio and checkbox grids and matching pairs questions."},{"name":"ActiveCampaign Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/ActiveCampaign.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=141594","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Integrate the Active Campaign service with QSM and create an Email Marketing Campaign using the user data collected."},{"name":"Advanced Timer","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Timer.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=109654","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Provide a visible timer on the quiz page to track quiz duration and user progress to observe how each question is answered."},{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Sheet-Connector.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimited":"149.00"},"description":"This addon automates the process of sending form responses in real time, with responses immediately synced to your selected Google Sheet."},{"name":"Paypal and Stripe Payment Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Stripe-Paypal-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63522","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"With this addon, create paid quizzes and tests on your website and allow users to pay by credit card or transfer payments using Stripe and PayPal payment processors."},{"name":"Save & Resume","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Save-Resume.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63518","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"The Save & Resume addon allows you to save and resume unfinished quizzes\/exams and allow people to complete the quiz at their convenience.\n\n"},{"name":"reCaptcha","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/recaptcha.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63024","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"This addon keep bots and scripts out of the quiz\/survey. With a single click, you can add a reCaptcha v2\/v3 protection layer to your quiz\/survey.\n\n"},{"name":"URL Parameters","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/URLv2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=47868","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Using URL parameters addon, you may track users as they progress through several funnels. Send data in the form of parameters that can be modified dynamically via a URL."},{"name":"Simple Popups","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Simple-Popups.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=38572","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Display quizzes and surveys as popups Simply install the plugin and you can start creating popups in minutes."},{"name":"Flashcards","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Flashcards.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=35421","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Display flashcards for users to share information, learn, and interact with. Simply flip the card, judge, and decide whether it is correct or incorrect based on the question."},{"name":"Google Analytics Tracking","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Analytics-Tracking.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=34421","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimited":"99.00"},"description":"Google Analytics addon helps in tracking quiz and survey submissions and deliver custom events when visitors complete your quizzes and surveys."},{"name":"Leaderboards","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Leaderboards.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=27164","price":{"amount":"0.00"},"description":"Show the quiz participants a 5-level leaderboard to increase their competitiveness. Display a leaderboard with the names of your top five quiz takers."},{"name":"Export & Import","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Export-Import.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=17226","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This addon can be used to export and import quizzes and surveys from one website to another. You can quickly export all or partial quizzes as CSV or JSON files and import them into your next website."},{"name":"Summary Emails","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Gradebook-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=16141","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Replace the frequent emails concerning individual quiz completions. Receive emails that offer a summary of all the outcomes over the course of a day or a week with the summary emails addons."},{"name":"Certificate","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/certificatev2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8241","price":{"amount":"0.00"},"description":"Give out certificates to people who completed the quiz with this addition. And you can make your own personalized certificate by changing the title, content, background image, and logo.\n\n"},{"name":"Logic","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8071","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"You can use the Logic addon to add logic and conditions to your quizzes and surveys. Displaying questions based on the user\u2019s reaction humanizes your quizzes."},{"name":"Drip Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Drip-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=6784","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Grow your mailing list with quizzes and surveys, and create user-friendly drip email courses and feature-rich marketing automation"},{"name":"Landing Page","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Landing-Page.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=4315","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Send the user to a simple landing page with just the survey or quiz to guarantee that the form is completed without distraction."},{"name":"ConvertKit Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/ConvertKit-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=4021","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"ConvertKit can help you grow your mailing list with quizzes and surveys by establishing straight forward drip email sequences and strong marketing automation.\n\n"},{"name":"Easy Digital Downloads Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Easy-Digital-Downloads-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3785","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"With this addon, integrate Quiz And Survey Master with Easy Digital Downloads to sell access to a quiz, exam, or survey."},{"name":"Reporting & Analysis","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Reporting-Analysis.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3437","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This plugin enables you to analyze quiz\/survey results through the use of various charts and graphs. You can even filter and export the data for further research."},{"name":"Get Response Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Get-Response-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3284","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"With this addon, expand your Get Response subscriber list by adding individuals who take your quizzes and surveys!\n\n"},{"name":"Campaign Monitor Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Campaign-Monitor-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3002","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Run Complex Marketing campaigns with Campaign Monitor and expand your subscriber list by adding individuals who attempt your quizzes and surveys!"},{"name":"Zapier Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2809","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"By automating your work, this plugin can save you time and help you achieve more powerful results. Connect various services and send your results to over 700 websites."},{"name":"Slack Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Slack-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2289","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Get notified on Slack whenever someone takes your quiz\/survey. Receive a personalized message to your specified channel with the Slack Integration plugin."},{"name":"Gradebook","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Gradebook.png","link":"http:\/\/mylocalwebstop.com\/?post_type=download&p=1830","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Get a gradebook with all of the user\u2019s average points and average scores on quizzes and tests to see what the user has earned and when."},{"name":"Daily Limit","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Daily-Limit.png","link":"http:\/\/mylocalwebstop.com\/?post_type=download&p=1732","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Stop duplicate quizzes\/survey attempts by limiting users to a certain number of submissions each day."},{"name":"Extra Template Variables","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Extra-Template-Variables.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/extra-template-variables-quiz-master-next\/","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Get the 5 more template variables and add more quiz and survey data to your emails and results page."},{"name":"Aweber Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Aweber-Integration.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/aweber-integration-quiz-master-next\/","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"With this addon, increase your Aweber subscriber list by adding individuals who take your quizzes or surveys!"},{"name":"Extra Shortcodes","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Extra-Shortcodes.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/extra-shortcodes\/","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Extra Shortcodes are used to display more information by leveraging options into the QSM plugin\u2019s default shortcodes."},{"name":"Export Results","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Export-Results.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/export-results\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This addon enables you to export quiz results as a CSV or PDF file. You can export fields such as correct\/incorrect responses, total correct answers, total questions, score, and so on."},{"name":"User Dashboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/User-Dashboards.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/user-dashboard\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"Display a personalized dashboard to your users that includes Quiz\/Survey information such as the Quiz Name, Score Earned, Time Taken, Time to Complete, and so on."},{"name":"MailChimp Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Mailchimp.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/mailchimp-integration\/","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Grow your email list with the MailChimp addon, provide users a checkbox, or automatically add them to your mailing lists. Also, add new tags to your existing subscriber list."},{"name":"MailPoet Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/MailPoet-Integration.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/mailpoet-integration\/","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Use this add-on to add users who take your quizzes and surveys to your MailPoet subscriber list!"},{"name":"Advanced Leaderboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Leaderboard.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/advanced-leaderboard-quiz-master-next\/","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"With this addon, show a quiz leaderboard with graphs and other quiz statistics. Get four new leaderboard shortcodes and two new widgets that you may edit to your liking."}],"blog_post":[{"link":"https:\/\/quizandsurveymaster.com\/how-did-you-hear-about-us-survey-wordpress\/","title":"Build a “How Did You Hear About Us?” Survey in WordPress in 4 Easy Steps!","excerpt":"

A “How Did You Hear About Us?” survey page can be a good way to set a communication with your users. It helps you to learn how your brand\/service\/product is being discovered online. Such surveys are not rocket science and can be made easily, even with a few questions. However, a WordPress survey form maker …<\/p>\n

Build a “How Did You Hear About Us?” Survey in WordPress in 4 Easy Steps!<\/span> Read More »<\/a><\/p>\n"},{"link":"https:\/\/quizandsurveymaster.com\/qsm-themes-make-beautiful-quizzes-surveys\/","title":"QSM Themes: Make beautiful Quizzes and Surveys (5 minutes read)","excerpt":"

QSM themes that the Quiz and Survey Master Plugin has to offer are one of a kind and really stand out for every different genre of various websites. Even so, many a time, we overlook the fact that these themes actually play a very important role whenever we are making any quiz or a survey. …<\/p>\n

QSM Themes: Make beautiful Quizzes and Surveys (5 minutes read)<\/span> Read More »<\/a><\/p>\n"}],"popular_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Sheet-Connector.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimited":"149.00"},"description":"This addon automates the process of sending form responses in real time, with responses immediately synced to your selected Google Sheet."},{"name":"Paypal and Stripe Payment Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Stripe-Paypal-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63522","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"With this addon, create paid quizzes and tests on your website and allow users to pay by credit card or transfer payments using Stripe and PayPal payment processors."},{"name":"Save & Resume","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Save-Resume.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63518","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"The Save & Resume addon allows you to save and resume unfinished quizzes\/exams and allow people to complete the quiz at their convenience.\n\n"},{"name":"Simple Popups","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Simple-Popups.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=38572","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Display quizzes and surveys as popups Simply install the plugin and you can start creating popups in minutes."},{"name":"Google Analytics Tracking","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Analytics-Tracking.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=34421","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimited":"99.00"},"description":"Google Analytics addon helps in tracking quiz and survey submissions and deliver custom events when visitors complete your quizzes and surveys."},{"name":"Logic","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8071","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"You can use the Logic addon to add logic and conditions to your quizzes and surveys. Displaying questions based on the user\u2019s reaction humanizes your quizzes."},{"name":"Reporting & Analysis","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Reporting-Analysis.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3437","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This plugin enables you to analyze quiz\/survey results through the use of various charts and graphs. You can even filter and export the data for further research."},{"name":"Zapier Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2809","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"By automating your work, this plugin can save you time and help you achieve more powerful results. Connect various services and send your results to over 700 websites."},{"name":"Export Results","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Export-Results.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/export-results\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This addon enables you to export quiz results as a CSV or PDF file. You can export fields such as correct\/incorrect responses, total correct answers, total questions, score, and so on."},{"name":"User Dashboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/User-Dashboards.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/user-dashboard\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"Display a personalized dashboard to your users that includes Quiz\/Survey information such as the Quiz Name, Score Earned, Time Taken, Time to Complete, and so on."}],"on_sale_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Sheet-Connector.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimited":"149.00"},"description":"This addon automates the process of sending form responses in real time, with responses immediately synced to your selected Google Sheet."}],"bundles":[{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"desc":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle.","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PRO.png"},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"desc":"14+ addons to add useful features to your quiz and surveys. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Plus.png"},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"desc":"All the right addons to get you started with QSM premium features. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic.png"}],"themes":[{"name":"Pixel","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/02\/Pixel.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=551029","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/pixel"},{"name":"Sigma","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/02\/Sigma.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=551027","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/sigma"},{"name":"Fortune","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/12\/forune-thumbnail.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=547794","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/fortune"},{"name":"Pool","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-pool.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302299","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Ivory","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-ivory.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302297","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Fragrance","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-fragrance.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300658","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/fragrance-qsm-theme-demo"},{"name":"Breeze","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-breeze.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300513","price":{"1site":"24.00","2-5sites":"39.00","unlimited":"44.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/breeze-qsm-theme-demo"}],"free_themes":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248","price":{"amount":"0.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/quiz\/where-should-i-travel-next\/"},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010","price":{"amount":"0.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/quiz\/the-ultimate-harry-potter-quiz"}]} \ No newline at end of file +{"change_log":[""," Feature: Added option to end quiz after x number of wrong answers\n"," Feature: Added option to display the start and end dates of quizzes in the result list\n"," Bug: Fixed issue with correct answer logic while applying global setting\n"," Bug: Resolved hyperlink problem with multiple answer in email.\n"," Enhancement: Improve show inline result UX\n"," Enhancement: Improve questions hint tooltip UI\n"," Enhancement: Implemented various improvements to enhance the user experience of the quiz admin panel"],"products":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248"},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010"},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861"},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858"}],"new_addons":[{"name":"Sapience","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/06\/810-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=557086","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":""},{"name":"Pixel","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/02\/Pixel-Landing-Page.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=551029","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":""},{"name":"Sigma","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/02\/Sigma-Landing-Page.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=551027","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":""},{"name":"Fortune","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/12\/Fortune-v1v2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=547794","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":""},{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248","price":{"amount":"0.00"},"description":""},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene_banner.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010","price":{"amount":"0.00"},"description":""},{"name":"Care Pack","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/3.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452861","price":{"amount":"99.00"},"description":""},{"name":"Speed Improvement","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452858","price":{"amount":"199.00"},"description":""},{"name":"Plugin Configuration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/03\/1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=452658","price":{"amount":"49.00"},"description":""},{"name":"Advanced Question Types","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Question-types.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=429053","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"The Advanced Questions plugin allows you to include three powerful question types in your Quizzes and Surveys, including radio and checkbox grids and matching pairs questions."}],"all_addons":[{"name":"Advanced Question Types","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Question-types.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=429053","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"The Advanced Questions plugin allows you to include three powerful question types in your Quizzes and Surveys, including radio and checkbox grids and matching pairs questions."},{"name":"ActiveCampaign Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/ActiveCampaign.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=141594","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Integrate the Active Campaign service with QSM and create an Email Marketing Campaign using the user data collected."},{"name":"Advanced Timer","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Timer.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=109654","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Provide a visible timer on the quiz page to track quiz duration and user progress to observe how each question is answered."},{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Sheet-Connector.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimited":"149.00"},"description":"This addon automates the process of sending form responses in real time, with responses immediately synced to your selected Google Sheet."},{"name":"Paypal and Stripe Payment Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Stripe-Paypal-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63522","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"With this addon, create paid quizzes and tests on your website and allow users to pay by credit card or transfer payments using Stripe and PayPal payment processors."},{"name":"Save & Resume","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Save-Resume.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63518","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"The Save & Resume addon allows you to save and resume unfinished quizzes\/exams and allow people to complete the quiz at their convenience.\n\n"},{"name":"reCaptcha","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/recaptcha.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63024","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"This addon keep bots and scripts out of the quiz\/survey. With a single click, you can add a reCaptcha v2\/v3 protection layer to your quiz\/survey.\n\n"},{"name":"URL Parameters","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/URLv2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=47868","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Using URL parameters addon, you may track users as they progress through several funnels. Send data in the form of parameters that can be modified dynamically via a URL."},{"name":"Simple Popups","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Simple-Popups.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=38572","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Display quizzes and surveys as popups Simply install the plugin and you can start creating popups in minutes."},{"name":"Flashcards","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Flashcards.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=35421","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Display flashcards for users to share information, learn, and interact with. Simply flip the card, judge, and decide whether it is correct or incorrect based on the question."},{"name":"Google Analytics Tracking","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Analytics-Tracking.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=34421","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimited":"99.00"},"description":"Google Analytics addon helps in tracking quiz and survey submissions and deliver custom events when visitors complete your quizzes and surveys."},{"name":"Leaderboards","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Leaderboards.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=27164","price":{"amount":"0.00"},"description":"Show the quiz participants a 5-level leaderboard to increase their competitiveness. Display a leaderboard with the names of your top five quiz takers."},{"name":"Export & Import","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Export-Import.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=17226","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This addon can be used to quizzes and surveys, along with their questions and settings, from one website and import them into another. Quickly export all or partial quizzes as CSV or JSON files and import them into your next website."},{"name":"Summary Emails","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Gradebook-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=16141","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Replace the frequent emails concerning individual quiz completions. Receive emails that offer a summary of all the outcomes over the course of a day or a week with the summary emails addons."},{"name":"Certificate","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/certificatev2.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8241","price":{"amount":"0.00"},"description":"Give out certificates to people who completed the quiz with this addition. And you can make your own personalized certificate by changing the title, content, background image, and logo.\n\n"},{"name":"Logic","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8071","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"You can use the Logic addon to add logic and conditions to your quizzes and surveys. Displaying questions based on the user\u2019s reaction humanizes your quizzes."},{"name":"Drip Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Drip-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=6784","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Grow your mailing list with quizzes and surveys, and create user-friendly drip email courses and feature-rich marketing automation"},{"name":"Landing Page","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Landing-Page.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=4315","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Send the user to a simple landing page with just the survey or quiz to guarantee that the form is completed without distraction."},{"name":"ConvertKit Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/ConvertKit-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=4021","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"ConvertKit can help you grow your mailing list with quizzes and surveys by establishing straight forward drip email sequences and strong marketing automation.\n\n"},{"name":"Easy Digital Downloads Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Easy-Digital-Downloads-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3785","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"With this addon, integrate Quiz And Survey Master with Easy Digital Downloads to sell access to a quiz, exam, or survey."},{"name":"Reporting & Analysis","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Reporting-Analysis.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3437","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This plugin enables you to analyze quiz\/survey results through the use of various charts and graphs. You can even filter and export the data for further research."},{"name":"Get Response Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Get-Response-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3284","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"With this addon, expand your Get Response subscriber list by adding individuals who take your quizzes and surveys!\n\n"},{"name":"Campaign Monitor Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Campaign-Monitor-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3002","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Run Complex Marketing campaigns with Campaign Monitor and expand your subscriber list by adding individuals who attempt your quizzes and surveys!"},{"name":"Zapier Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2809","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"By automating your work, this plugin can save you time and help you achieve more powerful results. Connect various services and send your results to over 700 websites."},{"name":"Slack Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Slack-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2289","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Get notified on Slack whenever someone takes your quiz\/survey. Receive a personalized message to your specified channel with the Slack Integration plugin."},{"name":"Gradebook","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Gradebook.png","link":"http:\/\/mylocalwebstop.com\/?post_type=download&p=1830","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Get a gradebook with all of the user\u2019s average points and average scores on quizzes and tests to see what the user has earned and when."},{"name":"Daily Limit","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Daily-Limit.png","link":"http:\/\/mylocalwebstop.com\/?post_type=download&p=1732","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Stop duplicate quizzes\/survey attempts by limiting users to a certain number of submissions each day."},{"name":"Extra Template Variables","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Extra-Template-Variables.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/extra-template-variables-quiz-master-next\/","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Get the 5 more template variables and add more quiz and survey data to your emails and results page."},{"name":"Aweber Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Aweber-Integration.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/aweber-integration-quiz-master-next\/","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"With this addon, increase your Aweber subscriber list by adding individuals who take your quizzes or surveys!"},{"name":"Extra Shortcodes","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Extra-Shortcodes.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/extra-shortcodes\/","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Extra Shortcodes are used to display more information by leveraging options into the QSM plugin\u2019s default shortcodes."},{"name":"Export Results","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Export-Results.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/export-results\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This addon enables you to export quiz results as a CSV or PDF file. You can export fields such as correct\/incorrect responses, total correct answers, total questions, score, and so on."},{"name":"User Dashboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/User-Dashboards.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/user-dashboard\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"Display a personalized dashboard to your users that includes Quiz\/Survey information such as the Quiz Name, Score Earned, Time Taken, Time to Complete, and so on."},{"name":"MailChimp Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Mailchimp.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/mailchimp-integration\/","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"Grow your email list with the MailChimp addon, provide users a checkbox, or automatically add them to your mailing lists. Also, add new tags to your existing subscriber list."},{"name":"MailPoet Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/MailPoet-Integration.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/mailpoet-integration\/","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Use this add-on to add users who take your quizzes and surveys to your MailPoet subscriber list!"},{"name":"Advanced Leaderboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Advanced-Leaderboard.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/advanced-leaderboard-quiz-master-next\/","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"With this addon, show a quiz leaderboard with graphs and other quiz statistics. Get four new leaderboard shortcodes and two new widgets that you may edit to your liking."}],"blog_post":[{"link":"https:\/\/quizandsurveymaster.com\/setup-wordpress-sandbox\/","title":"Setup an Easy WordPress Sandbox for Testing Plugins (3 Simple Steps)","excerpt":"

Are you someone who is well-versed in WordPress or are you a beginner looking to experiment with new themes, plugins, and code changes without worrying about the impact on your live website? If so, then installing a WordPress Sandbox is the perfect solution to fulfill all your desires and avoid any headaches. While there are …<\/p>\n

Setup an Easy WordPress Sandbox for Testing Plugins (3 Simple Steps)<\/span> Read More »<\/a><\/p>\n"},{"link":"https:\/\/quizandsurveymaster.com\/qsm-is-the-best-quiz-maker-with-analytics\/","title":"5 Reasons QSM is the Best Quiz Maker with Analytics","excerpt":"

Quiz and Survey Master is an all-in-one WordPress plugin. However, there are many features that remain unexplored often. A quiz maker with analytics is significant for content creation and online businesses. Besides that, analytics become a crucial part of growth and upgradation for a company or an institution. To learn and adopt the importance of …<\/p>\n

5 Reasons QSM is the Best Quiz Maker with Analytics<\/span> Read More »<\/a><\/p>\n"}],"popular_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Sheet-Connector.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimited":"149.00"},"description":"This addon automates the process of sending form responses in real time, with responses immediately synced to your selected Google Sheet."},{"name":"Paypal and Stripe Payment Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Stripe-Paypal-Integration.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63522","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"With this addon, create paid quizzes and tests on your website and allow users to pay by credit card or transfer payments using Stripe and PayPal payment processors."},{"name":"Save & Resume","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Save-Resume.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=63518","price":{"personal1site":"49.00","business2-5sites":"89.00","developerunlimitedsites":"129.00"},"description":"The Save & Resume addon allows you to save and resume unfinished quizzes\/exams and allow people to complete the quiz at their convenience.\n\n"},{"name":"Simple Popups","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Simple-Popups.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=38572","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimitedsites":"99.00"},"description":"Display quizzes and surveys as popups Simply install the plugin and you can start creating popups in minutes."},{"name":"Google Analytics Tracking","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Analytics-Tracking.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=34421","price":{"personal1site":"39.00","business2-5sites":"79.00","developerunlimited":"99.00"},"description":"Google Analytics addon helps in tracking quiz and survey submissions and deliver custom events when visitors complete your quizzes and surveys."},{"name":"Logic","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=8071","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"You can use the Logic addon to add logic and conditions to your quizzes and surveys. Displaying questions based on the user\u2019s reaction humanizes your quizzes."},{"name":"Reporting & Analysis","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Reporting-Analysis.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=3437","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This plugin enables you to analyze quiz\/survey results through the use of various charts and graphs. You can even filter and export the data for further research."},{"name":"Zapier Integration","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Logic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=2809","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"By automating your work, this plugin can save you time and help you achieve more powerful results. Connect various services and send your results to over 700 websites."},{"name":"Export Results","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Export-Results.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/export-results\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"This addon enables you to export quiz results as a CSV or PDF file. You can export fields such as correct\/incorrect responses, total correct answers, total questions, score, and so on."},{"name":"User Dashboard","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/User-Dashboards.png","link":"https:\/\/quizandsurveymaster.com\/downloads\/user-dashboard\/","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimitedsites":"149.00"},"description":"Display a personalized dashboard to your users that includes Quiz\/Survey information such as the Quiz Name, Score Earned, Time Taken, Time to Complete, and so on."}],"on_sale_products":[{"name":"Google Sheet Connector","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/2022\/12\/Google-Sheet-Connector.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=83375","price":{"personal1site":"59.00","business2-5sites":"119.00","developerunlimited":"149.00"},"description":"This addon automates the process of sending form responses in real time, with responses immediately synced to your selected Google Sheet."}],"bundles":[{"name":"Pro Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Pro.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306210","price":{"yearly":"199.00","lifetime":"597.00"},"desc":"All QSM Addons in one single and affordable package. Over 34 addons are included in this package and new addons are added automatically. Save over $1600 by buying our bundle.","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PRO.png"},{"name":"Plus Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/PLUS.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=306190","price":{"yearly":"179.00","lifetime":"537.00"},"desc":"14+ addons to add useful features to your quiz and surveys. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Plus.png"},{"name":"Basic Bundle","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic-1.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=305426","price":{"yearly":"129.00","lifetime":"387.00"},"desc":"All the right addons to get you started with QSM premium features. ","icon":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/Basic.png"}],"themes":[{"name":"Sapience","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/06\/540.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=557086","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/sapience"},{"name":"Pixel","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/02\/Pixel.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=551029","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/pixel"},{"name":"Sigma","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2023\/02\/Sigma.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=551027","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/sigma"},{"name":"Fortune","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/12\/forune-thumbnail.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=547794","price":{"1site":"29.00","2-5sites":"34.00","unlimited":"59.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/fortune"},{"name":"Pool","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-pool.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302299","price":{"1site":"19.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Ivory","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-ivory.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=302297","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/ivory-qsm-theme-demo"},{"name":"Fragrance","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-fragrance.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300658","price":{"1site":"14.00","2-5sites":"24.00","unlimited":"49.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/fragrance-qsm-theme-demo"},{"name":"Breeze","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2021\/06\/theme-breeze.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=300513","price":{"1site":"24.00","2-5sites":"39.00","unlimited":"44.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/breeze-qsm-theme-demo"}],"free_themes":[{"name":"Companion","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/companion.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=505248","price":{"amount":"0.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/quiz\/where-should-i-travel-next\/"},{"name":"Serene","img":"https:\/\/quizandsurveymaster.com\/wp-content\/uploads\/edd\/2022\/06\/serene.png","link":"https:\/\/quizandsurveymaster.com\/?post_type=download&p=503010","price":{"amount":"0.00"},"description":"","demo":"https:\/\/themes.quizandsurveymaster.com\/quiz\/the-ultimate-harry-potter-quiz"}]} \ No newline at end of file diff --git a/js/qsm-admin.js b/js/qsm-admin.js index 7a751918a..8a58f3c81 100644 --- a/js/qsm-admin.js +++ b/js/qsm-admin.js @@ -64,9 +64,11 @@ var QSMAdmin; } if (jQuery('#limit_category_checkbox-1:checked').length > 0) { jQuery('#question_per_category').hide(); + jQuery('.category_selection_random').parents("tr").hide(); jQuery('div.select-category-question-limit-maindiv').parents("tr").show(); } else { jQuery('div.select-category-question-limit-maindiv').parents("tr").hide(); + jQuery('.category_selection_random').parents("tr").show(); jQuery('#question_per_category').show(); } $('.qsm-tab').on('click', function (event) { @@ -150,13 +152,31 @@ var QSMAdmin; $(document).on('change', '#limit_category_checkbox-1', function (event) { event.preventDefault(); if (jQuery('#limit_category_checkbox-1:checked').length > 0) { - jQuery('.qsm_tab_content input[name="question_per_category"],.qsm_tab_content .category_selection_random').parents("tr").hide(); + jQuery('#question_per_category').hide(); jQuery('div.select-category-question-limit-maindiv').parents("tr").show(); + jQuery('.category_selection_random').parents("tr").hide(); } else { jQuery('div.select-category-question-limit-maindiv').parents("tr").hide(); - jQuery('.qsm_tab_content input[name="question_per_category"],.qsm_tab_content .category_selection_random').parents("tr").show(); + jQuery('#question_per_category').show(); + jQuery('.category_selection_random').parents("tr").show(); } }); + show_hide_show_correct_answer(); + $(document).on('change', '#enable_quick_result_mc-1', function (event) { + show_hide_show_correct_answer(); + }); + function show_hide_show_correct_answer() { + if (jQuery('#enable_quick_result_mc-1:checked').length > 0) { + jQuery('#enable_quick_correct_answer_info').css('opacity', '1'); + } else { + jQuery('#enable_quick_correct_answer_info').css('opacity', '0.5'); + } + } + jQuery(document).on('change', '#preferred-date-format-custom', function() { + var customValue = jQuery(this).val(); + jQuery('#preferred_date_format label.qsm-option-label:last input[type="radio"]').val(customValue); + }); + jQuery(document).on('click','.add-more-category', function () { let original = jQuery('div.select-category-question-limit-maindiv'); let lastChild = original.children().last(); @@ -378,17 +398,21 @@ var QSMAdmin; if ( 0 != jQuery('#question_from_total-input').val() ) { jQuery('#limit_category_checkbox label').css('opacity', '1'); jQuery('#limit_category_checkbox-1').attr('disabled', false); + jQuery('#question_per_category').show(); } else { jQuery('#limit_category_checkbox label').css('opacity', '0.7'); jQuery('#limit_category_checkbox-1').attr('disabled', true); + jQuery('#question_per_category').hide(); } jQuery(document).on('change', '#question_from_total-input', function () { if ( 0 != jQuery(this).val() ) { jQuery('#limit_category_checkbox label').css('opacity', '1'); jQuery('#limit_category_checkbox-1').attr('disabled', false); + jQuery('#question_per_category').show(); } else { jQuery('#limit_category_checkbox label').css('opacity', '0.7'); jQuery('#limit_category_checkbox-1').attr('disabled', true); + jQuery('#question_per_category').hide(); } }); //Hide/show tr based on selection @@ -429,7 +453,9 @@ var QSMAdmin; $('#correct_answer_logic, #score_roundoff').show(); } hide_show_quiz_options($("input[name='form_type']:checked").val()); - jQuery('.qsm-date-picker').datetimepicker({ format: 'm/d/Y H:i', step: 1}); + if (jQuery('.qsm-date-picker').length) { + jQuery('.qsm-date-picker').datetimepicker({ format: 'm/d/Y H:i', step: 1}); + } }); if ($('.qsm-text-label-wrapper').length > 0) { var element_position = $('.qsm-text-label-wrapper').offset().top; @@ -523,6 +549,24 @@ var QSMAdmin; }).open(); }); + $(document).on('click', '.qsm-image-btn', function (e) { + var button = $(this); + e.preventDefault(); + custom_uploader = wp.media({ + title: qsm_admin_messages.set_feature_img, + library: { + type: 'image' + }, + button: { + text: qsm_admin_messages.use_img // button label text + }, + multiple: false + }).on('select', function () { // it also has "open" and "close" events + var attachment = custom_uploader.state().get('selection').first().toJSON(); + button.prev('.qsm-image-input').val(attachment.url); + }).open(); + }); + // opens media library o set background image for quiz $(document).on('click', '.set_background_image', function (e) { let button = $(this); diff --git a/js/qsm-quiz.js b/js/qsm-quiz.js index dbdfb8781..a3ed96446 100644 --- a/js/qsm-quiz.js +++ b/js/qsm-quiz.js @@ -805,8 +805,8 @@ function qmnDoInit() { }); } } - if ( jQuery('.qsm-quiz-container-' + quizID + ' .qsm-submit-btn').is(':visible') || jQuery('.qsm-quiz-container-' + quizID + ' .qsm-quiz-comment-section').closest('.qsm-page').is(':visible') ) { - jQuery('.qsm-quiz-container-' + quizID + ' .qsm-quiz-comment-section').fadeIn(); + if ( jQuery('.qsm-quiz-container-' + _quiz_id + ' .qsm-submit-btn').is(':visible') || jQuery('.qsm-quiz-container-' + _quiz_id + ' .qsm-quiz-comment-section').closest('.qsm-page').is(':visible') ) { + jQuery('.qsm-quiz-container-' + _quiz_id + ' .qsm-quiz-comment-section').fadeIn(); } }); } @@ -1691,12 +1691,12 @@ jQuery(function () { jQuery(document).on('change ', '.qmn_check_answers input', function (e) { let $i_this = jQuery(this); - var quizID = jQuery(this).parents('.qsm-quiz-container').find('.qmn_quiz_id').val(); - var $quizForm = QSM.getQuizForm(quizID); - var question_id = jQuery(this).attr('name').split('question')[1], + let quizID = jQuery(this).parents('.qsm-quiz-container').find('.qmn_quiz_id').val(); + let $quizForm = QSM.getQuizForm(quizID); + let question_id = jQuery(this).attr('name').split('question')[1], $this = jQuery(this).parents('.quiz_section'); - var parent = jQuery(this).closest('.qmn_check_answers'); - var checkedValues = parent.find('input[type="checkbox"]:checked').map(function() { + let parent = jQuery(this).closest('.qmn_check_answers'); + let checkedValues = parent.find('input[type="checkbox"]:checked').map(function() { return jQuery(this).val(); }).get(); if (qmn_quiz_data[quizID].end_quiz_if_wrong > 0 && !jQuery(this).parents('.qsm-quiz-container').find('.mlw_next:visible').length ) { diff --git a/mlw_quizmaster2.php b/mlw_quizmaster2.php index c3605e1b3..518d784c3 100644 --- a/mlw_quizmaster2.php +++ b/mlw_quizmaster2.php @@ -2,7 +2,7 @@ /** * Plugin Name: Quiz And Survey Master * Description: Easily and quickly add quizzes and surveys to your website. - * Version: 8.1.8 + * Version: 8.1.10 * Author: ExpressTech * Author URI: https://quizandsurveymaster.com/ * Plugin URI: https://expresstech.io/ @@ -43,7 +43,7 @@ class MLWQuizMasterNext { * @var string * @since 4.0.0 */ - public $version = '8.1.8'; + public $version = '8.1.10'; /** * QSM Alert Manager Object @@ -361,6 +361,7 @@ public function qsm_admin_scripts_style( $hook ) { wp_enqueue_script( 'jquery-ui-tabs' ); wp_enqueue_script( 'jquery-effects-blind' ); wp_enqueue_script( 'jquery-effects-explode' ); + wp_enqueue_media(); break; default: wp_enqueue_editor(); diff --git a/php/classes/class-qmn-plugin-helper.php b/php/classes/class-qmn-plugin-helper.php index a07a5b7fd..d58179e95 100644 --- a/php/classes/class-qmn-plugin-helper.php +++ b/php/classes/class-qmn-plugin-helper.php @@ -980,7 +980,7 @@ public function quiz_animation_effect() { 'value' => 'heartBeat', ), array( - 'label' => __( 'No animation', 'quiz-master-next' ), + 'label' => __( 'Select Quiz Animation', 'quiz-master-next' ), 'value' => '', ), ); diff --git a/php/classes/class-qsm-fields.php b/php/classes/class-qsm-fields.php index b4b92de87..e16d50033 100644 --- a/php/classes/class-qsm-fields.php +++ b/php/classes/class-qsm-fields.php @@ -28,7 +28,7 @@ public static function generate_section( $fields, $section ) { foreach ( $fields as $field ) { // Sanitize the values based on type $sanitized_value = ''; - if ( isset( $_POST[ $field["id"] ] ) || 'selectinput' == $field["type"] ) { + if ( ( isset( $_POST[ $field["id"] ] ) && 'multiple_fields' !== $field["type"] ) || 'selectinput' == $field["type"] ) { switch ( $field["type"] ) { case 'text': $sanitized_value = sanitize_text_field( wp_unslash( $_POST[ $field["id"] ] ) ); @@ -65,7 +65,27 @@ public static function generate_section( $fields, $section ) { break; } } - $settings_array[ $field["id"] ] = $sanitized_value; + if ( 'multiple_fields' == $field["type"] ) { + foreach ( $field["fields"] as $key => $value ) { + switch ( $value["type"] ) { + case 'url': + $sanitized_value = esc_url_raw( wp_unslash( $_POST[ $key ] ) ); + break; + case 'checkbox': + $sanitized_value = isset( $_POST[ $key ] ) ? sanitize_text_field( wp_unslash( $_POST[ $key ] ) ) : 0; + break; + case 'number': + $sanitized_value = intval( $_POST[ $key ] ); + break; + default: + $sanitized_value = sanitize_text_field( wp_unslash( $_POST[ $key ] ) ); + break; + } + $settings_array[ $key ] = $sanitized_value; + } + }else { + $settings_array[ $field["id"] ] = $sanitized_value; + } } $quiz_id = isset( $_GET["quiz_id"] ) ? intval( $_GET["quiz_id"] ) : 0; @@ -145,7 +165,11 @@ public static function generate_section( $fields, $section ) { foreach ( $fields as $field ) { // Generate the field if ( isset( $field['option_tab'] ) && 'quiz_submission' === $field['option_tab'] ) { - QSM_Fields::generate_field( $field, $settings[ $field["id"] ] ); + if ( ! empty( $field['type'] ) && 'multiple_fields' === $field['type'] ) { + QSM_Fields::generate_field( $field, $settings ); + }else { + QSM_Fields::generate_field( $field, $settings[ $field["id"] ] ); + } } } ?> @@ -158,7 +182,11 @@ public static function generate_section( $fields, $section ) { foreach ( $fields as $field ) { // Generate the field if ( isset( $field['option_tab'] ) && 'display' === $field['option_tab'] ) { - QSM_Fields::generate_field( $field, $settings[ $field["id"] ] ); + if ( ! empty( $field['type'] ) && 'multiple_fields' === $field['type'] ) { + QSM_Fields::generate_field( $field, $settings ); + }else { + QSM_Fields::generate_field( $field, $settings[ $field["id"] ] ); + } } } ?> @@ -171,7 +199,11 @@ public static function generate_section( $fields, $section ) { foreach ( $fields as $field ) { // Generate the field if ( isset( $field['option_tab'] ) && 'contact_form' === $field['option_tab'] ) { - QSM_Fields::generate_field( $field, $settings[ $field["id"] ] ); + if ( ! empty( $field['type'] ) && 'multiple_fields' === $field['type'] ) { + QSM_Fields::generate_field( $field, $settings ); + }else { + QSM_Fields::generate_field( $field, $settings[ $field["id"] ] ); + } } } ?> @@ -328,8 +360,8 @@ public static function generate_multiple_fields_field( $fields, $value ) { case 'checkbox': foreach ( $field["options"] as $option ) { ?> -

+ + +
pluginHelper->get_quiz_setting( 'quiz_options' ); + // Registers require_log_in setting $field_array = array( 'label' => __( 'Select Type', 'quiz-master-next' ), @@ -248,7 +250,7 @@ public function register_default_settings() { 'fields' => array( 'question_from_total' => array( 'type' => 'number', - 'suffix_text' => '' . __( 'Maximum question limit', 'quiz-master-next' ) . "", + 'suffix_text' => '' . __( 'Maximum question limit', 'quiz-master-next' ) . '', 'default' => 0, ), 'limit_category_checkbox' => array( @@ -263,7 +265,7 @@ public function register_default_settings() { ), 'question_per_category' => array( 'type' => 'number', - 'suffix_text' => '' . __( "Limit number of questions per category", "quiz-master-next" ) . ' ' . __( "Show only limited number of category questions from your quiz.You also need to set Limit Number of questions.", "quiz-master-next" ) . '', + 'suffix_text' => '' . __( "Limit number of questions per category", "quiz-master-next" ) . ' ' . __( "Show only limited number of category questions from your quiz.You also need to set Limit Number of questions.", "quiz-master-next" ) . '', 'default' => 0, ), ), @@ -326,506 +328,425 @@ public function register_default_settings() { $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); /* ===== Generat tab end ======== */ - - // Registers progress_bar setting + /* ===== Submission tab start ======== */ $field_array = array( - 'id' => 'progress_bar', - 'label' => __( 'Show progress bar', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, - ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Timer Settings', 'quiz-master-next' ), + 'fields' => array( + 'timer_limit' => array( + 'type' => 'number', + 'suffix_text' => '' . __( 'minutes', 'quiz-master-next' ) . '', + 'default' => 0, ), - ), - 'default' => 0, - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers pagination setting - $field_array = array( - 'id' => 'pagination', - 'label' => __( 'Questions Per Page', 'quiz-master-next' ), - 'type' => 'number', - 'options' => array(), - 'default' => 0, - 'help' => __( 'Override the default pagination created on questions tab', 'quiz-master-next' ), - 'option_tab' => 'general', - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers timer_limit setting - $field_array = array( - 'id' => 'timer_limit', - 'label' => __( 'Time Limit (in minutes)', 'quiz-master-next' ), - 'type' => 'number', - 'options' => array(), - 'default' => 0, - 'help' => __( 'Leave 0 for no time limit', 'quiz-master-next' ), - 'option_tab' => 'quiz_submission', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Settings for quick result - $field_array = array( - 'id' => 'enable_result_after_timer_end', - 'label' => __( 'Force submit after timer expiry', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'enable_result_after_timer_end' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Auto-submit upon timer expiry', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'skip_validation_time_expire' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Ignore validations after timer expires', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), ), - 'default' => 0, - 'option_tab' => 'quiz_submission', + 'container_class' => 'qsm-small-input-field', + 'option_tab' => 'quiz_submission', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); $field_array = array( - 'id' => 'skip_validation_time_expire', - 'label' => __( 'Skip validations when time expire', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Answer Controls', 'quiz-master-next' ), + 'fields' => array( + 'end_quiz_if_wrong' => array( + 'type' => 'number', + 'default' => 0, + 'placeholder' => __( 'Set Limit', 'quiz-master-next' ), + 'suffix_text' => '' . __( 'Incorrect answers will end the quiz', 'quiz-master-next' ) . '', ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'disable_answer_onselect' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Prevent users from changing their response.', 'quiz-master-next' ) . '(' . __( 'Works with multiple choice questions only', 'quiz-master-next' ) . ')', + 'value' => 1, + ), + ), + 'default' => 0, ), ), - 'default' => 1, - 'option_tab' => 'quiz_submission', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers total_user_tries setting - $field_array = array( - 'id' => 'total_user_tries', - 'label' => __( 'Limit Attempts', 'quiz-master-next' ), - 'type' => 'number', - 'options' => array(), - 'default' => 0, - 'help' => __( 'Leave 0 for unlimited attempts', 'quiz-master-next' ), - 'tooltip' => __( 'Limits how many times a user can take the quiz', 'quiz-master-next' ), - 'option_tab' => 'quiz_submission', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers limit_total_entries setting - $field_array = array( - 'id' => 'limit_total_entries', - 'label' => __( 'Limit Entries', 'quiz-master-next' ), - 'type' => 'number', - 'options' => array(), - 'default' => 0, - 'help' => __( 'Leave 0 for unlimited entries', 'quiz-master-next' ), - 'tooltip' => __( 'Limits how many users can take the quiz.', 'quiz-master-next' ), - 'option_tab' => 'quiz_submission', + 'container_class' => 'qsm-small-input-field', + 'option_tab' => 'quiz_submission', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Registers contact_info_location setting $field_array = array( - 'id' => 'contact_info_location', - 'label' => __( 'Contact form position', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Show before quiz begins', 'quiz-master-next' ), - 'value' => 0, - ), - array( - 'label' => __( 'Show after the quiz ends', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Quiz Controls', 'quiz-master-next' ), + 'fields' => array( + 'total_user_tries' => array( + 'type' => 'number', + 'default' => 0, + 'placeholder' => __( 'Set Limit', 'quiz-master-next' ), + 'suffix_text' => '' . __( 'Attempts', 'quiz-master-next' ) . '', ), - ), - 'default' => 0, - 'help' => __( 'Select when to display the contact form', 'quiz-master-next' ), - 'tooltip' => __( 'The form can be configured in Contact tab', 'quiz-master-next' ), - 'option_tab' => 'contact_form', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers loggedin_user_contact setting - $field_array = array( - 'id' => 'loggedin_user_contact', - 'label' => __( 'Show contact form to logged in users', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 0, + 'limit_total_entries' => array( + 'type' => 'number', + 'default' => 0, + 'placeholder' => __( 'Set Limit', 'quiz-master-next' ), + 'suffix_text' => '' . __( 'Entries', 'quiz-master-next' ) . '', ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 1, + 'enable_retake_quiz_button' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Allow users to retake the quiz', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), ), - 'default' => 0, - 'help' => __( 'Logged in users can edit their contact information', 'quiz-master-next' ), - 'tooltip' => __( 'The information will still get saved if this option is disabled', 'quiz-master-next' ), - 'option_tab' => 'contact_form', + 'container_class' => 'qsm-small-input-field', + 'option_tab' => 'quiz_submission', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Registers question_numbering setting + // Registers store_responses setting $field_array = array( - 'id' => 'question_numbering', - 'label' => __( 'Show question numbers', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Submit Actions', 'quiz-master-next' ), + 'fields' => array( + 'store_responses' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Store results permanently in database', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 1, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'send_email' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Send email notifications', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 1, ), ), - 'default' => 0, - 'option_tab' => 'display', + 'help' => '', + 'option_tab' => 'quiz_submission', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Registers show-optin setting + /* ===== Submission tab end ======== */ + /* ===== Display tab start ======== */ $field_array = array( - 'id' => 'show_optin', - 'label' => __( 'Show Opt-in type Answers to User', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Progress Controls', 'quiz-master-next' ), + 'fields' => array( + 'progress_bar' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Show progress bar', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 1, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'enable_quick_result_mc' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( "Show the results of each question's response in real-time", 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 1, + ), + 'enable_quick_correct_answer_info' => array( + 'type' => 'radio', + 'prefix_text' => __( "Display the correct answer information in real-time", 'quiz-master-next' ), + 'options' => array( + array( + 'label' => __( "Don’t display correct answer info", 'quiz-master-next' ), + 'value' => 0, + ), + array( + 'label' => __( "Display if the selected answer is correct only", 'quiz-master-next' ), + 'value' => 1, + ), + array( + 'label' => __( "Display if the selected answer is correct/incorrect", 'quiz-master-next' ), + 'value' => 2, + ), + ), + 'default' => 0, ), ), - 'default' => 0, - 'option_tab' => 'display', + 'help' => '', + 'option_tab' => 'display', + 'container_class' => 'qsm-progress-control', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Registers show-optin setting $field_array = array( - 'id' => 'show_text_html', - 'label' => __( 'Show Text/HTML type section in result page', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Question Settings', 'quiz-master-next' ), + 'fields' => array( + 'pagination' => array( + 'type' => 'number', + 'default' => 0, + 'placeholder' => __( 'Set Limit', 'quiz-master-next' ), + 'suffix_text' => '' . __( 'Questions Per Page', 'quiz-master-next' ) . '', ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'question_numbering' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Show question numbers', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, + ), + 'show_category_on_front' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Display the category name next to each quiz question', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), ), - 'default' => 0, - 'option_tab' => 'display', + 'container_class' => 'qsm-small-input-field', + 'option_tab' => 'display', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Registers store_responses setting $field_array = array( - 'id' => 'store_responses', - 'label' => __( 'Submit Actions', 'quiz-master-next' ), - 'type' => 'checkbox', - 'options' => array( - array( - 'label' => __( 'Store results permanently in database', 'quiz-master-next' ), - 'value' => 1, - ), - ), - 'default' => 1, - 'help' => '', - 'option_tab' => 'quiz_submission', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers send_email setting - $field_array = array( - 'id' => 'send_email', - 'label' => '', - 'type' => 'checkbox', - 'options' => array( - array( - 'label' => __( 'Send email notifications', 'quiz-master-next' ), - 'value' => 1, - ), - ), - 'default' => 1, - 'help' => '', - 'option_tab' => 'quiz_submission', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers disable_answer_onselect setting - $field_array = array( - 'id' => 'disable_answer_onselect', - 'label' => __( 'Disable change of answers', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, - ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Result Page Controls', 'quiz-master-next' ), + 'fields' => array( + 'show_optin' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Display an opt-in type question response on the results page', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - ), - 'default' => 0, - 'help' => __( 'Works with multiple choice questions only', 'quiz-master-next' ), - 'tooltip' => __( 'The question will be disabled once an answer is selected', 'quiz-master-next' ), - 'option_tab' => 'quiz_submission', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers ajax_show_correct setting - $field_array = array( - 'id' => 'ajax_show_correct', - 'label' => __( 'Add class for correct/incorrect answers', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'show_text_html' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Display a Text/HTML type section on the result page', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'hide_correct_answer' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Hide the correct answer from the result page if a user selected the incorrect answer in the quiz', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - ), - 'default' => 0, - 'help' => __( 'Works with multiple choice questions only', 'quiz-master-next' ), - 'tooltip' => __( 'Dynamically add class for incorrect/correct answer after user selects answer.', 'quiz-master-next' ), - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers hide_auto fill setting - $field_array = array( - 'id' => 'contact_disable_autofill', - 'label' => __( 'Disable auto fill for contact input', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'show_question_featured_image_in_result' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Display the featured image of the question on the results page', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'disable_description_on_result' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Display the question description on the results page', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 1, ), ), - 'default' => 0, - 'option_tab' => 'contact_form', + 'container_class' => 'qsm-small-input-field', + 'option_tab' => 'display', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Registers show category on front setting $field_array = array( - 'id' => 'show_category_on_front', - 'label' => __( 'Display category name on front end', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Quiz Page Settings', 'quiz-master-next' ), + 'fields' => array( + 'quiz_animation' => array( + 'type' => 'select', + 'options' => $mlwQuizMasterNext->pluginHelper->quiz_animation_effect(), + 'default' => '', ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'enable_pagination_quiz' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Display current page number of the quiz', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), ), - 'default' => 0, - 'option_tab' => 'display', + 'container_class' => 'qsm-small-input-field', + 'option_tab' => 'display', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Settings for quick result + $preferred_date_format = ! empty( $settings_array['preferred_date_format'] ) && ! in_array( $settings_array['preferred_date_format'], array( 'F j, Y', 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) ? $settings_array['preferred_date_format'] : ""; $field_array = array( - 'id' => 'enable_quick_result_mc', - 'label' => __( 'Show results inline', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'id' => '', + 'type' => 'multiple_fields', + 'label' => __( 'Advanced Settings', 'quiz-master-next' ), + 'fields' => array( + 'result_page_fb_image' => array( + 'type' => 'image', + 'default' => QSM_PLUGIN_URL . 'assets/icon-200x200.png', + 'button_label' => __( 'Select Logo', 'quiz-master-next' ), + 'suffix' => __( '', 'quiz-master-next' ), ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'ajax_show_correct' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Add class for correct/incorrect answers', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - ), - 'default' => 0, - 'help' => __( 'Instantly displays the result for each question', 'quiz-master-next' ), - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Settings for quick result - $field_array = array( - 'id' => 'hide_correct_answer', - 'label' => __( 'Hide Correct Answer', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, + 'disable_scroll_next_previous_click' => array( + 'type' => 'checkbox', + 'options' => array( + array( + 'label' => __( 'Disable scroll on next and previous button click', 'quiz-master-next' ), + 'value' => 1, + ), + ), + 'default' => 0, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, + 'preferred_date_format' => array( + 'type' => 'radio', + 'prefix' => __( 'Preferred date format:', 'quiz-master-next' ), + 'options' => array( + array( + 'label' => __( 'June 15, 2023 ', 'quiz-master-next' ) . 'F j, Y', + 'value' => 'F j, Y', + ), + array( + 'label' => __( '2023-06-15 ', 'quiz-master-next' ) . 'Y-m-d', + 'value' => 'Y-m-d', + ), + array( + 'label' => __( '06/15/2023 ' , 'quiz-master-next' ) . 'm/d/Y', + 'value' => 'm/d/Y', + ), + array( + 'label' => __( '15/06/2023 ', 'quiz-master-next' ) . 'd/m/Y', + 'value' => 'd/m/Y', + ), + array( + 'label' => __( 'Custom', 'quiz-master-next' ) . '', + 'value' => $preferred_date_format, + ), + ), + 'default' => 'F j, Y', ), ), - 'default' => 0, - 'help' => __( 'Hide correct answer on result page if user selected wrong answer from quiz.', 'quiz-master-next' ), 'option_tab' => 'display', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); + /* ===== Display tab end ======== */ + /* ===== Contact tab start ======== */ - // Settings for quick result + // Registers contact_info_location setting $field_array = array( - 'id' => 'enable_quick_correct_answer_info', - 'label' => __( 'Show correct answer inline', 'quiz-master-next' ), + 'id' => 'contact_info_location', + 'label' => __( 'Contact form position', 'quiz-master-next' ), 'type' => 'radio', 'options' => array( array( - 'label' => __( 'Yes When answer is correct', 'quiz-master-next' ), - 'value' => 1, - ), - array( - 'label' => __( 'Yes Independent of correct/incorrect', 'quiz-master-next' ), - 'value' => 2, - ), - array( - 'label' => __( 'No', 'quiz-master-next' ), + 'label' => __( 'Show before quiz begins', 'quiz-master-next' ), 'value' => 0, ), - ), - 'default' => 0, - 'help' => __( 'Show correct user info when inline result is enabled.', 'quiz-master-next' ), - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - $field_array = array( - 'id' => 'end_quiz_if_wrong', - 'label' => __( 'End quiz', 'quiz-master-next' ), - 'type' => 'number', - 'options' => array(), - 'default' => 1, - 'help' => __( 'If this set to \'0\' then quiz will not end any incorrect number of answer.', 'quiz-master-next' ), - 'option_tab' => 'quiz_submission', - 'min' => 0, - 'container_class' => 'qsm-show-inline-text qsm-correct-incorrect-answer', - 'prefix_text' => __( 'If', 'quiz-master-next' ), - 'suffix_text' => __( 'wrong answer(s).', 'quiz-master-next' ), - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Setting for retake quiz - $field_array = array( - 'id' => 'enable_retake_quiz_button', - 'label' => __( 'Retake Quiz', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( array( - 'label' => __( 'Yes', 'quiz-master-next' ), + 'label' => __( 'Show after the quiz ends', 'quiz-master-next' ), 'value' => 1, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, - ), ), 'default' => 0, - 'help' => __( 'Show a button on result page to retake the quiz', 'quiz-master-next' ), - 'option_tab' => 'quiz_submission', + 'help' => __( 'Select when to display the contact form', 'quiz-master-next' ), + 'tooltip' => __( 'The form can be configured in Contact tab', 'quiz-master-next' ), + 'option_tab' => 'contact_form', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Setting for pagination of quiz + // Registers loggedin_user_contact setting $field_array = array( - 'id' => 'enable_pagination_quiz', - 'label' => __( 'Show current page number', 'quiz-master-next' ), + 'id' => 'loggedin_user_contact', + 'label' => __( 'Show contact form to logged in users', 'quiz-master-next' ), 'type' => 'radio', 'options' => array( array( 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, - ), - array( - 'label' => __( 'No', 'quiz-master-next' ), 'value' => 0, ), - ), - 'default' => 0, - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Setting for pagination of quiz - $field_array = array( - 'id' => 'show_question_featured_image_in_result', - 'label' => __( 'Show question featured image in results page', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), - 'value' => 1, - ), array( 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, - ), - ), - 'default' => 0, - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Setting for pagination of quiz - $field_array = array( - 'id' => 'disable_description_on_result', - 'label' => __( 'Disable description on quiz result page?', 'quiz-master-next' ), - 'type' => 'radio', - 'options' => array( - array( - 'label' => __( 'Yes', 'quiz-master-next' ), 'value' => 1, ), - array( - 'label' => __( 'No', 'quiz-master-next' ), - 'value' => 0, - ), ), 'default' => 0, - 'option_tab' => 'display', + 'help' => __( 'Logged in users can edit their contact information', 'quiz-master-next' ), + 'tooltip' => __( 'The information will still get saved if this option is disabled', 'quiz-master-next' ), + 'option_tab' => 'contact_form', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Setting for pagination of quiz + // Registers hide_auto fill setting $field_array = array( - 'id' => 'disable_scroll_next_previous_click', - 'label' => __( 'Disable scroll on next and previous button click?', 'quiz-master-next' ), + 'id' => 'contact_disable_autofill', + 'label' => __( 'Disable auto fill for contact input', 'quiz-master-next' ), 'type' => 'radio', 'options' => array( array( @@ -838,7 +759,7 @@ public function register_default_settings() { ), ), 'default' => 0, - 'option_tab' => 'display', + 'option_tab' => 'contact_form', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); @@ -862,40 +783,6 @@ public function register_default_settings() { ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - // Setting for animation - $field_array = array( - 'id' => 'quiz_animation', - 'label' => __( 'Quiz Animation', 'quiz-master-next' ), - 'type' => 'select', - 'options' => $mlwQuizMasterNext->pluginHelper->quiz_animation_effect(), - 'default' => '', - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // result page for sharing - $field_array = array( - 'id' => 'result_page_fb_image', - 'label' => __( 'Logo URL', 'quiz-master-next' ), - 'type' => 'url', - 'default' => QSM_PLUGIN_URL . 'assets/icon-200x200.png', - 'tooltip' => __( 'Enter the url of an image which will be used as logo while sharing on facebook.', 'quiz-master-next' ), - 'help' => __( 'If left blank, this will default to QSM logo', 'quiz-master-next' ), - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - - // Registers Preferred date type settings in the quiz options - $field_array = array( - 'id' => 'preferred_date_format', - 'label' => __( 'Preferred Date Format', 'quiz-master-next' ), - 'type' => 'text', - 'default' => isset( get_option( 'qsm-quiz-settings' )['preferred_date_format'] ) ? get_option( 'qsm-quiz-settings' )['preferred_date_format'] : get_option( 'date_format' ), - 'help' => __( 'Overrides global settings for preferred date format', 'quiz-master-next' ), - 'option_tab' => 'display', - ); - $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); - do_action( 'qsm_extra_setting_fields' ); // Registers social_media setting @@ -1016,6 +903,7 @@ public function register_default_settings() { 'option_tab' => 'legacy', ); $mlwQuizMasterNext->pluginHelper->register_quiz_setting( $field_array, 'quiz_options' ); + /* ===== Contact tab end ======== */ // Registers message_before setting $field_array = array( diff --git a/readme.txt b/readme.txt index 061c44a97..7aa0390f3 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: quiz, survey, lead, test, score, exam, questionnaire, question,wordpress q Requires at least: 4.9 Tested up to: 6.2 Requires PHP: 5.4 -Stable tag: 8.1.8 +Stable tag: 8.1.10 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -163,6 +163,18 @@ This is usually a theme conflict. You can [checkout out our common conflict solu 18. Database == Changelog == += 8.1.10 (June 30, 2023) = +* Bug: Fixed issues with timer after 8.1.9 release + += 8.1.9 (June 28, 2023) = +* Feature: Added option to disable quiz public links +* Feature: Added option to apply global setting on multiple quizzes +* Feature: Added the ability to set a default text for unanswered questions +* Feature: Added option to store failed quiz submitted data +* Feature: Added option to enable/disable QSM logs +* Bug: Fixed visiblity issue with next button on comment screen +* Bug: Fixed correct answer logic issue with multi choice question type + = 8.1.8 (June 13, 2023) = * Feature: Added option to end quiz after x number of wrong answers * Feature: Added option to display the start and end dates of quizzes in the result list