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-
AuthorPosts
-
June 24, 2015 at 9:33 pm #43548
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!
June 24, 2015 at 9:43 pm #43551This reply has been marked as private.June 24, 2015 at 10:05 pm #43553Your 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=godaddyJune 25, 2015 at 12:49 am #43564There really is no way of turning off their caching :/
Any solutions?
June 25, 2015 at 1:25 am #43568Okay 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?
June 25, 2015 at 2:46 am #43571The 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/#searchThe problem with the “near me” is most likely because of the caching.
June 25, 2015 at 2:57 am #43572I 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.
June 25, 2015 at 3:51 pm #43624Hi,
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
June 26, 2015 at 7:24 am #43689Okay, 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?
June 26, 2015 at 8:53 am #43700Your DNS has not propagated yet, I still get the Godaddy site.
June 26, 2015 at 2:33 pm #43732Okay, 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?
June 26, 2015 at 4:28 pm #43755Yes, normally that is what it takes.
Thanks
June 28, 2015 at 4:28 pm #43903Okay, perhaps now everything has propagated properly for this to be checked out?
June 28, 2015 at 9:31 pm #43930Still 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).
June 28, 2015 at 9:35 pm #43932Yep. 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket