This topic has 44 replies, 13 voices, and was last updated 7 years by Laura.

  • Author
  • #17738
     Nick34000
    Participant

    Hi!

    Thanks for this wonderful theme! Okay I’m maybe stupid but I can’t setup the GeoNames autocomplete? How to do for France ? I have to create a account on GeoNames but after that I’m totally lost…

    #18076
     Abe
    Keymaster

    Hi, you should put your geonames username in Sweetdate – Buddypress – Geonames username.
    Select your City field in “City field”
    Then if you have a country field just select that in “Country field”. If you don’t have a field for the Country for users to select in their profiles then ignore that setting and put your country code in “Country Code” as in http://www.geonames.org/countries/ That will probably be FR

    That should be it

    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.

    #18180
     Nick34000
    Participant

    Hi, I have done every thing you say but still not working ! It bothers me because it is really imprtant!

    #18429
     Abe
    Keymaster

    Give me a link to your site and temp credentials to take a quick look on your settings

    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.

    #18450
     Nick34000
    Participant
    This reply has been set as private.
    #18709
     Abe
    Keymaster

    Inspecting your site, I found you have some JavaScript errors. Try disabling some plugins and see which is causing this

    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.

    #18967
     Nick34000
    Participant

    I have disabling all my plugins I have add and it’s still not working ! ?

    #19251
     Abe
    Keymaster

    Strange. I did a test with our geonames username and it worked. Make sure your username for geonames is valid

    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.

    #19619
     Nick34000
    Participant

    Yes my geonames username is working !

    #19669
     Tiger007xy
    Participant

    I have the same issue.

    #19695
     justinlooney
    Participant

    i have the same issue as well.

    #20021
     Catalin
    Moderator

    Hi there,
    so if I have only the city field displayed then this is how the settings should look http://cl.ly/image/3m0a0F0G3K0a

    If you have also the country displayed and want the autocomplete to happen by the country users select then you must also set the Country field in the options. make sure to set your geonames username

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

    Also enable webservices in you account http://www.geonames.org/export/web-services.html

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

    Hello Catalin,
    I am also having the same issue as above. I have the username entered and City field linked, as well as the country field.

    One other part i didn’t understand is how to enable webservices in my geonames account

    Any help would be greatly appreciated.
    Thank you.

    #22545
     Abe
    Keymaster

    Hi, See the attached screen http://cl.ly/WaRF

    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.

    #22682
     edecastro05
    Participant

    Abe,
    Thanks. A few other questions:

    A) Is there any setting that will let the options appear after typing the first letter? They appear once about 3 letters have been typed
    B) Is there any option that displays which state the city is associated to? Miami, FL versus Miami, OH

    Thanks again

    #23007
     Abe
    Keymaster

    Hi, you can change that in our script, see line 82 in wp-content/themes/sweetdate/custom_buddypress/kleo-bp-city-auto.php

    B. that is not possible

    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.

    #24295
     Nicole
    Participant

    Hello @Abe
    There is anyway to have the autocomplete fields in different language? My site is an italian site, so this autocomplete is in english and it doesn’t have much sense 😛
    It is possible? Thanks!

    #24628
     Abe
    Keymaster

    Hi, the names of the cities come from geonames.org so you should look on their website if they have some kind of localization options where you can set a language parameter to the request.
    the file responsible for the autocomplete is: wp-content/themes/sweetdate/custom_buddypress/kleo-bp-city-auto.php

    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.

    #24634
     Nicole
    Participant

    Thanks! 🙂

    #34792
     wisinyyandel7
    Participant

    Hi @Abe, @Laura, @Catalin
    I have been reading all the comments and I tried to do everything that you recommend us, but it doesn’t work for me. I have an account in geonames, i have my username and I already enable for webservice.
    I did everything from sweetdate>Buddypress but it still the same.
    What should I do?

    Thanks for your support

    #34990
     Abe
    Keymaster

    put a printscreen with the settings and with your front form

    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.

    #35164
     wisinyyandel7
    Participant

    I have tested it with and without “AU” same in the country field.
    http://d.pr/i/1kDqU/5gzm4SbW

    http://d.pr/i/1kzNF/5t5AvPef

    In this last one, it’s in the profile fields, just in case if you need it.
    http://d.pr/i/15BUv/1gwWhgrP

    Thanks @ABe @Laura

    #35211
     Abe
    Keymaster

    try to unset the Country select from Sweetdate – Buddypress

    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.

    #35409
     wisinyyandel7
    Participant

    It didn’t work my friend?
    What should we do?
    Thanks

    #35448
     Abe
    Keymaster

    give me a link to see your site

    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.

    #35540
     wisinyyandel7
    Participant
    This reply has been set as private.
    #35771
     Abe
    Keymaster

    Hi, try to replace line 49 from wp-content/themes/sweetdate/custom_buddypress/kleo-bp-city-auto.php with

    COPY CODE
    
    
    url: "http://api.geonames.org/searchJSON",
    
    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.

    #36861
     sermsak
    Participant

    Hello. Abe , I already done every step above. But it not working.
    My question is – i must to install and process by follow the document in http://www.geonames.org/ FIRST ? Not only done in Sweetdate > Buddypress by ,

    1.Fill in – Geonames username
    2.Fill in – City field
    3.Fill in – Country field

    An then it can work. Right ?

    Thank you

    #36912
     Tycho62
    Participant

    Also have done ( and corrected some problems) all of the steps above.
    Still no result – what am I doing wrong…

    #36996
     Tycho62
    Participant

    …and after 24 hours a miracle happened. It works ! Joy !

    Still one question, it works when creating/editing a profile. But it doesn’t work in the widget, when searching. Is that right ? That it does not work in a widget ? Only in the profile fields ?

    #37011
     wisinyyandel7
    Participant

    Hi @Sermsak, @Tycho62
    Thanks for sharing your updates about it.
    I did the same like you, my question is: in the search box in the homepage do you have Country field? or city field? or both of them?

    What do you mean for creating-editing a profile? you mean when people are going to register in your website?

    It’s ok if you can take some screenshots about what you did? also your settings as well?

    Thanks for your help

    #37024
     Tycho62
    Participant

    On the screenshot you can see what I mean, I use only the city field.

    Will post settings screenshot later ( tomorrow) , I have to leave now.

    My website is still under development – so don’t let the colours scare you 🙂

    Attachments:
    You must be logged in to view attached files.
    #37026
     wisinyyandel7
    Participant

    Thanks for that..I understand that.
    mine looks like this: http://d.pr/i/IJZp/5bjeHFKI

    #37071
     sermsak
    Participant

    Hello.Tycho62 & wisinyyandel7

    Autocomplete for ” Country ” it’s autocomplete for long time ago , it’s to build by sweetdate theme or by us.
    But we’re talking about autocomplete for ” City ” after we choose country. This thing will done by geonames system. Right ?
    And then , this issue not FIX ?
    We should to wait some help from Mr.ABE

    #37087
     wisinyyandel7
    Participant

    I understand. Ok let’s wait and see what is going to happen.

    #37094
     Tycho62
    Participant

    ..and after 48 hours – suddenly, everything works here. Did not change anything, just made the fields the system needs and regustered ( and activated !) the geonames account

    #37099
     sermsak
    Participant

    Hello.Tycho62

    I already have a question above.

    My question is – i must to install and process by follow the document in http://www.geonames.org/ FIRST ? Not only done in Sweetdate > Buddypress by ,

    1.Fill in – Geonames username
    2.Fill in – City field
    3.Fill in – Country field

    An then it can work. Right
    Cause , now my site it’s not work

    #37109
     Tycho62
    Participant

    Hello Sermsak,
    Yes – you need an account at Geonames.
    Then go to http://www.geonames.org/manageaccount and make shure that the Free websservice is activated.
    I enclosed an inmage.

    And then – your points 1,2,3, – and at my webste it works. But after about 48 hours. Why? I do not know.

    Attachments:
    You must be logged in to view attached files.
    #37167
     wisinyyandel7
    Participant

    Hi guys!..I have done every single step that you did and it doesn’t work for me.

    the account myusername has been enabled for the free webservices on 2014-11-09 10:15:14

Viewing 40 posts - 1 through 40 (of 45 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?