Running Phpsec and Progpilot on the pugin’s code brings up a few security issues. How can I discuss them with you?
]]>I’m using PHP 8.1 and get these deprecation warnings when using the plugin:
[10-Apr-2024 16:16:42 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in wp-includes/functions.php on line 7288
[10-Apr-2024 16:16:42 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in wp-includes/functions.php on line 2187
I’ve not noticed any performance issues yet, but wanted to get this on your radar.
]]>I was wondering if this plugin still works when using Simply Static Pro.
Any experience?
]]>Hi Bob,
we are using the Chained Quiz Plugin on a WordPress Multisite and ran into the following “Critical error”:
thrown in /home/wp/disk/wordpress/wp-content/plugins/chained-quiz/helpers/htmlhelper.php on line 88#7 {main}#6 /home/wp/disk/wordpress/wp-admin/admin.php(259): do_action()#5 /home/wp/disk/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()#4 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#3 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(324): ChainedQuizQuizzes::manage()#2 /home/wp/disk/wordpress/wp-content/plugins/chained-quiz/controllers/quizzes.php(11): ChainedQuizQuizzes::edit_quiz()#1 /home/wp/disk/wordpress/wp-content/plugins/chained-quiz/controllers/quizzes.php(48): ChainedQuizQuiz->save()#0 /home/wp/disk/wordpress/wp-content/plugins/chained-quiz/models/quiz.php(52): chained_strip_tags()Stack trace:[04-Mar-2024 15:13:05 UTC] PHP Fatal error: Uncaught Error: Undefined constant "WATUPRO_UNFILTERED_HTML" in /home/wp/disk/wordpress/wp-content/plugins/chained-quiz/helpers/htmlhelper.php:88
Use Case: Site Admins cannot create new quizzes or modify existing quizzes (e.g. that were created by Super Admins or that were imported via SQL into the database).
The above error message refers to this function in the htmlhelper.php:
function chained_strip_tags($content) {
if(!current_user_can('unfiltered_html') and WATUPRO_UNFILTERED_HTML != 1) {
$content = strip_tags($content, '<b><i><em><u><a><p><br><div><span><hr><font><img><strong>');
}
return $content;
}
We added the following to the wp-config.php as a temp fix:
define('WATUPRO_UNFILTERED_HTML', '');
We kindly ask you to provide a permanent fix for this issue in the next version of the plugin and provide further guidance as to why this issue occurs.
Thanks,
Jan
]]>Hello, great plugin!
Is it possible to add some images as label for each answer?
I trtied to add an image using HTML tag, but i can’t see it on frontend.
Bye
]]>Hi there,
I’m seeking your advice on how to implement the following quiz:
We were thinking about a number range for each category for example category 1 = scores between 1 – 10, category 2 = scores between 11 – 20 and so forth.
How would you go about setting up this quiz?
Thanks,
Jan
]]>Hello,
I am a freelance fullstack dev.
Is that possible to contribute? A client asked me to have the possibility to create n sections and group the question (and the results) by section. I have already developed the change. Is there a repo to fork or can I submit the code somewhere?
Thanks
Gianluca
]]>Every answer to the quiz causes it to jump to the top which is distracting and makes it harder to read. I’m not sure if this is an elementor setting though.
Edit, changed some things, it appears to work better.
]]>Hi. Is there a datalayer event that fires when a quiz is completed? I’d like to track quiz completions in GA4, so if there’s a dl event I can latch on to with google tag manager, that would be cool. I didn’t spot one in google tag manager preview mode, but I could be being dim ??
]]>Hi,
Is it possible to export the whole quiz en load it in to a new website?
With kind regards,
Joost
Hi Bob,
in the setting of the quiz, I can either make it mandatory or optional for users to enter an email if their would like a copy of their test results.
In principle, that’s a great feature. Most of the users we work with, however, would like to take that decision not at the beginning, but rather at the end of the quiz. Reasoning: The value generated by the quiz output is being realized only after the quiz was taken.
Hence, I started playing around with the email field. Moving the field further down and telling users to enter the email before the last step, was the best I can do:
#chained-quiz-wrap-4 { display: flex; flex-direction: column; }
.chained-quiz-question { order: 1; }
.chained-quiz-choices { order: 2; }
.chained-quiz-comments { order: 3; }
.chained-quiz-action { order: 4; }
.chained-quiz-email { order: 5; }
I also understand that there is a dynamic field
{{user-email}}?
Unfortunately, the e-mail address field always comes with the same ID so that I’m unable to hide it selectively during/ after the quiz.
How would you go about making the e-mail entry optional only on the result page?
Any thought on this are much appreciated.
Thanks,
Jan
]]>The distance between the radio buttons on the smartphone is too small. It’s very difficult to hit the right button. Can I add spaces between possible answers?
The distances are larger on the desktop, so it would be better on the smartphone.
Where can I find the code in WP? Or where do I change the script?
Greetings, Uwe
]]>How can I send (post) the collected data to an external script?
]]>Hi threre,
the quiz below displays different result-pages based upon a particular score that a user has achieved.
Now I’d like to include a shortcode which embeds a form on each result page for users to enter data / follow the desired call to action.
In order to realized that I added the shortcode via WP Editor to the result page like that:
<!-- wp:shortcode -->
[calcium-quiz-hook] <!-- /wp:shortcode -->
The desired content, however, is not being pulled-in.
I understand the quiz uses Ajax to request the data, and just rendering the shortcode in Ajax alone is a challenge.
How would you go about solving this issue?
Thanks,
Jan
]]>Hi there! I’m facing some technical problems as the “next” question button is not working on mobile, It was first set as automatic but I tried to solve it by turning the next button manual. It works fine on desk but not on celphone.
]]>For one of my requirement the ‘Go Ahead’ button text need to be changed and it is InActive if there is no text BUT for my need I need it to be ACTIVE even if the user do not enter anything there. How do I do it? Please update. Thank you, nice plugin!
]]>We would love to use this plugin to do a quiz layout all on one page that shifts down as questions are answered. Is that possible?
]]>Can I track two or more different kinds of point types?
Here is an example:
Say, I want to create a quiz on which fandom a user belongs to stronger or less strong.
I test with four multiple-choice-yes/no answers to the question “What do you like more?”:
The four answers are:
For choosing answer 1, the user gets 1 point in Harry Potter and 0 points in Star Wars.
For choosing answer 2, the user gets 0 points in Harry Potter and 1 point in Star Wars.
For choosing answer 3, the user gets 1 point in Harry Potter and 1 point in Star Wars.
For choosing answer 4, the user gets 0 points in Harry Potter and 0 points in Star Wars.
At the end of answering dozens of this kind of question, the user will have zero to 50 points in Harry Potter and zero to 25 points in Starwars.
Can I do these two point types at all with the plugin, or would I have to export the result and manually / via Macro have the answers evaluated in Excel?
]]>Hi!
Chained Quiz would be a great solution for the questions I want to ask visitors on my website.
However, although “Require user login to take this quiz” is not activated in the settings, my visitors are asked to login with username and password when they click the button to go to the second question.
I read in similar posts in the forum, that I am not the first one with this issue, so I tried the following, unfortunately without success:
Any further ideas how I can stop the login requirement?
Thanks a lot, in advance!
BR, Georg
]]>When someone takes a quiz, I get an email with only the last page content. No name, nothing. Even though I have a questions in which I ask their name. There is no place where I can set anything about this.
How can I know who took the quiz? It would be handy if the questions + answers are also in the email, instead of just the last final page. (where I don’t show the answers)
]]>Hi,
today I’ve installed the plugin and I was creating questions and answer. When I got to the seventh question I wasn’t able to add answer anymore. IfI open the console I get this error when I press the button: https://prnt.sc/RSDeNEdETFv5
]]>Hello
I use the “Chained Quiz” plugin in the version 1.3.2.6 with the option selected:
–?Send me email when user completes this quiz
– Send email to user with their result
– Providing email address is required to do the quiz
– Once the email address is provided, hide the field on next questions
All other options are not selected.
Our homepage was running on PHP 7.4.
Because of end of life of PHP 7.4 I have update to PHP 8.2 and so far everything works fine. The only thin I have recognized is that the input field which was empty at PHP 7.4 has now on PHP 8.2 the greyed message
“Warning: Undefined array key”
When I start enter a email address, the message “Warning: Undefined array key” disappear and everything work like expected.
After I have switch back to PHP 7.4, the message does not appear anymore as before.
Is there any possibility to bring the message “Warning: Undefined array key” also at PHP 8.2 away.
Thanks for help
Peter
hello sir
you are really great persons i am very happy with you
if you please i want to make friends dare quiz
that the visitor fill a form then get link to share with friends that link with quiz about the visitor and the results give percent between the visitor answers and his friend answer
]]>I was wondering if there is an option to do “something” when an answer is wrong and don’t have a match with one of the predefined answers. For now, it goes to the next question, but it should be fine if there are multiple options to route the user to another question.
Thanks in advance for looking at this!
]]>Hello. Would it be possible to add an upvote system? By this, I mean assigning a result to the answer of a question. Instead of point, the result will be based on upvotes.
For example, the quiz is about which shampoo is the best match for the customer. There are 5 results which shampoo is best. Each shampoo has specific characterics. So if the customer clicks dry hair in the quiz, the dry hair shampoo gets upvoted. etc etc.
Would this be possible?
]]>How can you keep the user from submitting more than once? I don’t want users to submit over and over and skew the answers.
]]>It appears when downloading detailed report it doesn’t include the URL, when that option used. Am I missing something, or can the full URL be added to the report or the Results page via something like {{user-URL}}?? (I am planning on attaching extra data to the URL which will be useful like mysite.com/[email protected]&name=first&special=1
Thank you!!
A new test is not created for me. There are no quizzes yet. To check, I created a test on another site that is not in the wordpress site network, and the test was created there. But the page I need to test is in the web network. What should I do?
I need to create an MBTI test using a chained quiz, so that the questions are branched and changed according to what the respondent answered at the beginning.
]]>Can you download test results as pdf file?
]]>I’d like to track numbers of people that start a quiz vs number of people that complete a quiz. Is there something that fires during each step and with the “finalise quiz” step that I could latch on to with tag manager as events? Hoping someone has achieved this before, to save me having to figure it all out from scratch.
]]>