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-
AuthorPosts
-
October 4, 2016 at 2:31 pm #277308
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,
YCOctober 4, 2016 at 2:51 pm #277313Hi YC,
You can disable in under GD>Multilocations>Disable Google address autocomplete
Thanks,
Stiofan
October 5, 2016 at 1:29 am #277624Hi Stiofan,
Thanks.
Rgds,
YCOctober 14, 2016 at 9:10 am #283695Hi 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,
YCOctober 14, 2016 at 4:48 pm #284028I 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
October 15, 2016 at 9:03 am #284560No.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 ?October 15, 2016 at 9:10 am #284562Hi,
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,
YCOctober 15, 2016 at 7:26 pm #284933Unfortunately 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
October 16, 2016 at 2:59 am #285044Hi ,
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,
YCOctober 16, 2016 at 4:55 am #285052Hi,
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,
YCOctober 16, 2016 at 5:13 am #285054And 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 ?October 17, 2016 at 3:51 pm #285914#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
October 18, 2016 at 9:39 am #286455Hi 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
October 19, 2016 at 2:29 am #287341This reply has been marked as private.October 20, 2016 at 3:44 am #288055Hi 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 -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket