Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I’m using WP 4.9.2 and everything works fine!

    Thread Starter weizenhuhn

    (@weizenhuhn)

    If somebody wants to know how my solution was:
    Call your function in classes/es-register.php, inside the condition if ( isset( $_POST['ed_btn'] )), at the end. Like that:

    		if ( isset( $_POST['ed_btn'] ) )
    		{
    			check_admin_referer('ed_form_subscribers');
    
    			if($ed_name == "YES")
    			{
    				$ed_txt_nm = isset($_POST['ed_txt_nm']) ? sanitize_text_field($_POST['ed_txt_nm']) : '';
    			}
    			else
    			{
    				$ed_txt_nm = "";
    			}
    
    			$ed_txt_em = isset($_POST['ed_txt_em']) ? sanitize_text_field($_POST['ed_txt_em']) : '';
    			$ed_id = isset($_POST['ed_txt_id']) ? sanitize_text_field($_POST['ed_txt_id']) : '';
    
    			if($ed_name == "YES" && $ed_name_mand == "YES" && $ed_txt_nm == "")
    			{
    				$ed_alt_nm = '<span class="ed_validation" style="'.ED_MSG_05.'">'.ED_MSG_01.'</span>';
    				$ed_error = true;
    			}
    
    			if( $ed_txt_nm  <> "")
    			{
    				$ed_txt_nm = sanitize_text_field($ed_txt_nm);
    			}
    
    			if($ed_txt_em == "")
    			{
    				$ed_alt_em = '<span class="ed_validation" style="'.ED_MSG_05.'">'.ED_MSG_01.'</span>';
    				$ed_error = true;
    			}
    
    			if(!is_email($ed_txt_em) && $ed_txt_em <> "")
    			{
    				$ed_alt_em = '<span class="es_af_validation" style="'.ED_MSG_05.'">'.ED_MSG_02.'</span>';
    				$ed_error = true;
    			}
    
    			if($ed_id == "group-option")
    			{
    				$ed_id = isset($_POST['ed_txt_group']) ? sanitize_text_field($_POST['ed_txt_group']) : '';
    			}
    
    			if($ed_id == "" || $ed_id == "group-option")
    			{
    				$ed_alt_gp = '<span class="ed_validation" style="'.ED_MSG_05.'">'.ED_MSG_07.'</span>';
    				$ed_error = true;
    			}
    
    			if(!$ed_error)
    			{
    				//Success
    				$homeurl = home_url();
    				$samedomain = strpos($_SERVER['HTTP_REFERER'], $homeurl);
    				if (($samedomain !== false) && $samedomain < 5)
    				{
    					$sts = ed_cls_subscribers::ed_subscriber_create($ed_txt_nm, $ed_txt_em, $ed_id);
    					if($sts == "suss")
    					{
    						$ed_email_id = ed_cls_subscribers::ed_subscriber_foremail($ed_txt_em, $ed_id);
    
    						if($ed_email_id > 0)
    						{
    							$ed_email_id = ed_cls_sendemail::ed_sendemail_prepare($ed_email_id);
    						}
    						$ed_alt_success = '<span class="ed_sent_successfully" style="'.ED_MSG_06.'">'.ED_MSG_04.'</span>';
    					}
    				}
    				//Implement your function here and use the email if you want
    myMailchimpAPICall($ed_txt_em);
    				
    
    			}
    		}
    Thread Starter weizenhuhn

    (@weizenhuhn)

    Great! Thank you for the very fast response!
    Now it opens the boxzilla popup with my mailchimp newsletter subscrition on it.
    Do you have some hints, how I could start the download, after the user clicks submit, in the mailchimp formular?

    • This reply was modified 7 years ago by weizenhuhn.
    Thread Starter weizenhuhn

    (@weizenhuhn)

    Thanks for your reply but your link doesn’t work.

    Hello there!
    First off all thanks for this great plugin.
    I got also the problem, that the plugin doesn’t appear on Internet Explorer 11. Chrome and Firefox works fine.
    URL: https://better-than-ever.com/ (should appear after scrolling 35% of the page)

    Thread Starter weizenhuhn

    (@weizenhuhn)

    Thanks for the great support and this plugin. It just works fine and it has a lot of great functions for free! Awesome!

    Thread Starter weizenhuhn

    (@weizenhuhn)

    Thanks a lot for you reply!
    I removed the spamshield already.. no effect. But I just found the problem: After deactivating Ninja Popups, the Formular works just fine. Is there any conflict known with this Plugin?

    Thread Starter weizenhuhn

    (@weizenhuhn)

    Thanks for the fast reply! You can find the form in the footer of the website https://better-than-ever.com

    Here is a screenshot of the form:
    https://cl.ly/462A1L2O0E1q

    At the first visit of the website, also a popup will appear that works, which is using the same mailchimp form. Also this form works after registration.

    • This reply was modified 7 years, 3 months ago by weizenhuhn.
Viewing 8 replies - 1 through 8 (of 8 total)