Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
@ jim
Please do not glom onto another persons post. The issue was resolved for the original poster. People have different themes, site configuration and other plugins, in your case you have a cacheing plugin, also if ANYTHING breaks the syntax, javascript fints, it can break or effect SLP will split this topic. Looking at your site using browser developer tools under console immediately returns this error
Uncaught ReferenceError: addToHomescreen is not defined
at locations:2282
addtohomescreen.js:2 Uncaught SyntaxError: Unexpected token :
3secureAnonymousFramework?v=1.0.338-1429&lang=en_US:469 Uncaught TypeError: Cannot read property ‘2’ of null
at getLocation (secureAnonymousFramework?v=1.0.338-1429&lang=en_US:469)
at _getOrigin (secureAnonymousFramework?v=1.0.338-1429&lang=en_US:717)
at _window_onMessage (secureAnonymousFramework?v=1.0.338-1429&lang=en_US:721)
CiciKeymasterDo Not use Boundaries Influence guesses, as mentioned it is a bug and it hasn’t been fixed as yet. I will let you know, or we will email you when it is fixed. if you cannot reset it, use SLP janitor and find the boundaries option under the premier portion and reset. I just had to do that on my test site after testing out your issue.
There is another option, it is Country Influences Guess
When checked use the selected Map Domain to influence how Google guesses what the user meant when entering a search address. I use this for instance on a test page for Around Australia, on that page I have the shortcode as [SLPLUS center_map_at=”Brisbane” append_to_search=”Australia” initial_radius=”1000″]. But I have my Map domain and center map at in the back end as US. If I did not add the shortcode it would always load the US center at map first instead of the Australia Map since my backend is set to use the US Map domain
As far as setting country. there are a few different ways. You can use the Append feature or a shortcode to redirect to the country page. (see docs for various shortcodes)
You can have a map page with results that only shows x country,,,for instance `
[SLPLUS map_region=”cr” center_map_at=”San Jose,Costa Rica” initial_radius=”1000″ append_to_search=”Costa Rica”]`
I am not sure I fully understand how you are building the site but you can do it a variety of ways depending on the results you are trying to achieve. You can add the Search by Country widget , it will redirect the map. Or have a discrete search in a dropdown
Or have a Countries directory
You can add a shortcode to list international directory
CiciKeymasterHi Shaun,
You have a couple of different issues, but the one that might solve a lot of them has to do with Javascript errors. A greyed out map indicates that you have Javascript errors. I see on that site that under Ajax/googlejavascript it is running 1.11…..that could be an issue
Also, if your theme or any other plugin has outdated Javascript it will interfere with SLP working properly. See Troubleshooting docs about that specific issue here
WordPress mandated they would not support anything below version 1.12, that was done quite a while ago. maybe WP version 4.4, you would need to look at WP support and codex.
As far as running ProPack version 3 with a SLP version 4. How is that working? 2 years ago we wrote a blog about it, I do not think that version had an export capability. either way, you need to fix that site with updates (best way to do it is to get a staging site, make sure you use something like JetPack ) You should be able to copy any CSS over to a folder on your server or computer if you need it later.
here is a link that tells you how to do the updates etc.and best practices. , there have been a ton of security updates in WP and SLP followed suit.
The best bet is to clone or set up a staging site to do your updates on.
I do not know what type of customization you are referring to. (theme? other plugins? ) I was able to get the map to load and refresh on that site when I declined allow site to know my location, but it took a minute…one reason might be because it takes so much time to draw the map due to the thousands of map markers loading. This might be a perfect place to use Cluster Map markers when you do get the site updated and current so that you can use premier on it.
That site url does have lots of errors and warnings such as: ReferenceError: stLight is not defined[Learn More] dealers:160:1
TypeError: document.getElementsByClassName(…)[0] is undefined[Learn More] dealers:647:12
As far as Google ID , private key etc in old versions, that had nothing to do with API keys. That was for Google Business licenses, and there is no need for you to have one of those. Because you have such an old version of SLP, that version was released in 2015 , it dated back before June of 2016. ,June 22 2016 was the magical date that Google determined any new sites would need to have a Maps Javascript key, . Therefore the back end of that version of SLP may not have had a field called Browser server key. I cannot support that version nor go back in time to see what it looks like since I do not want to load that old a version, it might not be compatible with my configurations and could have security issues…Before 2016, Google did not require API keys for a site to load the map. There probably was a place to add a Google Business Lic. id, SLP had an OEM license and Google was pushing people to buy a $25K a year license or to buy those business lic plans , now they have decided to just push the billing to every single site that loads Google MAPS and requires them to have a key with a billing account. They may not have caught up with everyone yet, I noticed your site just shows a warning now.
2) Premier subscription gives you additional features and functionality that is not available directly with individual add-ons. It also puts you in line for answers before others. It does not provide Consulting or WP development, we will of course provide you the resource documents and advice but Premier is really meant for developers with advanced technical knowledge of WP and CSS.
Currently our developer is fully committed on a few projects and he is not taking on any custom work. We can refer you to obtain a Cybersprocket retainer . There is a link for consulting on our home page that will take you to the Cybersprocket page.
- This reply was modified 7 years, 2 months ago by Cici.
CiciKeymasterHi Nick,
I have reported this as a bug to the developer. He will need to fix it and Update a new version of EXP and maybe Premier. ETA to have this fixed might be next week because of backlog with the holiday etc.
In the future if you could provide us with the versions you are using, i.e. your Plugin environment that will help us determine if it is a recent update.
Thanks for reporting this.
CiciKeymasterPatched in Power 4.9.20, SLP is on 4.9.19.
You may post in the Premier forums, I double checked your status and it is enabled for you.
CiciKeymasterOk, I am not sure about hitting enter, I usually click on the “Save” or updqate” box, but I will ask the developer if that is an issue. Thank you for letting us know.
Check versions, there are updates for SLP and Power.
Power had a couple of bugs with zoom and with location sensor so if those features effects you you will want to auto update.
September 3, 2018 at 4:16 PM in reply to: Split: Could not locate this address. Please try a different location. #57425CiciKeymasterCarolina, to clarify, I am guessing that you added the Google MAPS Javascriot API and pasted the exact same key in both fields. that would explain the first error message we see on your site. i.e Google Maps Javascript used multiple times. Both errors point to SLP version 4.9.19.
There are two places to enter keys. You only need to add the Maps Javascript API key under the First one if you did not restrict via referreres.
The seond error shows that you did not enable the Geocoding API that you need to have for a search by zip code or to be able to geocode any locations with correct lat/long.
As mentioned in our Getting started documentation you do not need to get a separate Key but you DO need to authorize the Geocoding API in your Project. Google bills the two services at different rates, therefore they need to ensure that you have both APIs
Your other option is to try the MySLP subscription plan for your site. You would probably want to be able to modify the results layout. if so you would want the professional plan. You can always start out with the Advance plan and move up to which ever plan best meets your needs,September 3, 2018 at 3:50 PM in reply to: Split: Could not locate this address. Please try a different location. #57421CiciKeymasterPlease refer to the posting in the forum guidelines.
It is not a good idea to glom onto another persons post, you may have different versions of the plugin. Also the first sentence, i.e Did you get a Google API key. Looking at your url, you have many errors or involving the Google APi keys:
=4.9.19:95 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Mg @ js?libraries=geometry&language=pt-BR®ion=BR&key=
js?libraries=geometry&language=pt-4.9.19:39 Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
_.Nb @ js?libraries=geometry&language=pt-
slp_core.min.js?ver=1535755981:1 Map set to fallback lat/lng: -30.0281574 , -51.2286422I have no idea what location you are trying to load, but you need to enable the geocoding API for your site. The error message on your site states that specifically you have not enabled or if you did, it is not authorized for the site you are trying to use it on.
See documentation
CiciKeymasterHi Shaun,
I am testing a bug fix for the developer concerning the location sensor. There was a callback/timeout issue that would initially load correctly but then time out after a few seconds so i am testing that next update will be version 4.9.20.
As far as the :geoloaction API. I spoke to the developer. SLP has never needed the geolocation API to work properly. It needs the two APIS enabled, Maps Javascript API and geocoding APIs. I will be clarifying this in docs pages since there has been some confusion and of course the google Cloud Platform screenshots have changed so much recently.
IF you need Geolocation API it would possibly mean that your theme needed it and if it was not present it would break javascript, which in turn would effect SLP. But that API is not required for SLP to work properly. if you look at the description of what the geolocation API is and the intended use, it is for Mobile App , Wifi cell towers. Geocoding
CiciKeymasterOk, Well there was a bug that effected that and also similar to zoom but it was a Callback time out error that would initially display correctly but then reset to the center map at after x seconds so there will be another update of Power. I am testing that next.
CiciKeymasterAwesome. You do notn use Location sensor do you? We have a different issue when using Location sensor that I am trying to get to the bottom of. It may very well have to do with Chrome announcement to deprecate SSL certs as of M70. Fisrt release of Chrome M70 was scheduled to be Aug 30 2018 with stable release in Oct. Which means everyone will be scrambling again to update the SSL certs.
CiciKeymasterOk, so now I have shut off my Premier and experience, I changed ,y Plugin style to be’ Metropolis”, I have radius behavior as always use now. I have my center map at US. Now the map loads correctly showing me results around me but then a second or two later the results are not shown and I am getting a different message
the one thing i see that we both have in common and that is the Console browser warning from Google about deprecating the SSL certificate at M70. I have been seeing that warning for a year now. The SSL certificates have been a big debate and a huge issue now for over
a year. i am going to see if I can dig in further on this subject matter and also see if the developer has any idea of what might be going on. Thanks for trying the updates. they did fix the other zoom issue users were experiencing but the resetting when using Location senor was not an issue for that user.Also I have another test site at my disposal that I will delve into when i can
CiciKeymasterCan you check off Do not show home marker? I am trying to recreate on my site and I think I may have recreated it. But I will have to dig in at your site to see if we have same settings . I also have Premier loaded
CiciKeymasterHmm, I will take a look again. I am wondering if there is another plugin or theme that is in conflict.
CiciKeymasterNo problem, it is an interesting concept, like a Yelp approach. Not sure if there are other plugins that could be used in conjunction with the SLP or Power add-on. I will mention it to the devloper at some point to see if there is a work around or a way to build it
CiciKeymasterPower 4.9.19 is out
see news feed
https://www.storelocatorplus.com/store-locator-plus-updates-and-patches/CiciKeymasterTry the Power patch in 4.9.19, see news feed
https://www.storelocatorplus.com/store-locator-plus-updates-and-patches/
CiciKeymasterPower updated should fix the zoom issue.
See the News feed for other patches
https://www.storelocatorplus.com/store-locator-plus-updates-and-patches/CiciKeymasterPaul, SLP and Power updates with patches have been published and available for download.
Gave you a shout out in our news announcement
https://www.storelocatorplus.com/store-locator-plus-updates-and-patches/
CiciKeymasterUnder the cesar site you are still showing the warnings which will become errors soon as soon as google catches up with all the sites using the MAPS javascript APIS. No more freebies
.
ALso it appears there is another plugin or theme also using the Google API. The message that says sensor not required is not coming from SLP and usually indicates to us that another plugin or the theme also has google MAPS built into the core somewhere:jquery.js?ver=1.12.4:4 [Deprecation] 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/.
send @ jquery.js?ver=1.12.4:4
util.js:223 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Ww.j @ util.js:223
util.js:223 Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
Ww.j @ util.js:223CiciKeymasterIt is not an SLP feature.
CiciKeymasterThere is a fix for the zoom issue that is coming out in Power 4.9.19, this will be avilable within the next couple of days, check your Plugin for auto update or check the versions available next time you log into your WP site
CiciKeymasterUPDATE: Zoom issue is being fixed in Power 4.9.19 and SLP 4.9.19 should be published for consumption within a day or so. Please make sure you have backup of your site before updating any plugins.
thxCiciKeymasterSorry Shaun,
I thought I answered you, apparently I did not submit. Power version 4.9.19 will fix the zoom issue hopefully, i just tested it on my site after another customer told us zoom was not working correctly. just make sure you have location sensor turned on after you update.
You are a Premier user so should be posting in Premier forum, that helps us with our answers, knowing you have certain settings available to you that others may not.. As far as the Google API. That is the way it always worked but mots people did not realize it until they had to transition and add a billing account. Google is coming down hard as they said they would for past few months.
I did not see any errors under your console so you have the right google API libraries enabled now.
CiciKeymasterGood to know. If you feel the support was useful could you leave me a fiver in the WPSLP directory here?
It will put me in the good graces of the developer . I am not a coder or developer so there have been a lot of trial and errors on my end.
What version of jquery are you being forced to use? WP requires 1.12 min for some time now. And even that is too low according to the developers posting in the WP support forums.
You are taking over an old site that someone else built and that is not an easy task. I think the child theme on that site must have been using outdated jquery or maybe had some customization. There should never be a situation when you have to use outdated jquery to get functionality back. That theme developer needs to update or perhaps you can convince your client to use a different theme if the orig. developer is not responsive or if it has been orphaned.
If your client needs CSS functionality specifically for WPSLP, you should have them buy Experience add-on. If they need categories, import, export, , they need Power add-on. The best value would be the Premier subscription if they are going to want to manage the WPSLP themselves (they would be responsible for their own API key and also the updates) or better yet IMO swap over to MYSLP.
Documentation home page shows the info for the two side by side.
MYSLP does not have the SEO Pages functionality that is available with the power add-on but your customer wasnt using that add-on anyway from what I saw..
With MYSLP, it is simply embed some script on the page and the locator updates are managed by SLP (and the Google API is under MYSLP no need to worry about them) It is a subscription base service . If they need categories , special layouts, or have a lot of locations they would need the Professional level plan. It works with WP but also with Squarespave, Weebly, etc.
-
AuthorPosts
