Title: mizzinc's Replies | WordPress.org

---

# mizzinc

  [  ](https://wordpress.org/support/users/mizzinc/)

 *   [Profile](https://wordpress.org/support/users/mizzinc/)
 *   [Topics Started](https://wordpress.org/support/users/mizzinc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mizzinc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mizzinc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mizzinc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mizzinc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mizzinc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/mizzinc/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/mizzinc/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Send PDF for Contact Form 7] creating pdf breaks ajax functionality of cf7](https://wordpress.org/support/topic/creating-pdf-breaks-ajax-functionality-of-cf7/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/creating-pdf-breaks-ajax-functionality-of-cf7/#post-17834141)
 * Yes, I can confirm this is also happening for me. 
   Creating a new PDF breaks 
   ajax. Would like a fix asap please.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Validating Email Bug?](https://wordpress.org/support/topic/validating-email-bug/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/validating-email-bug/#post-11418729)
 * Thank you so much for taking the time to answer. Very helpful.
 * **Solution**
    Ive installed ‘Contact Form 7 Email Validation’ ([https://wordpress.org/plugins/email-domain-verification-in-cf7/](https://wordpress.org/plugins/email-domain-verification-in-cf7/))
   to assist where `is_email()` doesn’t.
    -  This reply was modified 7 years, 5 months ago by [mizzinc](https://wordpress.org/support/users/mizzinc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Validating Email Bug?](https://wordpress.org/support/topic/validating-email-bug/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/validating-email-bug/#post-11415778)
 * [@takayukister](https://wordpress.org/support/users/takayukister/) – is this 
   a bug?
 * An incomplete email address is validated as correct.
    Example: foo@foo.c should
   throw an error, but its accepted.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Validating Email Bug?](https://wordpress.org/support/topic/validating-email-bug/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/validating-email-bug/#post-11410619)
 * Does this need more clarification?
 * It seems the issue is with domain suffix (.com, .co, .au). The email address 
   is accepted if only one letter of the suffix is provided.
 * For example domain.c, domain.u, domain.z
 * The email address foo@foo.c should not validate.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailchimp for WooCommerce] API Request Error – cURL error 35](https://wordpress.org/support/topic/api-request-error-curl-error-35/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/api-request-error-curl-error-35/#post-11257487)
 * I paused Cloudflare and also deactivated it and am still receiving the same error:
 * Mailchimp says: API Request Error – cURL error 35: error:14077410:SSL routines:
   SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
 * Do I need to also remove any A or CNAME records too?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Free Shipping for WooCommerce] Shipping Settings: PHP Errors](https://wordpress.org/support/topic/shipping-settings-php-errors/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/shipping-settings-php-errors/#post-10197200)
 * Hi Jeroen,
 * It occurred when I added a new shipping rate.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mailchimp for WooCommerce] Fatal error on activation](https://wordpress.org/support/topic/fatal-error-on-activation-108/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-activation-108/#post-8277700)
 * Fatal error: Cannot redeclare class MailChimp_Error in /plugins/mailchimp-for-
   woocommerce/includes/api/errors/class-mailchimp-error.php on line 14
    -  This reply was modified 9 years, 11 months ago by [mizzinc](https://wordpress.org/support/users/mizzinc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Populate dropdown](https://wordpress.org/support/topic/populate-dropdown/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years ago](https://wordpress.org/support/topic/populate-dropdown/#post-8204445)
 * Hey jediKnight78,
 * At a glance I would suggest checking all your settings on your live project match
   all the settings on your local/testing server. Or perhaps migrate the database
   using [https://en-nz.wordpress.org/plugins/wp-migrate-db/](https://en-nz.wordpress.org/plugins/wp-migrate-db/)
 * Hope that information helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Ajax Search] Insanely Slow](https://wordpress.org/support/topic/insanely-slow/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/insanely-slow/#post-7348905)
 * Third! And additionally options to remove the ajax-loader and use CSS animations
   would be great.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Populate dropdown](https://wordpress.org/support/topic/populate-dropdown/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/populate-dropdown/#post-6757368)
 * Right – its as simple as applying one line of CSS to the select field you want
   hidden on page load.
 * For example:
 *     ```
       #tax-select-2 {
       display: none;
       }
       ```
   
 * Just look at your page source to see what ‘id’ is used. Please note if you have
   other search filter forms will also hide the targeted ‘id’.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Populate dropdown](https://wordpress.org/support/topic/populate-dropdown/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/populate-dropdown/#post-6757367)
 * Hi jediKnight78.
 * Ill come back to you this week.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Smash Balloon Social Photo Feed – Easy Social Feeds Plugin] Uncaught TypeError: Cannot read property 'username' of undefined](https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-username-of-undefined/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-username-of-undefined/#post-7420309)
 * Had to manually edit the get access url to retrieve the updated access code. 
   Mark as resolved for now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Smash Balloon Social Photo Feed – Easy Social Feeds Plugin] Uncaught TypeError: Cannot read property 'username' of undefined](https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-username-of-undefined/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-username-of-undefined/#post-7420307)
 * Thanks for your response. Did follow those links and attempted to update token
   before posting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Smash Balloon Social Photo Feed – Easy Social Feeds Plugin] Uncaught TypeError: Cannot read property 'username' of undefined](https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-username-of-undefined/)
 *  Thread Starter [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-read-property-username-of-undefined/#post-7420303)
 * Thanks for the quick response Craig. Please see: [http://tinyurl.com/hdhblh3](http://tinyurl.com/hdhblh3)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Populate dropdown](https://wordpress.org/support/topic/populate-dropdown/)
 *  [mizzinc](https://wordpress.org/support/users/mizzinc/)
 * (@mizzinc)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/populate-dropdown/#post-6757365)
 * I got this working using a Vehicle Make and Model scenario.
 * 1. Create a new form in Ultimate WP Query Search Filter with two taxonomies and
   output the form to a page/post/widget.
    2. Initialize Ajax. Place this code in
   functions.php or similar file. This also assumes your theme has enqueue jQuery.
 *     ```
       function ajax_auth_init(){
       wp_register_script( 'ajax-script', get_stylesheet_directory_uri() . '/assets/js/ajax.js', array('jquery') );
       wp_enqueue_script( 'ajax-script' );
       wp_localize_script( 'ajax-script', 'ajax_uwpqsf_object', array( 'ajaxurl' => admin_url( 'admin-ajax.php' )));	
   
       add_action( 'wp_ajax_nopriv_ajaxuwpqsf', 'ajax_uwpqsf' );
       add_action( 'wp_ajax_ajaxuwpqsf', 'ajax_uwpqsf' );
       }
       add_action( 'init', 'ajax_auth_init' );
       ```
   
 * 3. In my scenario, when a user selects a Make (category) the second dropdown 
   is populated with child categories of Models (sub-category).
 *     ```
       function ajax_uwpqsf() {
       	$cat_id = get_cat_ID( ucfirst($_POST['id']) );
       	$args = array( 'child_of' => $cat_id, 'orderby' => 'name', );
       	$categories = get_terms( 'category', $args );
       	$modeldata = '';
       	foreach( $categories as $category ) {
       		$modeldata .= '<option value="'.$category->name.'">'.$category->name.'</option>';
       	}
       	echo $modeldata;
       	die();
       }
       ```
   
 * 4. Add the JS. In step 2 we initalized the ajax.js script. So create this file
   in /assets/js/ajax.js or anywhere you choose in your theme folder, just remember
   to update the path above.
    Note I have targeted the two taxonomies we created
   in the form by using the respective IDs. ‘#tdp-0’ and ‘#tdp-1’. There is possibly
   a better way to do this, but for example purposes, needs/must.
 *     ```
       jQuery(document).ready(function($) {
       	// Perform AJAX Ultimate WP Query Search Filter
       	$('#tdp-0').change(function(e){
       		var cat_id = $(this).val();
       		$.ajax({
       			cache: false,
       			type: 'POST',
       			url: ajax_uwpqsf_object.ajaxurl,
       			data: {
       				'action': 		'ajaxuwpqsf',
       				'id': 			cat_id
       			},
       			success: function(data){
       				$('#tdp-1').html(data);
       			}
       		});
       		e.preventDefault();
       		return false;
       	});
       });
       ```
   
 * Hope this helps someone.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/users/mizzinc/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/mizzinc/replies/page/2/?output_format=md)