Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
I hope this sheds some light on how Location sensor works. It depends on browsers, how people have their settings etc.
Just a heads up: . Your theme appears to be using jquery 1.11. WP 4.5 requires at least 1.12. See the WP info blog and the SLP Info Blog about the issues that can occur, especially when using SLP or Google Maps API.
jquery.js?ver=1.11.3:5 XMLHttpRequest cannot load http://new.tacosandtequilatnt.com/wp-content/plugins/store-locator-le/images/icons/bulb_red.png. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://tacosandtequilatnt.com’ is therefore not allowed access.send @ jquery.js?ver=1.11.3:5
scripts.js?ver=5.0.7:111 element query css parsed
May 14, 2016 at 4:05 PM in reply to: Tried switching plugin style to eliminate map and locations no longer pulling #41029CiciKeymasterHi,
Sorry to hear you are having trouble. As far as your theme and breaking SLP, if you want to use that theme, contact the them author and ask them if they are using Jquery 1.12 as dictated by WP 4.5. There are a lot of plugins and themes that were written poorly and forcing a version of jquery or not using the WP best practices. See the BLOG bout this and also the WP master list that sites these issues.
As far as hiding the map. SLP has a hide the map function built into the Experience Add-on . It was part of Enhanced Map (legacy) as well.
CiciKeymasterYou should be using an updated version of SLP . Are you not updating SLP and WP for a reason?
Store Locator Plus is on version 4.5.03, you should be using at least 4.4.37. There could have been a bug fix since you last updated, where the labels weren’t saving. refer to the SLP Change Log for further info.
When you changed the message did you add html in its place via css? , it appears you added an html url link in that box. No results found, is a label. TAKE OUT THE HREF and the backslash from the text in that box and see if that fixes it , this is how it is coming back when I checked yourstore locator (you can see that you are redirecting to another website.
// no_results_found is being populated by store locator plugin in slp.js
jQuery( document ).ready(function($) {
$(“#map_sidebar”).find(“.no_results_found”).replaceWith(‘<div class=”no_results_found”><p>Sorry, it looks like there aren\’t any resellers close to you, but you can find a complete range of Chameleon Glass at <a href=”http://www.brotherswithglass.com” target=”_blank”>brotherswithglass.com</a>.</p></div>’);
Inspect your site using any browser developer tools (we have a tutorial video on that under Troubleshooting if you need more info) , you may want to use Firebug to debug (see your console)
I did a quick inspect using Chrome developer tools and you have 7 error messages that you need to fix. . Check your directory path for your icons
jquery.js?ver=1.11.3:5 Mixed Content: The page at ‘https://chameleonglass.com/find-store/?addressInput=’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://chameleonglass.com/wp-content/uploads/saved-icons/blue_flame_50.png’. This request has been blocked; the content must be served over HTTPS.send @ jquery.js?ver=1.11.3:5
?addressInput=:1 Mixed Content: The page at ‘https://chameleonglass.com/find-store/?addressInput=’ was loaded over HTTPS, but requested an insecure image ‘http://chameleonglass.com/new/wp-content/plugins/store-locator-le/images/icons/bulb_azure.png’. This content should also be served over HTTPS.
http://chameleonglass.com/new/wp-content/plugins/store-locator-le/images/icons/bulb_azure.png Failed to load resource: the server responded with a status of 404 (Not Found)
CiciKeymasterDebug your plugin.
The first error may be because that Plugin or theme is not using Current WP compatibility jquery and that will create MAP ISSUES. We posted a blog about that here and here is additional info on WP about 4.5 issues, Check PhP versions, they should be updated per WP best practices see info on what you can do to request that from your host.
You have FAILURES,, using any Inspect tools from your browsers (See the Debug video or Docs in Troubleshooting)
the first one noted here is a result of incorrect html reference with lightbox . Is this part of your theme? Is it using an outdated jquery version that may not have shown errors before , but now will with latest WP 4.5 updates . See that WP link above for more info .jquery.colorbox.js:13 Uncaught ReferenceError: lightbox_html is not defined
**This next error mentions multiple Google MAP APIS, you have more than one plugin loading and trying to connect to Google Maps and this is a conflict with SLP.
js?language=pl&ver=4.5.03:92 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
CiciKeymasterHi James,
It is not a bug.
Happened to come up in today’s meeting with Lance:
Actually Lance coded the base plugin so the basic slplus shortcode , if someone puts in ALL caps redirects (renders behind the scenes as lower case)_ so that works with either capital letters or lower case letters, but shortcodes with attributes need to be in lower case.
Once upon a time , people who are not familiar with the WP shortcodes codex and rules were writing in to say SLPLUS is broken because they used all caps . All shortcodes in WP are lower case.
CiciKeymasterHi Dave,
That can work too if you have someone who can work with javascript that is very useful.
I will close the post now. If you have a chance to provide a super rating I would really appreciate it. Good luck!
CiciKeymasterSteve,
My Pleasure.
CiCi
CiciKeymasterDonald,
Happy to hear that.
If you like Store Locator Plus please leave a ★★★★★ rating onWordPress.org. A huge thank you from Lance and his fellow code geeks!
🙂
CiciKeymasterif you want to restrict to city country, there is a new Widgets option to do that contained in the Experience Add-ON . It is not going to limit to one country unless you add shortcodes , or bind the search results , as in use one of the Widgets with a dropdown menu, (such as country, or city) and/or have the selector in discrete search mode and not to use the radius…you need to bind it somehow because the theory is you want a radius (just like Google location sensor works)
Check out the devleopers YouTube video, it might show you better how to use these settings.
CiciKeymasterOHHH
ok….
Order results by is default closest to farthest away. You want to modify to only show within a certain country? How are you using the discrete search? See how to use the discrete search functions in your case by country.
And you do not want the radius behavior as “always use” under your search settings.
CiciKeymasterMy answer confused me…so let me try again:
Step 1) Check the box At startup “show locations”
Step 2) If you want 25 then put 25 in the box which you already have in results, otherwise you can change it to less or more…
That setting under Results (max to show) is in conjunction with “show locations at startup”.
Now refresh and check your front end, is it now showing a max of 25?
CiciKeymasterCheck “show locations at startup”, those two settings go hand and hand. If you do have show locations at startup set then the other number doesn’t matter.
Results Panel settings
Is it coming back with more results then you want after the search or less?
CiciKeymasterHi Dave,
Did it all work out for you?
If you like Store Locator Plus please leave a ★★★★★ rating onWordPress.org. A huge thank you from Lance and his fellow code geeks!
CiciKeymasterSounds good, thanks for updating the post!
If you like Store Locator Plus please leave a ★★★★★ rating on WordPress.org. A huge thank you from Lance and his fellow code geeks!
CiciKeymasterHi Donald,
I cannot see what your CSV file format looks like with a screenshot. Here is the documentation about the Datafields and formats.
Which versions are you running of WP, SLP, ProPAck etc?
Please provide your Plugin Environment (see Posting guidelines
CiciKeymasterOk, I guess we were typing at same time. I wasnt sure if you meant Loading via PROPACK or the front end…please update Enhanced search as well,
CiciKeymaster1) Enhanced Search 4.3 will not work with SLP 4.5 ,xx nor ProPack 4.5,. you need to update to at least 4.4. or purchase the Experience add-on,,(Posting guidelines: check versions )
2) Do you mean you cant load 276 locations or that they are in Locations panel but you cant see them on the front end?
3) If the latter, what do you have set for your radius, do you have show locations at start, what is your search criteria set at? Center map settings? See those settings in the documentation.
WP 4.5.2 uses jquery 1.12, as does SLP, but some themes and plugins do not use the correct jquery and that can cause issues with your Maploading etc.
what is your site url?
CiciKeymasterHi Rafal
Latest update to WP, SLP, ? Your theme?
Could you provide your Plugin Environment (see Posting Guidelines)? Need to know what versions, of SLP and add-ons and your WP versions, etc. and your site url. ( sometimes we can find the issue using Troubleshooting tools, browser tools)
CiciKeymasterHi Rob,
You can change that No Results found or No locations found Label with the Experience add-on or the Legacy Add-on Enhanced results (legacy which works as is , will not be upgraded in the future, will be phased out)
CiciKeymasterHi ,
If I understand your question,( not sure I do, so let me know if I get this wrong) . You want to create individual store pages with their own permalink and have categories filtered within those store pages:
As far as hours etc that are added/included in that field under the Locations tab ( where you would create store pages as well) are part of the Default Pages template pulls from your store id info that is in the locations database. (See the Pages Documentation)
The new Power add-on that is in pre-release will allow you to have different categories that work within the Pages with shortcodes. You can review the new documentation about that and see if that is what you re looking for..as mentioned that is in pre release and that feature will be available with the production release later this month.
Currently Tagalong can be used to create Categories and you can assign to locations, , search by category, have two separate pages in WP that have a short code “only_with_ category = “xxx”
You might want to review the new docs site as well as the Pages and Taglong Product descriptions. Power is in pre-release and if you purchase it an be tested on your dev site, it is never advised to use Pre releases on live production sites .
buyers guide
CiciKeymasterI inspected your site using Chrome Developer tools and you have an error that is pointing to your issue. The first error message “you have included Google Maps API multiple times” indicates you have another plugin also trying to Load Google MAPS API and this is going to cause a conflict and break your MAP.
Viewing the directory under your WP Plugins you have Store Locator Plus (us, it is storel-locator-le) installed and you also have WP-store locator installed. Both of these plugins load maps and locations amd are fighting with each other. You cannot use both at the same time. You need to decide which plugin you wish to use and deactivate and delete the other. I have attached a screenshot
Your error messages”
js?sensor=false&ver=4.5.2:92 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.Og @ js?sensor=false&ver=4.5.2:92
jquery.js?ver=1.12.3:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
Attachments:
You must be logged in to view attached files.CiciKeymasterP.P.S. the developer also suggests, to alleviate any concerns that any WP sites may have about ANY of their plugins ” a) have a backup, b) really, really have a backup via VaultPress, c) employ a staging site – WPEngine is a great hosting company that provides an “easy button” for that sort of thing”
I hope this helps
CiciKeymasterP.S. I also have updated my ProPack to 4.5 and have not seen any issues on my test site, ditto with the Experience add-on now on 4.5. Sorry, I didnt notice you also had those installed.
CiciKeymasterThe SLP update tested fine for us and I have not seen any recent reports that the current version called out a fatal error.
I do not know all those plugins that you are using, nor how your theme is written, but SLP was tested with WP 4.5.2 and uses jquery 1.12.
I do know that some people have themes that are not compliant with the new WP versions and that halted the SLP Maps from loading, but there are no fatal errors with SLP 4.5.03 other than the Multisite version that I mentioned (and that is being addressed in 4.5.04 under pre release)
If you are referring to the slew of reports of fatal errors or failures that occurred with 4.5.01, that has been fixed with SLP 4.5.03.
CiciKeymasterPlease provide your Plugin Environment and site URL ( see Posting Guidelines about what we need to better assist you)
-
AuthorPosts