Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
We have multiple articles (such as this one that provides step by step) and documentation (such as this) about adding API and billing accounts for Google, since you are using the WPSLP self managed plug-in, we have no access and you may need to contact google support, which they should provide you now that you have to for use of their MAPS API
The error message (using Dev tools in any browser and inspect and under Console you see error messages:
This site , https://www.moons.co.uk/contact/where-to-buy/
has the error
Google Maps JavaScript API error: ApiNotActivatedMapError
_.Wc @ js?
If you follow the link in the error it brings you to the error codes for google:
ApiNotActivatedMapErrorError The Maps JavaScript API is not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console.
For more information, see Get Started with Google Maps Platform.
CiciKeymaster1) Large Import and Troubleshooting should shed some light, a lot depends on how many locations you try adding to one map, Google MAPS API functions and the time to draw a map will have a big impact and every time a map tile is drawn it will hit your limits and will bill you accordingly.
See the info here about large import , ignore the part about using MYSLP, there is no plan that would allow 100K locations
2) Depends on your server, your configuration, the WP CrOn limits etc. again look at the Large import t for more info
3) I do not know, I have never tested 100K locations on my site as the bill from Google would be astronomical to load and geocode I cannot test for you
Geocoding is responsible for 35% of the Google billing fees with the Google Maps API on most accounts. Also you may be getting throttled by Google when loading that many locations to geocode Unfortunately there is not much you can do to eliminate the map rendering fees.
CiciKeymasterYou cannot have two totally separate data sets , the Location data is all one.
You can use categories and use the Shortcode on one page “only_with-_category = “xx:” as shown in the link to the shortcodes I shared. and then either another short code on another page, or the category button bar or horiz checkbox..
I do not understand why you cannot use categories to separate your locations into two differentiating locations using something like the taxonomy functionality .
Or you can use the Directory landing page shortcode to work around your issue.
You might be able to do something like that with two different embed scripts if you had two separate Professional or Enterprise accounts in MYSLP and then use the two different embeds (one per page) …but since I am not really sure what it is you need to do due to the privacy factor you mentioned I am not sure how to advise you. If you need to , please send in the details of what you are trying to do to the support team or contact us and I will try to get the developer to look at your unique circumstances.
CiciKeymasterAlso if you do not want them to see a map until after search:
You can click the cjhjeck box to Hide map until search…
and other SLP shortcodes to be used on each page
But first under SLP/ Settings/Results you will also want to check off the box Disable Initial directory , that will disable results being shown until after a search has been done,. Hope this helps
- This reply was modified 6 years, 3 months ago by Cici.
CiciKeymasterHello Juergen,
1) With Premier you can add the location limit Url
or search auto complete could be used
or discrete search could be enabled,
Since you have Premier there are a lot of additional features to use, you need to check to see which ones make the most sense for your business model and site.
2)Number of results to show after start up, after search etc is set under the Settings/Results Tab under the Store Locator Plus plugin.
More info
about appearance and layouts displaying data fields, shortcodes etc in Documentation
CiciKeymasterFixed in version 5..2.2
CiciKeymasterPatched ( I cant read your post) but I think this is addressed
5.2.2
PATCHED re-instate the recently missing description and hours fields on location edit forms.
CiciKeymasterP>S
SLP absolutely has to have the ability to communicate with Google APIs to get locations, so you might want to read up on the Microsoft edge info and support page to see if you need to enable cookies etc. I know when using Avast browser I am constantly getting messages from google to enable cookies, and to change configuration etc. So if I had to guess I would start there. i you provide your site url I may be able to look for errors.
. The WordPress Store Locator Plus map rendering is managed by the slp.js JavaScript file. It sets up the communication with the built-in WordPress AJAX handler, admin-ajax. Your server must be setup to allow the built-in WordPress AJAX handler to execute. Additionally, ANY PLUGIN or THEME that is breaking javascript will break SLP functionality. This is rarely an issue with the SLP plugin.
CiciKeymasterI use a Windows 10 computer and have not had issues using Chrome, Firefox, IE, I have not heard this before. Is there an additional layer of security with any of the browsers with Edge? I know that Lance uses a test suite before releases that tests scripts with all browsers.
What errors are you getting? What is your site url?
CiciKeymasterDo you have the Experience Add-on? The very first sentence on that page states” he ability to change results layout is included in the Experience add on.”
CiciKeymasterPlease provide your Plugin environment. (see posting guidelines) so we can assist you
I am having trouble deciphering your post with all the div texts
.ARE YOU SAYING THERE ARE FIELDS IN BACK END YOU CANNOT CLICK ON? ARE YOU USING A MINIFYING PLUGIN LIKE SMUSH?
if so , see other responses in support about the conflict and disable smush . You can also try using WP debugger.
Until we hear back from you with a clean up of your post and provide your plugin environment in response I cannot answer your question
CiciKeymasterI am directing this to the developer, he has a fix in place for SLP 5.2. I revisited your site and it appears correct. Did you recently update SLP?
Thx for following
CiciKeymasterOh goodie, glad it worked for you.
CiciKeymasterHi Janie,
Thank you for sharing the file and your info.
I tested by uploading your file in Google sheets to review. I noted there was an empty row at the very beginning so I deleted that and then saved as csv file.
next step, I logged into my own WPSLP account. I uploaded your csv file. It loaded immediately, i checked to see if the first entry Hilton Hawaii was loaded and it was. I also checked to see if the last entry for matter of the heart was loaded (see my locations screenshot) and it was. It all took about 2 seconds. I am attaching the file I imported and saved so you can double check it and perhaps try the file with the empty row deleted.
I cannot recreate your issue. Did you review the troubleshooting Imports docs to make sure there is nothing hindering the communication , security preventing upload or WPCRON from running ?
I cannot access your site link to see if there are error messages. If you could run the WP debugger and if you need help interpreting the Debug log we can look at it together.
Attachments:
You must be logged in to view attached files.CiciKeymasterHi Janie,
Thank you for sharing the file and your info.
I tested by uploading your file in Google sheets to review. I noted there was an empty row at the very beginning so I deleted that and then saved as csv file.
next step, I logged into my own WPSLP account. I uploaded your csv file. It loaded immediately, i checked to see if the first entry Hilton Hawaii was loaded and it was. I also checked to see if the last entry for matter of the heart was loaded (see my locations screenshot) and it was. It all took about 2 seconds. I am attaching the file I imported and saved so you can double check it and perhaps try the file with the empty row deleted.
I cannot recreate your issue. Did you review the troubleshooting Imports docs to make sure there is nothing hindering the communication , security preventing upload or WPCRON from running ?
I cannot access your site link to see if there are error messages. If you could run the WP debugger and if you need help interpreting the Debug log we can look at it together.
Attachments:
You must be logged in to view attached files.CiciKeymasterI am sorry, I did not see your reply. The first answer is No, that is not possible with the plugin functionality, I did not see your Plugin environment so did not know what versions you were using, as updates do include some functions over another. I also do not know if you have the Experience add-on downloaded, or your site url (see posting guidelines) If you have Experience add-on activated and you are asking about results layout see below.
Or if you are asking about the CSS and shortcodes used for SEO pages slp_ locations description and the calling cards added for directory.
As far as “custom hyperlink” do you mean the text for the hyperlink”, i.e changing the label so it doesn’t say “website” or click here in results. That can be changed in Results layout here or refer to
https://docs.storelocatorplus.com/blog/results-panel-settings/
Or are you looking for more URL controls functionality
CiciKeymasterYes, that seems to be an issue reported for those with the German language format. I do not know why, possibly because there is no “state” (or province entered) where one is expected. but it has been reported, and is on the developers radar.
<span class=”slp_result_address slp_result_citystatezip”>Warburg34414</span>
CiciKeymasterThanks for providing the information. yes, Google seems to have issues at various times as they constantly change their algorithms for their third party MAPS API. That is nothing new with their operating logic. But now that they have started tracking every single site and require a paid service, i.e adding your credit card , they offer slightly better support according to some of our customers.
All of their Suggestions have been, search with more detail rather then less. For something like Somerset, even in Australia, it could be anything. A street, a city, a hotel, so they require more info rather then less be added to the search.
The easiest solution is to add instructions on your search label or on the page suggesting the search criteria be more specific. If ALL your locations are in Tasmania you could add the Append shortcode but that would require the experience add-on as mentioned.
P.S. that site page has error. This may also be contributing to issues. Use browser dev tools to inspect site and check under console for errors to see what is causing this . It could be ANOTHER PLUGIN,or your theme that is also using Google MAPS API? Or did you enter same API key in both the browser and geocoding section? You should only have it under SLP in browser unless you restricted the key
ERROR at http://www.bigbargaintas.com.au/store-finder/
“You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Gh @ js?v=3.exp&key=
CiciKeymasterSorry about that.
Our developer has said in the past that no plugin should mess up javascript so bad as to render another plugin or theme unusable. (We have not seen the problem with the MySLP subscription customers, probably because that product is SaaS and uses Embed scripts.)
CiciKeymasterIf you are having issues with not being able to click on any of the tabs, are you using any kind of minify Plugin? Some people reported other plugins rendered the SLP Location and back end non clickable. SLP is already minified, so no reason to use
Someone posted on the WordPress forum :
. If you can’t change any of the settings for the SLP, turn off the plugin Smush.
CiciKeymasterGoogle APIs search engine assume sUnited States. There are a few pages in our docs that address this. Set your map domain , or use discrete search functions or use shortcode to append to search Tasmania only.
(In the future please follow the posting guidelines and provide your SLP plugin environment information and site url so that our answers can apply more for your situation and we know if you have add-ons etc.)
June 26, 2019 at 10:47 AM in reply to: "Could not locate this address…" Locations only show with blank search #59472CiciKeymasterSLP is compatible with the latest version of PHP.
Other Troubleshooting options here if search does not work , check for Javascript and PHP handler, or if your site is over zealous and turned off the Ajax handler
see here to troubleshoot suggestions for Ajax
Could not Locate this address if no other errors showing could be as a result of the radius behavior setting for results being set to too low a number, or it could be Google does not have enough info when the search criteria is set or your center map is not set
But in your case, when i go to that site url (Greenjoylife) and type in a zip code I see this come back when I inspect for errors using the Console developer tools:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Not sure if your host is preventing the communication between WP and Google for the geocoding request to work which is required for the search by zip to work or if it is because you are revamping the site. But the 500 internal error is on your end I believe
I see if I refresh and wait a while and set the radius out further some locations appear. If you do not have Center map set, in your settings/map to an address that is more central to all your locations it defaults to where Google thinks the center of US is, somewhere in Kansas (check that you have set the Map region as well)
Other hints for better performance; Check the SLP settings under Map and results.
See documentation and use keywords to search , example radius
Try setting Results to immediately show a larger number as well
double check that your security on the server is not also blocking the geocoder
CiciKeymasterHello catherine,
To better assist you we ask for your plugin environment which shows us your versions.
1) I am not sure I understand your question. With Premier you can make the phone number dial on click : Instructions here
If you are looking for a built in report for that function, that does not exist in SLP, there may be some way to measure that using Google Analytics but I am not familiar with any.
2) You can change your SEO Pages layout if that is where your Course guide is. I am not sure what you are asking here. It looks like you have Course Guides on your page as part of a menu item that then can be redirected. The developer might be able to take a look when he has some time, but we would need additional information including your plugin environment and how you are using the available add-ons.
-
AuthorPosts
