Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 5,491 through 5,505 (of 13,774 total)
  • Author
    Posts
  • in reply to: social importer fails #371751

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have just release an update for social importer, fb seemed to have changed something in the new api version, please update and check.

    Thanks,

    Stiofan

    in reply to: Stripe web hooks #371743

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Whats the url?

    Stiofan

    in reply to: website speed optimization #371742

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Firstly to eliminate render blocking is very specific and will mean editing things you should not edit.
    I would always recommend you use this site over that one https://tools.pingdom.com/

    You can feel free to try WP Super cache + autoptimize instead of GB Booster.

    Thanks,

    Stiofan

    in reply to: buddyboss theme #371739

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please also provide FTP info in a private reply and i will add our latest BuddyBoss compatibility tweaks.

    Thanks,

    Stiofan

    in reply to: Problem with Send Enquiry translation #371738

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome, thank you for reporting 🙂

    Stiofan

    in reply to: French address bug, postal codes position #371735

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    I have changed this for you by adding the below code snippet to your site:

    
    
    remove_filter('geodir_custom_field_output_address','geodir_cf_address',10,3);
    add_filter('geodir_custom_field_output_address','_my_french_geodir_cf_address',10,3);
    function _my_french_geodir_cf_address($html,$location,$cf,$p=''){
    
    	// check we have the post value
    	if(is_int($p)){$post = geodir_get_post_info($p);}
    	else{ global $post;}
    
    	if(!is_array($cf) && $cf!=''){
    		$cf = geodir_get_field_infoby('htmlvar_name', $cf, $post->post_type);
    		if(!$cf){return NULL;}
    	}
    
    	$html_var = $cf['htmlvar_name'];
    
    	// Check if there is a location specific filter.
    	if(has_filter("geodir_custom_field_output_address_loc_{$location}")){
    		/**
    		 * Filter the address html by location.
    		 *
    		 * @param string $html The html to filter.
    		 * @param array $cf The custom field array.
    		 * @since 1.6.6
    		 */
    		$html = apply_filters("geodir_custom_field_output_address_loc_{$location}",$html,$cf);
    	}
    
    	// Check if there is a custom field specific filter.
    	if(has_filter("geodir_custom_field_output_address_var_{$html_var}")){
    		/**
    		 * Filter the address html by individual custom field.
    		 *
    		 * @param string $html The html to filter.
    		 * @param string $location The location to output the html.
    		 * @param array $cf The custom field array.
    		 * @since 1.6.6
    		 */
    		$html = apply_filters("geodir_custom_field_output_address_var_{$html_var}",$html,$location,$cf);
    	}
    
    	// Check if there is a custom field key specific filter.
    	if(has_filter("geodir_custom_field_output_address_key_{$cf['field_type_key']}")){
    		/**
    		 * Filter the address html by field type key.
    		 *
    		 * @param string $html The html to filter.
    		 * @param string $location The location to output the html.
    		 * @param array $cf The custom field array.
    		 * @since 1.6.6
    		 */
    		$html = apply_filters("geodir_custom_field_output_address_key_{$cf['field_type_key']}",$html,$location,$cf);
    	}
    
    	// If not html then we run the standard output.
    	if(empty($html)){
    
    		global $preview;
    		$html_var = $cf['htmlvar_name'] . '_address';
    
    		if ($cf['extra_fields']) {
    
    			$extra_fields = stripslashes_deep(unserialize($cf['extra_fields']));
    
    			$addition_fields = '';
    
    			if (!empty($extra_fields)) {
    
    				$show_city_in_address = false;
    				if (isset($extra_fields['show_city']) && $extra_fields['show_city']) {
    					$show_city_in_address = true;
    				}
    				/**
    				 * Filter "show city in address" value.
    				 *
    				 * @since 1.0.0
    				 */
    				$show_city_in_address = apply_filters('geodir_show_city_in_address', $show_city_in_address);
    
    				$show_region_in_address = false;
    				if (isset($extra_fields['show_region']) && $extra_fields['show_region']) {
    					$show_region_in_address = true;
    				}
    				/**
    				 * Filter "show region in address" value.
    				 *
    				 * @since 1.6.6
    				 */
    				$show_region_in_address = apply_filters('geodir_show_region_in_address', $show_region_in_address);
    
    				$show_country_in_address = false;
    				if (isset($extra_fields['show_country']) && $extra_fields['show_country']) {
    					$show_country_in_address = true;
    				}
    				/**
    				 * Filter "show country in address" value.
    				 *
    				 * @since 1.6.6
    				 */
    				$show_country_in_address = apply_filters('geodir_show_country_in_address', $show_country_in_address);
    
    				$show_zip_in_address = false;
    				if (isset($extra_fields['show_zip']) && $extra_fields['show_zip']) {
    					$show_zip_in_address = true;
    				}
    				/**
    				 * Filter "show zip in address" value.
    				 *
    				 * @since 1.6.6
    				 */
    				$show_zip_in_address = apply_filters('geodir_show_zip_in_address', $show_zip_in_address);
    
    			}
    
    		}
    
    		if ($post->{$html_var}) {
    
    			$field_icon = geodir_field_icon_proccess( $cf );
    			if ( strpos( $field_icon, 'http' ) !== false ) {
    				$field_icon_af = '';
    			} elseif ( $field_icon == '' ) {
    				$field_icon_af = '<i class="fa fa-home"></i>';
    			} else {
    				$field_icon_af = $field_icon;
    				$field_icon    = '';
    			}
    
    			$html = '<div class="geodir_more_info ' . $cf['css_class'] . ' ' . $html_var . '" style="clear:both;"  itemscope itemtype="https://schema.org/PostalAddress">';
    			$html .= '<span class="geodir-i-location" style="' . $field_icon . '">' . $field_icon_af;
    			$html .= ( trim( $cf['site_title'] ) ) ? __( $cf['site_title'], 'geodirectory' ) . ': ' : '&nbsp;';
    			$html .= '</span>';
    
    			if ( isset($post->post_address) ) {
    				$html .= '<span itemprop="streetAddress">' . $post->post_address . '</span><br>';
    			}
    			if ($show_city_in_address && isset( $post->post_city ) && $post->post_city ) {
    				$html .= '<span itemprop="addressLocality">';
    				if ($show_zip_in_address && isset( $post->post_zip ) && $post->post_zip ) {
    					$html .= $post->post_zip . ' ';
    				}
    				$html .= $post->post_city . '</span><br>';
    			}
    			if ($show_region_in_address && isset( $post->post_region ) && $post->post_region ) {
    				$html .= '<span itemprop="addressRegion">' . $post->post_region . '</span><br>';
    			}
    
    			if ($show_country_in_address && isset( $post->post_country ) && $post->post_country ) {
    				$html .= '<span itemprop="addressCountry">' . __( $post->post_country, 'geodirectory' ) . '</span><br>';
    			}
    			$html .= '</div>';
    
    		}
    
    	}
    
    	return $html;
    }

    Thanks,

    Stiofan

    in reply to: Customize My Dashboard #371731

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    🙂

    in reply to: A sentence appears in the add list form #371716

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Your social importer translation seems to contain a line break in this translation at the end, this is breaking the JS “porfavor introduzca un valor

    Stiofan

    in reply to: Social Importer “Something went wrong” Message #371708

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Can you also provide FTP info and i will make it output the entire response.

    Thanks,

    Stiofan

    in reply to: Getting 104 error for social importer #371707

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Can you please try again and copy paste the result here, i have made it output the entire response.

    Thanks

    Stiofan

    in reply to: Can't and places after Multi-location Installation #371703

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I can connect to the FTP but there are no folders or files, can you check its pointing to the correct location please.

    Thanks,

    Stiofan

    in reply to: Adding Place #371698

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It looks to me like the plugin “Project Supremacy Plugin” is adding jQuery ui again in the wrong way, its also looks like its adding some other things the wrong way. You can either try disabling it and checking or provide me FTP info and i can check.

    Thanks,

    Stiofan

    in reply to: Invoicing – can't get it to work #371697

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I think it just depends on how you set things up, i have never had that complaint, is there something you would suggest?

    Stiofan

    in reply to: WPGeoDirectory and "Issue" theme by Wpmudev.org #371696

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The map seems to work now but the theme does not seem to be built in the normal WP way, it seems to be all builder which is causing problems.

    Stiofan


    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Can you provide FTP and i’ll check its not another plugin removing filters for some reason.

    Thanks,

    Stiofan

Viewing 15 posts - 5,491 through 5,505 (of 13,774 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount