This topic has 15 replies, 7 voices, and was last updated 10 years by Abe.

  • Author
  • #10012
     amboss
    Participant

    I have just purchased the theme, first of all thanks for your efforts.

    I have seen that country-city autocomplete function does not work. I have just digged a little bit and I assume you already know that ws.geonames.org is deprecated. I have update “kleo-bp-city-auto.php” as follows:

    – ws.geonames.org to api.geonames.org.
    – registered and added my username to json in the file.

    It is now working, are you planning to merge this update or upgrade this functionality?

    Sorry if crossposting, I have searched but couldnt find a similar issue.

    #10164
     Abe
    Keymaster

    Hello, We are going to fix this and release it in our next update. Thank you very much.

    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.

    #10327
     Ambrose25
    Participant

    Keep me posted

    #11220
     Abe
    Keymaster

    Updated in v 2.4.

    Cheers

    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.

    #11319
     jaybini
    Participant

    how come its still not working ?? how to make it work ??

    #11327
     NetBL
    Participant

    l have same question that (jaybini)

    #11343
     Abe
    Keymaster

    This has been updated in v2.4 to use the new geonames API. See the settings in 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.

    #11345
     Ambrose25
    Participant

    Thanks

    #11357
     itsjoebro
    Participant

    can i have a file path to: kleo-bp-city-auto.php thanks

    #11358
     itsjoebro
    Participant

    nevermind

    #12083
     itsjoebro
    Participant

    City auto complete not working from
    – wp-admin > sweetdate > buddypress

    I read all the posts regarding this issue,

    I’ve created a geo username = postipedia
    City set to = text box
    City field = City
    Country field = Country
    Country Code = empty

    Any special instructions for = kleo-bp-city-auto.php

    or tips?

    Thanks
    Joe

    #12383
     Abe
    Keymaster

    Those settings should be enough. You are not required to do any changes in any file to work as in the demo.
    Maybe you have a Javascript error and the script is not executing

    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.

    #16742

    Hi Abe,

    I have configured it in a similar way as mentioned above, but it isn’t working for me.

    I did a quick check why Safari (Mac, version 7.0.3) is refusing to autocomplete. In the error log I see that your trying to communicate with https://api.geonames.org/…., the certificate of the webserver is however issued to *.geonames.net, therefor Safari is refusing to communicate with the geonomes server.

    Is there an easy way to fix this?

    Kind regards,

    Florin

    #16743

    Hi Abe,

    Small addition:

    My buddypress is running on https and it looks like your script wants to use the same for the communication to genomes.

    I figured out that the script should use http instead of https.

    In kleo-bp-city-auto.php I have fixed this problem by adding http: at the beginning of the url string (on line 49).

    Perhaps a good idea to include this small fix in the next update.

    Kind regards,

    Florin

    #17074

    Hello again,

    I discovered that some browsers like to block mixed content, in other words, when the website is running on https, it doesn’t like it when there is a request to http, which means that my solution won’t work flawless in all cases.

    I think it would be best if there is a little proxy php page created inside the theme, the browser sends the geonames request to this proxy page, which forwards the request to geonames over http, the result can be returned by the proxy page to the browser.

    #17248
     Abe
    Keymaster

    Hi @florinvanslingerland, thanks for your solution. We will think of a solution for the https problem. I am glad you figured it out

    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 16 posts - 1 through 16 (of 16 total)

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

Log in with your credentials

Forgot your details?