Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Redirection
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: Redirection
#68157
Redirection 2 Years, 7 Months ago Karma: 0
Hi there,


Have just purchased the Personal version of ARI Stream Quiz for Wordpress, and have three queries:

  1. Loading the Edit Quiz section and saving seem to take particularly long - is there anything I can do to speed it up? (Note that I have 64 questions set up in the quiz if that makes a difference)


  2. Is it possible to automatically redirect the user to another page after they click the final quiz answer?


  3. I see that each answer can have custom text and HTML in it, but when I enter some code to try to redirect, it doesn't save it. The code entered is
    Code:

    <meta http-equiv="Refresh" content="0; url='https://www.website.com'" />
    I don't know if this would work, even if it saved?


Any help is appreciated, thanks.
The administrator has disabled public write access.
 
#68165
Re: Redirection 2 Years, 7 Months ago Karma: 0
Hi - any insight into my questions above?

Thanks.
The administrator has disabled public write access.
 
#68166
Re: Redirection 2 Years, 7 Months ago Karma: 747
Hello,

Sorry for the delay. We are working on new version of the plugin. It will contains a custom event (when quiz is finished) which can be used to add custom JS code to redirect at the end of quiz. Your code will not work.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#68262
Re: Redirection 2 Years, 6 Months ago Karma: 747
Hello,

v. 1.7.0 supports stream_quiz:show_results event. It can be used to define redirect to a custom page when quiz is completed. Add the following code to "Custom JS code" parameter on "ARI Stream Quiz -> Settings -> Advanced" page:

Code:


jQuery(document).on('stream_quiz:before_show_results', function(ev, data) {
  var quiz = data.quiz;
  quiz.showLoading();
  setTimeout(function() {
     window.location.href = 'https://www.website.com';
  }, 10);
});



and add the following code to "Custom CSS styles" parameter on the same page:

Code:


.quiz-loading>:not(.quiz-loading-pane) {
  visibility: hidden !important;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#68265
Re: Redirection 2 Years, 6 Months ago Karma: 0
Hi - thanks for the update, however we had to implement another solution.
The administrator has disabled public write access.
 
Go to topPage: 1