-
Author
-
March 16, 2014 at 16:01 #12799osadosadParticipant
Hello,
Could you kindly help with the function of country – city autocomplete please please?
(We have the fresh version of 2.4)
I have just started with WP not so long ago and I am sorry in advance for the non-smart question.
The aim is to have in the Country field the list of all countries and in the City field the list of all cities in accordance to the Countries list.
1) I have created in users – profile fields Country and City fields. What type of fiels to choose
text ? drop down select box (does not allow to leave it’s empty, should I put manually all countries names)?2) what to do with the Country Code (sweetdate – BP) if we need the list of cities for all countries?
Thank you in advance!
March 18, 2014 at 01:31 #12920AbeKeymasterHi,
You should import buddypress fields from Sweetdate – Buddypress since that will create a Country dropdown field with all countries populated and the City field as text field.
If you have a Country field set that and just ignore Country CodeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.March 20, 2014 at 02:09 #13024osadosadParticipantThank you a lot for reply.
One more stupid question, if it happened that I have deleted all pre-set values in Country field then how it is possible to restore it?Thank you in advance!
March 21, 2014 at 00:38 #13119osadosadParticipantI have looked thru forum and if I am correct the country field was pre-set in the theme initially and if one deletes it, then it just simply needs to be created again.
I have created the field bck with the single value “Russia” and then made steps that you have mentioned up,“You should import buddypress fields from Sweetdate – Buddypress since that will create a Country dropdown field with all countries populated and the City field as text field.
If you have a Country field set that and just ignore Country Code”however nothing seems to work.
I am wondering what can be the reason for it?
I think the problem lies in the bb-press side with profile fields,but I really can’t get it…
The country field is drop-down with 1 value – Russia
The city field is empty with type text.I am sorry for asking too many stupid questions, I think the problem also can be in geonames account. It is mentioned in sweetdate-budypress “Geonames username ….. Get one from geonames.org and enable the free service from your account”. How to enable the free service from your account?
Thank you in advance!
NadyaMarch 21, 2014 at 01:14 #13124osadosadParticipantSorry, the free webservices are enabled but the problem remains(
March 21, 2014 at 23:48 #13172AbeKeymasterMake sure you have selected to Country and City fields under Sweetdate – Buddypress so the system will know where to populate the values. Give us a link to your site if it still not working
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.