Trouble With Map and Popular Post View

This topic contains 25 replies, has 3 voices, and was last updated by  Guust 10 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #43548

    Corey Salyer
    Expired Member
    Post count: 22

    I kind of feel like I’m spinning my wheels here because I’ve tried everything to fix this but to no avail.

    Essentially I want my site, upon arrival, to geolocate people, show them on the map listings around them (with the default 40 mile radius), and for those same listings to appear below the map with the Popular Post View Widget.

    The issue is that this does indeed work sometimes (at least when the geolocate pop-up comes up) but the second you navigate away from the home page and then go back, the map is zoomed all the way out and shows every listing in the database. This is also the case if you’ve already accessed the site once, left the page, and then come back to it. It’s like it never geolocates you again.

    The other problem that I’m running into while troubleshooting is that I know you can tick off on the map widget to disable auto-zoom, but the issue I’m running into there is that whenever you turn off autozoom and change the zoom to appear closer, it zooms into some random location in tennessee/kentucky rather than around the blinking blue dot that is my current location.

    You guys have been a great help before, so I know we can try to figure this out together 😛

    Thank you in advance!

    #43551

    Corey Salyer
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #43553

    Guust
    Moderator
    Post count: 29970

    Your site does not geolocate for me on first load because you have disabled geolocate for first load. If you want geolocation “on arrival” you should not disable geolocation on “first load”.

    You are not using the location switcher (I added it) so you were probably stuck in TN somewhere without realising.

    You should not use GoDaddy’s caching, please turn that off. It is not compatible with GD.
    https://wpgeodirectory.com/support/search/?bbp_search=godaddy

    #43564

    Corey Salyer
    Expired Member
    Post count: 22

    There really is no way of turning off their caching :/

    Any solutions?

    #43568

    Corey Salyer
    Expired Member
    Post count: 22

    Okay so some of the issues were fixed.

    But, there are new problems now. So it seems that the site is successfully going to a city and at least geolocating there. The problem? I want it to pinpoint the user’s exact location and then give them a list of options NEAR them. Not a list of options in their exact city. Living in a big city like Orlando, people may want the option of visiting places that are in the Orlando area but not necessarily the downtown area (where it seams to be automatically geolocating)

    This now also seems to be causing an issue with the mile radius now too. No matter how wide I set it, it still seems to only pinpoint the exact city rather than giving me options of “near me”

    ALSO, when I do click the “Near Me” button I get a prompt saying “Browser unable to find your location”

    So perhaps maybe this is contributing to the issue?

    #43571

    Guust
    Moderator
    Post count: 29970

    The best solution is to ask GoDaddy to move you to normal hosting, instead of their WordPress hosting. That seems to be the only solution at GoDaddy; their WP hosting is OK for static blog sites, but not for more complex sites using GD.
    The switcher gives all listings IN a location.
    The search function gives all listings within the set area NEAR or AROUND the location entered into the Near field.
    https://wpgeodirectory.com/docs/core-design/#search

    The problem with the “near me” is most likely because of the caching.

    #43572

    Corey Salyer
    Expired Member
    Post count: 22

    I guess that makes sense…

    So is there any possible way to make it so that when someone arrives at the site, it defaults to showing what’s NEAR them within the 50 mile radius?

    It used to default to automatically selecting “Near:Me” and would show the listings of those places underneath…it’s just that the zoom was funky. But now that the switcher is there it doesn’t do that anymore.

    Surely there’s a way to make this happen.

    #43624

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    if you move out of that hosting plan that is not compatible with GeoDirectory because of its aggresive caching method, it will work as expected, however GeoLocation can only work after the user shared his location. It can’t work automatically without the user giving permission.

    Thanks

    #43689

    Corey Salyer
    Expired Member
    Post count: 22

    Okay, so I’ve switched everything over to MDDHosting and all seems to be working now as far as this problem goes.

    Just facing some silly new problems now, but I’m sure it’s something I’m just overlooking.

    The listings within the Popular Place View widget aren’t being sorted based on rating despite me having that option selected. Instead they’re being listed by how close they are to the ‘near me’ point.

    Also for some reason now, when you do a search, you get a 404 and I can’t seem to figure out why. Anyone want to give the site a look and see if I’m overlooking something?

    #43700

    Guust
    Moderator
    Post count: 29970

    Your DNS has not propagated yet, I still get the Godaddy site.

    #43732

    Corey Salyer
    Expired Member
    Post count: 22

    Okay, I guess it’s now a matter of just waiting for the DNS to propagate everywhere? How long does that take? About 48 hours or so?

    #43755

    Paolo
    Site Admin
    Post count: 31211

    Yes, normally that is what it takes.

    Thanks

    #43903

    Corey Salyer
    Expired Member
    Post count: 22

    Okay, perhaps now everything has propagated properly for this to be checked out?

    #43930

    Guust
    Moderator
    Post count: 29970

    Still getting the GoDaddy site. Have you changed all the DNS settings at the registrar to point to the new host? This looks like a very long time. Usually this completes in less than 24 hours (but can take 48).

    #43932

    Corey Salyer
    Expired Member
    Post count: 22

    Yep. Sure did! I know this is gonna sound super rookie…have you tried clearing your history? I had to clear it on my end for some reason in order for the changes to show up.

Viewing 15 posts - 1 through 15 (of 26 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