transfering places to a new site

This topic contains 63 replies, has 4 voices, and was last updated by  Peter Munton 4 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #508651

    Alex Rollin
    Moderator
    Post count: 27815

    You must complete the setup of GeoDirectory.

    Please see our ‘getting started’ page here that will tell you how to add important widgets and edit templates to show all your custom fields.

    https://wpgeodirectory.com/docs-v2/geodirectory/getting-started/

    #508657

    Peter Munton
    Free User
    Post count: 52

    Thank You Alex

    #509080

    Peter Munton
    Free User
    Post count: 52
    This reply has been marked as private.
    #509141

    Alex Rollin
    Moderator
    Post count: 27815

    Make sure all of your listings have a complete address and category.

    If that does not fix the issue please share WP Admin credentials and login URL so we can check the settings.

    #509727

    Peter Munton
    Free User
    Post count: 52
    This reply has been marked as private.
    #509728

    Peter Munton
    Free User
    Post count: 52
    This reply has been marked as private.
    #509837

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #509903

    Peter Munton
    Free User
    Post count: 52
    This reply has been marked as private.
    #509935

    Kiran
    Moderator
    Post count: 7069

    Hi Peter,

    We have added new hook to force specific API to retrieve address & GPS. It will be in next release.

    Patch available at here: https://github.com/AyeCode/geodirectory/commit/89b9d7ea96686a5f389ee04b6cdfc25ea5210b33

    You can use following PHP snippet to force specific API for Geocode service during import listing & insert dummy data.

    
    
    /**
     * Filter Geocode API used to get GPS from post address.
     */
    function gd_snippet_post_gps_from_address_api( $api ) {geodir_error_log( $api, 'gd_snippet_post_gps_from_address_api', __FILE__, __LINE__ );
    	$api = 'google'; // google or osm
    
    	return $api;
    }
    add_filter( 'geodir_post_gps_from_address_api', 'gd_snippet_post_gps_from_address_api', 20, 1 );
    
    /**
     * Filter Geocode API used to get address from post GPS.
     */
    function gd_snippet_post_address_from_gps_api( $api ) {geodir_error_log( $api, 'gd_snippet_post_address_from_gps_api', __FILE__, __LINE__ );
    	$api = 'google'; // google or osm
    
    	return $api;
    }
    add_filter( 'geodir_post_address_from_gps_api', 'gd_snippet_post_address_from_gps_api', 20, 1 );

    See for more info https://github.com/AyeCode/geodirectory/issues/826#issuecomment-534458373

    Regards,
    Kiran

    #509952

    Peter Munton
    Free User
    Post count: 52

    Thanks for this I would feel more secure if I wait until the next release rather than using the above. Will the next release be out soon?

    #509953

    Peter Munton
    Free User
    Post count: 52
    This reply has been marked as private.
    #509955

    Alex Rollin
    Moderator
    Post count: 27815

    To change the API usage on the add listing page you can use this snippet, adjust as needed:

    
    
    
    /**
     * Load Google map on add listing page.
     */
    function gd_snippet_map_name( $map ) {
    	if ( geodir_is_page( 'add-listing' ) ) {
    		$map = 'google'; // google or osm
    	}
    
    	return $map;
    }
    add_filter( 'geodir_map_name', 'gd_snippet_map_name', 20, 1 );
    
    #509956

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #510001

    Peter Munton
    Free User
    Post count: 52

    Thank you for your help

    #510008

    Peter Munton
    Free User
    Post count: 52
    This reply has been marked as private.
Viewing 15 posts - 31 through 45 (of 64 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket