WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple Real Estate Pack] Just Updated and Schools No Long Display

[Resolved] [Plugin: Simple Real Estate Pack] Just Updated and Schools No Long Display

Viewing 14 replies - 1 through 14 (of 14 total)
  • knownassociate
    Member

    @knownassociate

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

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

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

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

    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.

    Bob Mitchell
    Member

    @bob-mitchell

    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.

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

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

    Paul Arvay
    Member

    @paul-arvay

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

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

    Awesome! Glad it worked out 🙂

    Bob Mitchell
    Member

    @bob-mitchell

    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

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

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

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

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

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

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

    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?

    Plugin Author Max Chirkov
    Participant

    @maxchirkov

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

    Sorry, new to this forum.

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

    Thanks for a great plugin.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] [Plugin: Simple Real Estate Pack] Just Updated and Schools No Long Display’ is closed to new replies.