This topic has 5 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #12799
     osadosad
    Participant

    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!

    #12920
     Abe
    Keymaster

    Hi,
    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

    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.

    #13024
     osadosad
    Participant

    Thank 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!

    #13119
     osadosad
    Participant

    I 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!
    Nadya

    #13124
     osadosad
    Participant

    Sorry, the free webservices are enabled but the problem remains(

    #13172
     Abe
    Keymaster

    Make 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.

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?