WordPress.org

Forums

Maps by Store Locator Plus
[resolved] [Plugin: Google Maps via Store Locator Plus] Search function not working (33 posts)

  1. sonia.
    Member
    Posted 2 years ago #

    I was very happy about all the new features but unfortunately the new version brought some new problems...
    The search function doesn't work anymore. when I search for a town, address, etc, the map shows the home icon for the location required but it doesn't return any of my listings. It used to work with the previous versions. At the moment I have it set to immediately show 40 listings and that works.
    Please help. I was hoping to start advertising my site next week....
    this is my url: http://noiceliaci.com/
    Many thanks, Sonia

    http://wordpress.org/extend/plugins/store-locator-le/

  2. 24gotham
    Member
    Posted 2 years ago #

    Same issue here

  3. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    Patch coming... soon.

    Please provide your site URL when posting notices like this. I can look with Firefox/Firebug and track down 90% of the search/map issues. They are almost always JavaScript related.

  4. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    3.5.3 seems to have fixed the issue, patch is out now.

  5. MyChiroPractice
    Member
    Posted 2 years ago #

    Hey Guys -

    Ever since I updated to 3.5.3, another plugin called Event Manager Pro no longer loads its Google maps.

    I deactivated Store Locator Plus and the Event Manager Pro map loaded up.

    I didn't have this problem before the 3.5.3 release, so where can I go to downgrade to the previous version 3.5?

    Thanks.

  6. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    All prior releases are listed here on the WordPress site under the developer tab.

    3.6 is coming with a half-dozen patches to the JavaScript file. So far the several tests sites that had problems in the past are working. The update requires both a main PHP file and the csl.js file or I'd just send you the csl.js to try out.

    Cannot say for certain that other plugins with maps won't conflict though. Google Maps API V3 is a lot more particular about maps and the div IDs they are loaded into.

    If anyone wants to try v3.6 before I finish testing this week you can ping me via the CSA contact form at http://www.charlestonsw.com/mindset/contact-us/. The more sites version 3.6 can be tested on the better for everyone. Plus if you find a bug on YOUR site while testing a beta copy of 3.6 you will have one-on-one support for free to resolve the issue (support limited to 3.6 bug fixes only).

  7. MyChiroPractice
    Member
    Posted 2 years ago #

    Thanks for the info.

    Is there an easy way to downgrade to the 3.5.2 version for now, without losing any data? I downloaded the earlier plugin, but am hesitant to install it through WP plugins page and see what happens. Is that OK to do, or should I upload files through FTP? Thanks.

  8. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    Data is always retained unless you ovwerote CSS files, stored custom icons in the main plugin directory (images/icons or core/images/icons), or stored custom language files in the main plugin directory (core/languages). To downgrade you need to deactivate, delete, then upload the zip file and activate.

    The location data will always be retained.

    The other method is to unzip locally and FTP up to the store-locator-le directory. The deactive/delete version provides a cleaner install.

  9. MyChiroPractice
    Member
    Posted 2 years ago #

    Thanks for the advice!

  10. sonia.
    Member
    Posted 2 years ago #

    Upgraded a few days ago and map's working again :)
    thanks

  11. MyChiroPractice
    Member
    Posted 2 years ago #

    I upgraded to the newest version, and a couple of things are not working...

    1. Even though I have it marked as 'Remove Credit' it still shows it
    2. On the bottom of the map, a couple of lines of code / css are showing: class=’sl_footer’
    width=’100%;’
    style=’display:none;’ >

    3. In the listing area, there is a {14} appearing in front of all the listings.

    The search isn't working properly either. I tried downgrading to a previous version, but none of those issues go away. HELP PLEASE!!!

    http://www.idealspine.com/directory

    Thanks
    Art Javid

  12. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    Art -

    I think I have a patch in 3.6.1 that will resolve this. I need an admin login to test with. Reach me at http://www.charlestonsw.com/mindset/contact-us with that info.

    For some reason WordPress is now "texturizing" our shortcodes which changes ' to &#8217 and is wreaking havoc on the HTML that renders results, the map, and more.

    This is likely a plugin or theme that is being over-aggressive with language translation. A normal "clean" WordPress install does NOT texturize our shortcodes with ANY release of SLP including 3.6.

    - Lance

  13. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    Anyone that wishes to try 3.6.1 RC3 you can go to http://www.charlestonsw.com and "purchase" (it is free) Store Locator Plus. When you do this you will get a download link and/or can download from your account (login on bottom right) and get the latest 3.6.1 RC3 zip file.

    Login to WordPress, go to plugins, deactivate/delete/upload/activate the SLP plugin.

    This is a destructive update so be sure to backup your code files. Location and setting data is retained.

    Fixes(?):
    - Div code rendering under map as text versus HTML.

    - Use Location Sensor prevent map from rendering if use does not share location.

  14. MyChiroPractice
    Member
    Posted 2 years ago #

    I updated to 3.6.1...

    The search function is working again, but several things are still problematic:

    1. I still have a bit of code showing under the map.
    2. The credit line and link to you guys doesn't hide.
    3. Even though I set the zoom levels to 18 or 17 (close), the search results come in as world view
    4. The location sensor worked the first time, but subsequent visits to the website assumes I am in Kansas (vs. California)

    Please let me know if you received the credentials I emailed last night.

    Thanks.

  15. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    Art - did not get the login. Please re-send.

    Also - are you using a ThemeForest theme by any chance? It is looking like a possible bug in their theme engine that is not honoring the "do not texturize my shortcode" settings and is wreaking havoc in SLP3.6.

    If anyone that is having this issue can send me their Themeforest theme so I can test and possibly find a workaround that would help.

  16. MyChiroPractice
    Member
    Posted 2 years ago #

    Yes it is a ThemeForest design. but it was fine until about a week ago :/

    I am on your website now and sending you the contact form with my login now.

    Thanks
    Art

  17. nhtahoe
    Member
    Posted 2 years ago #

    UPDATE:
    So I tried systematically changing settings and I got the map to function by deselecting "Force Load JavaScript:" on the Map Settings page. I would say that is a bad thing to have checked by default!
    __________________________________________________________

    Original:

    Greetings, after updating the Store Locator Plugin to the latest version, it is no longer functional. Using the Firefox Error Console, I'm getting:

    doing search@(37.86373760000001, -122.26822449999997) for radius of 50
    csl.js?ver=3.4.2 (line 967)
    searching: 37.86373760000001,-122.26822449999997
    csl.js?ver=3.4.2 (line 967)
    jQuery("#searchForm").formParams is not a function
    [Break On This Error]

    var formObj = jQuery('#searchForm').formParams();

    csl.js?ver=3.4.2 (line 1030)

    Any ideas?

  18. nhtahoe
    Member
    Posted 2 years ago #

    So I tried systematically changing settings and I got the map to function by deselecting "Force Load JavaScript:" on the Map Settings page. I would say that is a bad thing to have checked by default!

  19. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    @nhtqhoe - it needs to be on by default because 30% of the themes out there do not properly support WordPress 3.3+ footer processing. If they are not updated correctly to support those function calls the maps never work on those themes.

    It is smarter, better, and generally a faster way to do things with Force turned off, BUT more sites break with it turned off than the other way around.

    Also, it should not break in EITHER mode unless something is messing with the JavaScript stack very early on. Themes and plugins that do not use proper register and enqueue methods seems to cause all sorts of issues.

  20. MyChiroPractice
    Member
    Posted 2 years ago #

    Any update on possible patch/fix for the problem I am having? Thanks!

  21. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    @MyChiroPactice -

    The patch is out tonight, 3.6.2 works around the ThemeForest bug. I will write a blog post about what is broken and why. It is definitely a ThemeForest issue, they are not using wptexturize() properly.

    It broke because 3.6 HTML was tweaked to make it easier to read, support, and less prone to bugs. The HTML was written with extra white space on the table definition so I can easily see the attributes. It is standard practice and is an accepted "best practice" when writing complex HTML documents.

    ThemeForest decided to replace the HTML newlines with
    which is WRONG. HTML should never be "texturized". In addition the WordPress wptexturize() function should honor the shortcode ignore list, but the custom ThemeForest "wptreats_formatter()" ignores the ignore list.

    Short version, yeah, I changed some HTML coding by adding extra whitespace in 3.6. That should NOT break anything. ThemeForest has a bug that made it look like SLP was broken. SLP, I hope, now works around their bug with this release.

  22. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    Learn more about the open HTML, ThemeForest, and the SLP patch:
    http://www.charlestonsw.com/themeforest-and-texturizing-shortcodes/

  23. MyChiroPractice
    Member
    Posted 2 years ago #

    Great! Thanks for the quick patch - truly appreciated.

  24. MyChiroPractice
    Member
    Posted 2 years ago #

    Hi. I updated the plugin but the same pesky issues persist. Any idea why it's doing that? Thanks and sorry to bug you about it.

  25. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    @MyChiroPractice

    If you are seeing open HTML under the map I can say for certain, after spending a lot of time tracking the issue, that the problem is a theme or plugin mis-handling shortcode HTML output.

    If you are using a ThemeForest theme you may want to consider something different. I just created a post explaining my reasoning, but I will be providing very limited support for Envato based themes given their obvious lack of desire in helping sort out any conflicts with their themes.

    I've already spend a combined total of 8 hours while on vacation trying to create a hot fix for something that turns out to be a bug in a core Theme Forest function. If they put ANY effort into fixing their own issues or working with me to come up with a solution I'd consider working further on a solution. However, spending hours on code patches to work around bugs in other products is not a productive use of my time.

    If you really need to use a Theme Forest theme and are still having issues I can provide custom support and debugging for the standard support fees posted on my website at http://www.charlestonsw.com/support/.

  26. MyChiroPractice
    Member
    Posted 2 years ago #

    Hi Lance,

    Your time and efforts are certainly appreciated, and if it takes a few hours of your custom development time to get it done, then we have to move in that direction.

    My only questions is that the plugin was working just fine with the Evato theme since May, and it is only in the past two weeks that this issue has come up.

    Regardless, the theme is something that has been heavily customized to fill the need of the client, so we have to think of patching it up.

    Whats the next step for support, and what timeline can I expect for a fix?

  27. lakimathan
    Member
    Posted 2 years ago #

    Google Maps via Store Locator Plus - After upgrading search not working for me..

    Please any one help me.....

    Link:- http://fabricosundomes.com/dealer-search/

    Thanqs in advance

  28. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    @MyChiroPractice - If you read the article on my site it explains in detail why the plugin "suddenly broke" with the Envato theme you had in place for months. I added some whitespace to my HTML code to make it easier to read & maintain. There is a bug in Envato's wptreats_formatter() function that incorrectly bastardizes valid HTML syntax by inserting HTML break tags in the MIDDLE of other HTML syntax.

    As for support, you need to purchase it from the website and I will put it on the schedule. Since I am just returning from vacation I have a few days of coding to take care of but will take a look as soon as I can, likely not until Monday but possibly before.

  29. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    @lakimathan - please start a new thread if this is not related directly to the open HTML issue.

  30. Store Locator Plus
    Member
    Plugin Author

    Posted 2 years ago #

    @lakimathan - looks like something your version of jQuery does not support the form processing script that was added. I will see what I can find, but please start a new thread.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Maps by Store Locator Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic