This topic has 5 replies, 2 voices, and was last updated 9 years by Laura.

  • Author

    Tagged: ,

  • #42885
     godrob
    Participant

    Hi Support,

    I’m a little unsure what this feature should do, can somebody please explain in detail?

    I’ve created an account at geonames.org and inputted my username into Sweet Date. I’ve created a text profile field called ‘City’ as instructed and in the ‘Country Code’ setting have inputted GB for Great Britain as my site is only for the UK (we don’t use a Country field.)

    Maybe I’m misunderstanding what this feature does, but I was hoping that the ‘City’ field would now automatically populate the users city when they registered. Anyway, nothing seems to happen, the field is always blank. Am I missing something here?

    Thanks
    Rob

    #42917
     Laura
    Moderator

    Hello, the city works with country, it shows city of the selected country so user can select it much easier, so it help others find people of the same city.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #42937
     godrob
    Participant

    Thanks, Laura, but I still can’t get this to work.

    1) In the instructions on Sweet Date is say to:

    Geonames username
    This field is required for the service to work. Get one from geonames.org and enable the free service from your account

    Now, I have created an account with Geonames and have a username, but where do you enable the free service from your account? I can’t see that anywhere?

    2) I have a City text field created and now a Country Drop Down Box. In the Country Drop Down Box I select the Country United Kingdom.

    The City field remains blank?

    #43081
     Laura
    Moderator

    Hello, the city should be selected in Sweetdate > Buddypress
    Geonames and Buddypress config are in attachments. Once you have the username set, it should work, in the city, type something like “Lo” and wait to see what it gets, like London.

    Geonames: http://www.geonames.org/manageaccount
    Login and then click on enable free services.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    Attachments:
    You must be logged in to view attached files.
    #43092
     godrob
    Participant

    Thank you, Laura that’s fixed it! I didn’t have the service enabled at Geonames end. Duh!

    Just one more thing. What I’d like to achieve is for the user to HAVE to select a city name from the list, rather than have the option to type what ever they like. Is it possible to force the user to select from the list of cities that are generated?

    Thanks again
    Rob.

    #43124
     Laura
    Moderator

    Hello, actually i do not know if thats possible, but, if they type, for example london, instead of London from the autocomplete, it will still work.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?