ERROR in geolocation

This topic contains 7 replies, has 3 voices, and was last updated by  Stiofan O’Connor 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #320098

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi,
    I have done the following test:
    1. Go to http://www.infocity.website/location/me (and give permission for geolocate me)
    2. In NEAR field, automatically is showed “Near: Me”
    3. In GD>Serch the default CPT selected is “LUGARES DE INTERES”. I let this CPT selected. I have not done change in the selection.
    4. I select in GD>Serch the options I want in order to filter for example categories and distance.
    5. I do click in search button.
    6. I will be redirect to the following page:
    https://infocity.website/?geodir_search=1&stype=gd_place&s=+&snear=Near%3A+Me&sgd_placecategory%5B%5D=18&sdist=20&sgeo_lat=41.9709752&sgeo_lon=2.821803
    And I continue to beeing geolocated
    It is very good.
    But geolocation is lost if I change the CPT in the dropdown windows. I explain following:
    1. Go to http://www.infocity.website/location/me (and give permission for geolocate me)
    2. In NEAR field, automatically is showed “Near: Me”
    3. In GD>Serch the default CPT selected is “LUGARES DE INTERES”. But now I change the selection, and I select for example “RESTAURANTES Y BARES”
    4. In NEAR field, automatically DISAPPEAR “Near: Me”
    5. If I do a search, (filtering for example categories and distance) I will be redirect to the following page:
    https://infocity.website/?geodir_search=1&stype=gd_restaurantandbar&s=+&snear=&sdist=10&sgeo_lat=&sgeo_lon=

    You can see that I have lost the GEOLOCATION.

    I hope it is an error, because I think it is very important change the CPT in dropdown window into the GD>Search without lost the geolocation.
    But At this time, geolocation is losted after to change the selection of the CPT into the GD>Search.

    Let me know if it is an error or if it is not possible run geolocation after to do changes in CPT dropdown windows.

    I hope your answer.
    Thanks for your support.

    #320174

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please fix you website. It should only be under http or https. In this case it should only work under https.

    Thanks

    #320190

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi @paolo
    thanks for your reply.
    I have seen that there are something no correct in my web about http and https.
    Do you know some link for to learn to fix my web?
    Can you sent me it if you know it?
    Thanks for your support.

    #320191

    Paolo
    Site Admin
    Post count: 31206
    #320213

    giuseppe cuttone
    Buyer
    Post count: 242

    Ok,
    I will have a look to
    https://wordpress.org/plugins/better-search-replace/
    Thank you very very very much for your support.

    #321137

    giuseppe cuttone
    Buyer
    Post count: 242

    Hi @paolo
    I have fixed the http error in my web using https://wordpress.org/plugins/better-search-replace/
    Now you can see that in the URL bar is showed the green padlock. So https is OK.
    But I continue with the same problem. The geolocation is lost when I change CPT into GD>Serch widget.
    Concretely, when I change CPT the text “Near: Me” into “NEAR FIELD” will disappear.
    You can also see the difference in the two link:
    1. If I do not change default CPT, I can find into the link where I will be redirected the text “+&snear=Near%3A+Me” and also my coordinates “&sgeo_lat=41.9709752&sgeo_lon=2.821803”
    2. And when I change the default CPT to other CPT, in the link where I will be redirected I can find only “+&snear” and there is no coordinates &sgeo_lat=&sgeo_lon=

    For understand what I say, please return to read my first post where I have done an example. But if you repeat my example in my web you will find NO LISTINGS… you must to do test in your web.
    I also have done a test in https://wpgeo.directory
    I have given permission for geolocation
    I have gone to the following page: https://wpgeo.directory/location/me/
    And in the NEAR FIELD is automatically showed “Near: User defined”
    But when I change CPT into GD>SEARCH from default CPT (HOTELS) to other CPT (for example RESTAURANT), into the NEAR FIELD the text “Near: User defined” disappear.

    I hope your answer.

    #321491

    Paolo
    Site Admin
    Post count: 31206

    Ok I see what you are saying, I asked to Stiofan to fix this glitch.

    Thanks

    #322073

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi giuseppe,

    Thanks for explaining the problem so well, i have fixed this and the fix will be in the next release.

    Thanks,

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount