Kiran

Forum Replies Created

Viewing 15 posts - 1,546 through 1,560 (of 6,022 total)
  • Author
    Posts
  • in reply to: Broken Site #505705

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Map not working #505704

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    === I checked your site backend GeoDirectory settings and founde some incorrect settings as below.
    – You have selected countries “British Virgin Islands” & “US Virgin Islands” for “Select Countries” option at GeoDirectory > Settings > Locations > Settings but major listings are within “Virgin Islands”(see GeoDirectory > Settings > Locations > Countries) country which is not enabled.
    – You have chosen default location to Cruz Bay, St. John, Virgin Islands at GeoDirectory > Settings > Locations > Areas/Towns but which not falls within selected country.

    === To fix select2 conflict in backend i have added following PHP snippet.

    
    
    /**
     * Fix select2 conflict between GeoDirectory & Traveler theme.
     */
    function gd_snippet_190830_traveler_select2() {
    	if ( is_admin() ) {
    		// Backend
    		$screen    = get_current_screen();
    		$screen_id = $screen ? $screen->id : '';
    
    		if ( wp_script_is( 'geodir-admin-script', 'enqueued' ) && wp_script_is( 'select2', 'enqueued' ) && wp_script_is( 'select2.js', 'enqueued' ) ) {
    			if ( $screen_id && in_array( $screen_id, geodir_get_screen_ids() ) ) {
    				wp_dequeue_script( 'select2.js' ); // Dequeue Traveler select2 on GD pages
    				wp_dequeue_script( 'select2_js' );
    			} else {
    				wp_dequeue_script( 'select2' ); // Dequeue GD select2 on non-GD pages
    			}
    		}
    
    		if ( wp_style_is( 'geodir-admin-css', 'enqueued' ) && wp_style_is( 'select2', 'enqueued' ) && wp_style_is( 'st-select2', 'enqueued' ) ) {
    			if ( $screen_id && in_array( $screen_id, geodir_get_screen_ids() ) ) {
    				wp_dequeue_style( 'st-select2' ); // Dequeue Traveler select2 on GD pages
    				wp_dequeue_style( 'select2_css' );
    			} else {
    				wp_dequeue_style( 'select2' ); // Dequeue GD select2 on non-GD pages
    			}
    		}
    	} else {
    		// Frontend
    		if ( wp_script_is( 'select2', 'enqueued' ) && wp_script_is( 'select2.js', 'enqueued' ) ) {
    			wp_dequeue_script( 'select2.js' );
    			wp_dequeue_script( 'select2_js' );
    		}
    
    		if ( wp_style_is( 'select2', 'enqueued' ) && wp_style_is( 'st-select2', 'enqueued' ) ) {
    			wp_dequeue_style( 'st-select2' );
    			wp_dequeue_style( 'select2_css' );
    		}
    	}
    }
    add_action( 'wp_enqueue_scripts', 'gd_snippet_190830_traveler_select2', 100 );
    add_action( 'admin_enqueue_scripts', 'gd_snippet_190830_traveler_select2', 100 );

    === In frontend traveler loads select2 javascript in combined with traveler.js so not possible to dequeue. So i have made core changes in /wp-content/themes/traveler/dist/traveler.js file to fix select2 conflict.

    Please check now after clearing your browser cache.

    Thanks,
    Kiran

    in reply to: Translate Version 2 #505678

    Kiran
    Moderator
    Post count: 7069

    Hi Kai,

    – Settings > E-Mails contains texts from all GD plugin which has email functionality. Those texts translated from relevant plugin.
    – I checked few .po file are incorrect and has old data and needs to updated.

    – The textdomain for Pricing Manager is geodir_pricing. I have renamed geodir_payments-de_DE.po & geodir_payments-de_DE.mo to geodir_pricing-en_US.po & geodir_pricing-en_US.mo.
    – Pricing Manager .po file was old version so it does not have new text included in GDv2. I have updated .po file now translate those string in file /languages/geodir_pricing-de_DE.po/
    – The textdomain for Claim Manager is geodir-claim. I have renamed geodirclaim-de_DE.po & geodirclaim-de_DE.mo to geodir-claim-en_US.po & geodir-claim-en_US.mo.
    – Claim Manager .po file was old version so it does not have new text included in GDv2. I have updated .po file now translate those string in file /languages/geodir-claim-de_DE.po/

    Please check here https://wpgeodirectory.com/docs-v2/translation/overview/#addon to find correct .po file names. Also update all .po file and trsnalate new strings.

    Let us know how it goes.

    Regards,
    Kiran

    in reply to: Broken Site #505666

    Kiran
    Moderator
    Post count: 7069

    Hi merileads,

    I have enabled marker cluster for map and now map is loading fine.

    I checked you have 100k+ place listings under gd_place CPT. It is good if listings divided in different CPTs like gd_attorneys, gd_real_estate_agents, gd_electricians etc. This will help to load markers on map more faster. You have many listings that points to almost same latitude/longitude so it is difficult to see particular listing on map and to open map popup.

    Let us know.

    Thanks,
    Kiran

    in reply to: Geodirectory uploading many versions of the same image? #505548

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: JupiterX issue #505537

    Kiran
    Moderator
    Post count: 7069

    Hi Aron,

    I tried on my test sites but not replicated similar issues. Can you tell us which address you tried to search in address field and which address you selected from autocomplete search(pscreenshot if possible).

    Kiran

    in reply to: Importing Events; Date *Always* Early by one Day #505536

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Map and autosave issues #505529

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Social Importer (tripadvisor) #505512

    Kiran
    Moderator
    Post count: 7069

    Hi nathalie,

    It looks like Trip Advisor has changed listing layout so it is grabbing the photos from entire page instead of visible in photos section.

    We have fixed this and also updated on your site. Please check and let us know.

    Best Regards,
    Kiran

    in reply to: Yoast Meta not working #505495

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    I have checked on your site and found that it does not have any impact of meta saved from backend single edit place page.

    I checked on my test site with same settings on my test site and it worked fine as expected.

    Provide us FTP credentials so we can look into more for any plugin/theme conflict on your site.

    Regards,
    Kiran

    in reply to: Events calendar behaviour #505489

    Kiran
    Moderator
    Post count: 7069

    Hi,

    1) It was showing non published events on calendar. We have fixed it and thanks for spotting. It will be in next release. Provide site link & FTP credentials if you want me to update patch on your site.

    2) Providing option past/future events on calendar does not make sense because events retrieved to show on calendar based on first day to last day of the month viewing on calendar. They are already filtered by dates of the current month viewing.
    We keep your suggestion and will provide more options like filter by category, filter by tags etc if more customers suggests.

    Regards,
    Kiran

    in reply to: Modify the listing list view on a custom post type #505155

    Kiran
    Moderator
    Post count: 7069

    Hi,

    Try following PHP snippet.

    
    
    function gd_snippet_20190827_output_radio_landlord_rating( $html, $location, $cf, $p = '', $output = '' ) {
    	global $gd_post;
    
    	if ( ! empty( $gd_post ) && ! empty( $gd_post->landlord_rating ) ) {
    		$stars = '';
    
    		if ( in_array( (int) $gd_post->landlord_rating, array( 1, 2, 3, 4, 5 ) ) ) {
    			$stars .= '<i class="fa fa-star gd-full-star"></i>';
    		} else {
    			$stars .= '<i class="fa fa-star-o gd-empty-star"></i>';
    		}
    
    		if ( in_array( (int) $gd_post->landlord_rating, array( 2, 3, 4, 5 ) ) ) {
    			$stars .= '<i class="fa fa-star gd-full-star"></i>';
    		} else {
    			$stars .= '<i class="fa fa-star-o gd-empty-star"></i>';
    		}
    
    		if ( in_array( (int) $gd_post->landlord_rating, array( 3, 4, 5 ) ) ) {
    			$stars .= '<i class="fa fa-star gd-full-star"></i>';
    		} else {
    			$stars .= '<i class="fa fa-star-o gd-empty-star"></i>';
    		}
    
    		if ( in_array( (int) $gd_post->landlord_rating, array( 4, 5 ) ) ) {
    			$stars .= '<i class="fa fa-star gd-full-star"></i>';
    		} else {
    			$stars .= '<i class="fa fa-star-o gd-empty-star"></i>';
    		}
    
    		if ( (int) $gd_post->landlord_rating == 5 ) {
    			$stars .= '<i class="fa fa-star gd-full-star"></i>';
    		} else {
    			$stars .= '<i class="fa fa-star-o gd-empty-star"></i>';
    		}
    
    		$field_icon = geodir_field_icon_proccess( $cf );
    		$output = geodir_field_output_process( $output );
    		if ( strpos ( $field_icon, 'http' ) !== false ) {
    			$field_icon_af = '';
    		} elseif ( $field_icon == '' ) {
    			$field_icon_af = '';
    		} else {
    			$field_icon_af = $field_icon;
    			$field_icon = '';
    		}
    
    		$html = '<div class="geodir_post_meta ' . $cf['css_class'] . ' geodir-field-' . $cf['htmlvar_name'] . '">';
    
    		if($output=='' || isset($output['icon'])) $html .= '<span class="geodir_post_meta_icon geodir-i-radio" style="' . $field_icon . '">' . $field_icon_af;
    		if($output=='' || isset($output['label']))$html .= (trim($cf['frontend_title'])) ? '<span class="geodir_post_meta_title" >'.__( $cf['frontend_title'], 'geodirectory' ) . ': '.'</span>' : '';
    		if($output=='' || isset($output['icon']))$html .= '</span>';
    		if($output=='' || isset($output['value']))$html .= $stars;
    
    		$html .= '</div>';
    	}
    
    	return $html;
    }
    add_filter( 'geodir_custom_field_output_radio_var_landlord_rating', 'gd_snippet_20190827_output_radio_landlord_rating', 11, 5 );
    

    Kiran

    in reply to: Add Listing Page – Link Posts Not Working #505151

    Kiran
    Moderator
    Post count: 7069

    Hi Chris,

    Please try after clearing your browser cache.

    Onje of JavaScript from listimia theme conflicts with rendering select2 for CPT linking field.

    In file /wp-content/themes/listimia/js/custom-javascript.js i have changed line

    jQuery('select:not(.geodir-select-tags,.geodir_taxonomy_field .geodir-select)').select2();

    to

    jQuery('select:not(.geodir-select-tags,.geodir_taxonomy_field .geodir-select, .geodir-select-search-post)').select2();

    Let us know.

    Kiran

    in reply to: Data are not stored correctly #505149

    Kiran
    Moderator
    Post count: 7069

    Hi Matthias,

    I checked old database and there are few listings with phone number saved in geodir_contact column. I have merged missing phone number in database for those listings in database db555370_13.

    Kiran

Viewing 15 posts - 1,546 through 1,560 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount