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?

Email capture hook?
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 123
TOPIC: Email capture hook?
#63406
Re:Email capture hook? 5 Years, 9 Months ago Karma: 0
Yes, bought, downloaded, and installed today.

For my test quiz, I went into Settings and clicked "Collect users' data" and, under that, "Ask Email" -- Is there anything else I need to do to make this work?
The administrator has disabled public write access.
 
#63407
Re:Email capture hook? 5 Years, 9 Months ago Karma: 748
It is enough, probably you place the code in an incorrect place. For example you can add it to <plugins_folder>/ari-stream-quiz/ari-stream-quiz.php file for test purpose.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#63415
Re:Email capture hook? 5 Years, 9 Months ago Karma: 0
The code is right in the main body of my plugin, right after another nearly-identical hook that does work and replacing a previous hook that worked with a different quiz plugin. So, it's not the placement. And looking at your code in your plugin where you do_action and my code where I add_action, it should all be working. I am stumped. I'll keep working on it.
The administrator has disabled public write access.
 
#63416
Re:Email capture hook? 5 Years, 9 Months ago Karma: 0
Just ran more tests. TotalPoll (which has a very similar hook to yours) works fine. ASQ is still not working. Here is the code for both as they appear in the plugin:

Code:

add_action('totalpoll/actions/poll/vote', function ($poll) {

$source   = "TotalPoll";
$email = $poll["email"];
write_log('Caught TotalPoll email hook for ' . $email);
if ( $email ) {
do_save_user ( $source, $email, '', '' );
}
});

add_action('asq_session_user_data', function ($user_data) {

$source = "Quiz";
$email  = $user_data['email'];
write_log('Caught ASQ email hook for ' . $email);
if ( $email ) {
do_save_user ( $source, $email, '', '' );
}
});


The administrator has disabled public write access.
 
#63417
Re:Email capture hook? 5 Years, 9 Months ago Karma: 748
We can investigate the problem if you reproduce the problem on a test site and provide a temporary access to WordPress backend and FTP access by email.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#63418
Re:Email capture hook? 5 Years, 9 Months ago Karma: 0
Sent!

By the way, it's this kind of fantastic support is a big part of why we bought this plugin. Thanks so much!
The administrator has disabled public write access.
 
Go to topPage: 123