[Resolved] [Plugin: Simple Real Estate Pack] Just Updated and Schools No Long Display
After I performed the latest update today, no matter what I enter into the radius for schools, all I get is a message displaying that “There are no schools within X miles radius of this location.”
Sorry Wrong place
Contact form added to bottom of each listing
Anytime listed is clicked on blank email is sent
@paul – did you have any school data before the update? Did those pages just stopped display the data that was showing before the update?
Ok. I can confirm the bug with the schools. It appears that distance parameter only works if Latitude and Longitude are set explicitly. When we enter a zipcode or a city there are no coordinates, so the distance parameter fails the query. I’m working on a fix that will detect if lat/lng is set, otherwise it will ignore the distance. Will release the 1.2.2 version later today.
I’ve had a similar problem with Nearby Businesses on the map. Used to work fine. Here’s my code; I added the additional Yelp business search to verify and get “There are no businesses within 3 miles radius from this property.”
[srp_profile lat=”42.241105″ lng=”-70.80285800000001″ address=”1 south main” city=”cohasset” state=”MA” zip_code=”02025″]
Our Cohasset Office
Stop by and say hi!
[yelp lat=”42.241105″ lng=”-70.80285800000001″ radius=”3″ sortby=”distance” term=””]
The lat and lon are correct.
@bob – the issue with schools is irrelevant to what you’re experiencing with Yelp API. It doesn’t seem to be a coding problem, because when I increased radius to 12 miles – the listings appeared. The plugin doesn’t generate the listings – it simply sends a request to the Yelp server and then renders the response that it gets from Yelp. I also tried the same shortcode for my office address with 3 mile radius and it worked. So, it seems to be a problem with the Yelp and not the plugin in this particular case. Unless you can roll back to the old version and show me that the same code works there.
@maxchirkov, I have installed version 1.2.2 and schools are working fine now. Thank you very much!
Awesome! Glad it worked out 🙂
There is an issue with the logic used to create the “No Businesses” found message. If the first tab – Grocery Stores – is empty due to no Grocery Stores within the stipulated miles, the No Businesses message will display even if there are data in the other tabs.
The workaround is to play with the towns and business distance in the Neighborhood setup. I had to go to 20 miles. Once that is set and Grocery Stores are found, all the business tabs appear with whatever data is present.
This is not a good fix as it produces too many results in a number of instances. How about modifying the logic to look at each tab in the business results to determine is any are non blank? If so, display the results.
@bob – I see the issue. Thanks for digging into it 🙂 Try this, comment out /includes/srp-yelp.php line 98. It should be this:
simply put # in front of it. See if that helps. I ran your shortcode that you provided earlier and it worked.
@bob – I’m taking that back. That didn’t work – I got misled by other tabs in the neighborhood profile shortcode. I’ll work on it.
I am having an issue with the Google Maps view when added to a page. The map displays then shortly after the schools table overlays the page. Here is an example. http://christineshevock.com/wordpress/?page_id=113. I have tested this in Chrome, IE9 and Firefox all with the same result.
@tshevock – just FYI: Please create new topics for new issues or questions in the future. Don’t continue under irrelevant topics.
As for your problem: the content in the tabs is being hidden by moving the content -10,000 pixels at the top. You requested schools within 25 miles and got over 500 schools (do you really need show that many schools?) – I would recommend to set the radius to 3 or 5 miles, then everything will display correctly.
- The topic ‘[Resolved] [Plugin: Simple Real Estate Pack] Just Updated and Schools No Long Display’ is closed to new replies.