Support

  1. spottedhaggis
  2. Support
  3. Tuesday, June 14 2022, 09:05 AM
I have a search link, using geocode location, search by radius but it always displays all members of a group, never filtered by location.
admin Accepted Answer
Admin
Hi,
can you please post me your page link to check if there is some javascript issue?
  1. more than a month ago
  2. Support
  3. # 1
spottedhaggis Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
spottedhaggis Accepted Answer
So noticed no JS errors, one CSS one but thats not going to be the cause. any ideas?
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
Hi,
in your page missing all javascript code that make the location text field to Google Map geolocation field.

Can you please try if this happen also with another template?
  1. more than a month ago
  2. Support
  3. # 4
spottedhaggis Accepted Answer
I am afraid I cant do that, its a live site. Im using Helix Ultimate as the core template, no core mods only css in a custom file.

Can you provide me with the JS code needed and I can add it in as custom to the template
  1. more than a month ago
  2. Support
  3. # 5
spottedhaggis Accepted Answer
I have had a look and it looks to me like the geocomplete JS is loading just fine?
  1. more than a month ago
  2. Support
  3. # 6
admin Accepted Answer
Admin
Hi,
now I see it. I think there is a issue due to your jQuery Javascript library, you template load an external library with a different version from the build in Joomla version. Anyway this is simple to fix:
- Download and unzip the attached gmap.zip file
- Replace with new gmap.php file the old file placed in /administrator/components/com_jsn/helpers/fields/gmap.php (do not rename the old file, replace it or delete it)

I will include this fix in the next release.

IMPORTANT: After this change it still will not works because you need to enable Maps JavaScript API under APIs in the Google Cloud Console. (you should see the error in browser console)
Attachments (2)
  1. more than a month ago
  2. Support
  3. # 7
spottedhaggis Accepted Answer
ok, so Ive replaced the maps file as per your instructions, enabled the Maps Javascript API on google, but all I get is Sorry! something went wrong on the front end
  1. more than a month ago
  2. Support
  3. # 8
spottedhaggis Accepted Answer
Is this maps api not a chargeable system within google, per use? If so I wont be using the feature at all, you should program it for openmaps instead.
  1. more than a month ago
  2. Support
  3. # 9
admin Accepted Answer
Admin
Hi,
ok, so Ive replaced the maps file as per your instructions, enabled the Maps Javascript API on google, but all I get is Sorry! something went wrong on the front end
Have you deleted the old one? you cannot have new gmap.php and old gmap.php (renamed) in the same folder because they will have the same PHP classname.

Is this maps api not a chargeable system within google, per use? If so I wont be using the feature at all, you should program it for openmaps instead.

Openstreetmap have some limitation, like geocoding APIs (it uses nominatim that has a strict Usage Policy).
Google Maps is free? Google maps should give to all customer 200$ of free credit for each month, so it is free for 99,9% of customers (not for huge systems, however difficult to manage with Joomla). But to works it require that you enable billing and associate a payment method with your account.
  1. more than a month ago
  2. Support
  3. # 10
spottedhaggis Accepted Answer
I did delete the old file but still it does not work. I dont see any errors in the console other than the error in the actual form when I begin to type anything in I get the error.
  1. more than a month ago
  2. Support
  3. # 11
spottedhaggis Accepted Answer
ok i have done what you asked, and it has not solved it, I cant see any JS related errors in the console either.
I have installed Jquery and told it to use the stock Jquery that comes with Joomla, non of this has made any difference to the issue.

Do you have any other suggestions I can try
  1. more than a month ago
  2. Support
  3. # 12
admin Accepted Answer
Admin
Hi,
I see this error:
Google Maps JavaScript API error: RefererNotAllowedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: https://securityconsultants.org.uk/find-a-consultant

You need to add your site URL in API keys (or remove restrictions) in google developer console
  1. more than a month ago
  2. Support
  3. # 13
spottedhaggis Accepted Answer
your a star, thats the solution. I did add *.securityconsultants.org.uk but that clearly did not work, so insted I added the exact url, since thats the only one its on.

Thanks for the help
  1. more than a month ago
  2. Support
  3. # 14
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.