WordPress.org

Ready to get started?Download WordPress

Forums

Simple Real Estate Pack
[resolved] Just Updated and Schools No Long Display (15 posts)

  1. Paul Arvay
    Member
    Posted 2 years ago #

    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."

    http://wordpress.org/extend/plugins/simple-real-estate-pack-4/

  2. knownassociate
    Member
    Posted 2 years ago #

    Sorry Wrong place
    After upgrade.
    Contact form added to bottom of each listing
    Anytime listed is clicked on blank email is sent

  3. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @Paul - did you have any school data before the update? Did those pages just stopped display the data that was showing before the update?

  4. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. Bob Mitchell
    Member
    Posted 2 years ago #

    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!

    [/srp_profile]

    [yelp lat="42.241105" lng="-70.80285800000001" radius="3" sortby="distance" term=""]

    The lat and lon are correct.

  6. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @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.

  7. Paul Arvay
    Member
    Posted 2 years ago #

    @maxchirkov, I have installed version 1.2.2 and schools are working fine now. Thank you very much!

  8. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    Awesome! Glad it worked out :)

  9. Bob Mitchell
    Member
    Posted 2 years ago #

    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.

    Thanks,

    Bob

  10. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @Bob - I see the issue. Thanks for digging into it :) Try this, comment out /includes/srp-yelp.php line 98. It should be this:

    return $content_output;

    simply put # in front of it. See if that helps. I ran your shortcode that you provided earlier and it worked.

  11. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @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.

  12. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @Bob, download the development version 1.2.3 here. I have restructured the logic and it should work correctly now. Let me know how it goes so I can make a release. Thanks!

  13. tshevock
    Member
    Posted 2 years ago #

    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.

    Any thoughts?

  14. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    @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.

  15. tshevock
    Member
    Posted 2 years ago #

    Sorry, new to this forum.

    Thanks for your quick response, reducing the mileage did fix the problem.

    Thanks for a great plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic