-
Author
-
January 21, 2014 at 17:42 #10012ambossParticipant
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.
January 24, 2014 at 12:12 #10164AbeKeymasterHello, 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.February 20, 2014 at 20:26 #11220AbeKeymasterUpdated 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.February 23, 2014 at 10:37 #11319jaybiniParticipanthow come its still not working ?? how to make it work ??
February 24, 2014 at 10:15 #11343AbeKeymasterThis 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.February 24, 2014 at 23:20 #11357itsjoebroParticipantcan i have a file path to: kleo-bp-city-auto.php thanks
March 6, 2014 at 06:57 #12083itsjoebroParticipantCity auto complete not working from
– wp-admin > sweetdate > buddypressI 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 = emptyAny special instructions for = kleo-bp-city-auto.php
or tips?
Thanks
JoeMarch 10, 2014 at 15:47 #12383AbeKeymasterThose 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 executingHi 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.May 3, 2014 at 12:20 #16742florinvanslingerlandParticipantHi 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
May 3, 2014 at 12:33 #16743florinvanslingerlandParticipantHi 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
May 7, 2014 at 12:32 #17074florinvanslingerlandParticipantHello 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.
May 9, 2014 at 00:42 #17248AbeKeymasterHi @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. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.