Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter collectorcarnetwork

    (@collectorcarnetwork)

    OK, I got it working by changing the first add_action call to mention the new function:

    add_action('mc4wp_after_subscribe', 'my_prefix_set_mailchimp_cookie', 10, 4);

    Now my cookies are being set properly. Hooray!

    Thanks for an awesome plugin that only keeps on getting better!!!

    Thread Starter collectorcarnetwork

    (@collectorcarnetwork)

    Hi Danny,

    Thanks for the quick turnaround! I tried implementing the code in my functions file but I’m not setting a cookie as expected. STB does set a cookie when I click the “X” to close the box, however.

    I’m afraid I’m not a coder so I’m at a loss as to where I’m going wrong.

    I am seeing the following in my php error log, though:

    [23-Dec-2013 23:43:38 UTC] WordPress database error Table '[REDACTED].wp_mc4wp_log' doesn't exist for query INSERT INTOwp_mc4wp_log(email,list_ids,signup_method,signup_type,form_ID,comment_ID,merge_vars,datetime,url`) VALUES (‘[email protected]’,’aa25a565c2′,’form’,’sign-up-form’,’13231′,0,'{\”GROUPINGS\”:[{\”id\”:6033,\”groups\”:[\”Daily\”]}]}’,’2013-12-23 16:43:38′,’https://blog.classiccars.com/’) made by require(‘[PATH]\wp-blog-header.php’), require_once(‘[PATH]\wp-load.php’), require_once(‘[PATH]\wp-config.php’), require_once(‘[PATH]\wp-settings.php’), do_action(‘init’), call_user_func_array, MC4WP_Forms->submit, MC4WP_Forms->subscribe, do_action(‘mc4wp_subscribe_form’), call_user_func_array, MC4WP_Log->log_form_subscriber, mc4wp_log, W3_Db->insert, W3_DbCache->insert, W3_DbCallUnderlying->insert, W3_Db->insert, W3_DbProcessor->insert, W3_Db->default_insert, W3_Db->query, W3_DbProcessor->query, W3_Db->default_query
    `

    Thread Starter collectorcarnetwork

    (@collectorcarnetwork)

    Thanks Danny! Your plugin deserves 5 stars even without this functionality, so I just left a review. Looking forward to being able to keep the pop-up hidden for my subscribers.

    Happy holidays!

    I vote for re-hiding the box when the visitor scrolls back up.

Viewing 4 replies - 1 through 4 (of 4 total)