disable auto fill for address in Add listing

This topic contains 17 replies, has 3 voices, and was last updated by  Stiofan O’Connor 8 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #277308

    Ding Hua
    Expired Member
    Post count: 152

    Hi,

    I only allow one country mm in add listing form using below css which I read from another thread of this form.
    <script>
    jQuery(function() {
    if(typeof autocomplete != “undefined”){
    autocomplete.setComponentRestrictions({‘country’: ‘mm’});
    }
    });
    </script>

    But address auto fill chooses Burma( not Myanmar – mm ) at default and conflict with my country restriction mm , and the form keep prompting only allow mm and the from hang at the end.
    I can not allow Burma because there will be two country Myanmar and Burma. it doesn’t make sense.
    Thus, I want to turn off address auto fill and just key in manually all the address.

    How can I do it ?

    Rgds,
    YC

    #277313

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi YC,

    You can disable in under GD>Multilocations>Disable Google address autocomplete

    Thanks,

    Stiofan

    #277624

    Ding Hua
    Expired Member
    Post count: 152

    Hi Stiofan,

    Thanks.

    Rgds,
    YC

    #283695

    Ding Hua
    Expired Member
    Post count: 152

    Hi Stiofan,

    a)Auto fill address is disable now after following your insturction.
    b)I can fix the country to mm only using this . I got this from another thread.

    <script>
    jQuery(function() {
    if(typeof autocomplete != “undefined”){
    autocomplete.setComponentRestrictions({‘country’: ‘mm’});
    }
    });
    </script>

    c) Now I have problem when using map , when I use map to point location on Map , It prompt unable to locate as google map reply address with Burma but I fix on (b) only mm. So I am not able to get cooridnate from the map.
    How to make the map return the country name Myanmar ( not Burma ) when getting coordinate on the map ?

    You can try here to simulate it .

    http://www.myanmarhotels.tips/add-listing

    Basically map needs to reply Myanmar instead of default Burma, How can I do that ?

    Thanks,
    YC

    #284028

    Paolo
    Site Admin
    Post count: 31211

    I would add Bruma as a country too and allow it on your directory, that way you can select it and the script should change it correctly.

    Let us know if this is an option.

    Thanks

    #284560

    Ding Hua
    Expired Member
    Post count: 152

    No.It will be come two country names (Burma and Myanmar) and it doe not make sense.
    It is old name.Nobody search with Burma nowadays. So not good for SEO.
    Thus only needs Myanmar for both country and map.
    I can solve country name, but how to make the map work for this ?

    #284562

    Ding Hua
    Expired Member
    Post count: 152

    Hi,

    Refer attached file , it keep showing child windows , when I click ok , the same child windows displayed again and can’t do other things any more.

    Rgds,
    YC

    #284933

    Paolo
    Site Admin
    Post count: 31211

    Unfortunately we rely on Google Maps for that and they return Burma, not Myanmar.

    What I was trying to offer you is a workaround, because unfortunately we can’t tell Google to change the way their system work…

    Thanks

    #285044

    Ding Hua
    Expired Member
    Post count: 152

    Hi ,
    Can we have the option not to check the country name that google return (Burma) and the name we configured in country location ( mm) ?

    Just need the latitude and longitude coordinate from the map location picker .

    Rgds,
    YC

    #285052

    Ding Hua
    Expired Member
    Post count: 152

    Hi,

    Refer below , according to google , it has only Myanmar.

    https://developers.google.com/maps/coverage

    In this case , why Add listing page always complain , refer attached picture, the whole page is stuck and can’t do anything.

    Rgds,
    YC

    #285054

    Ding Hua
    Expired Member
    Post count: 152

    And refer attached file , why Geodirectory still keep Burma in “GEO DIRECTORY LOCATION COUNTRY SETTING” even google only keep Myanmar.

    It should not be there. I think Geodirectory is conflicting itself because of it.

    Goggle only keep one country Myanmar.
    Geodirectory is keeping Myanmar and Burma as separate country. I think that is a problem causing “Add listing page” hang when selection in the Map.
    Can follow google with one country ?

    #285914

    Paolo
    Site Admin
    Post count: 31211

    #ding I’m flagging this for the developers, they will let you know asap.

    @stiofan, Google Maps return all addresses as Myanmar (Burma).

    Can we make it use only Myanmar and remove Burma from the equation completely?

    Thanks

    #286455

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi YC,

    The countries table is installed at setup so i would need database access to change it. can you provide wp-admin, FTP and database access and i will change it on your site.

    Thanks,

    Stiofan

    #287341

    Ding Hua
    Expired Member
    Post count: 152
    This reply has been marked as private.
    #288055

    Ding Hua
    Expired Member
    Post count: 152

    Hi Stiofan,

    I am using AWS.
    As communicated you earlier, it is troublesome to setup from your end to get access.
    Pls give me procedure/instructions how to do it. I should be able to do it my self.

    Rgds,
    YC

Viewing 15 posts - 1 through 15 (of 18 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount