[Quick Fix] Geolocation on chat Fix

Started by nibb, June 05, 2013, 09:06:11 PM

nibb

If the Geolocation feature is not working for you, (it keeps loading forever...) its because you probably run the chat under SSL and the browser is actually blocking it.

Here is the FIX:

Open the file

popup.js

Its located under the admin folder under:
Quote/admin/templates/default/hbchat/media

Go to line 801 and change the url of Google Maps from http: to https:

This will now load the maps under a secure connection as well and should fix the problem.

Patrick

Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Lawrence

Nibb, thank you very much for this fix! This is much appreciated.
Skype: sociallarry | AIM: [email]larry.aim@aim.com[/email] | Forum Rules & Information

These forums are hosted by me with no intentions to ever monetize them. These forums are here solely for the benfit of the HostBill community.

tallship

Thanks Nibb :)

Do you have a client account for kbkp in your hostbill system?

If so, you need to send them an invoice for $75 (Is that still the cost for opening a ticket there?) for using your code that [reportedly] fixed the bug, that is now included in HostBill 4.6.4.

Kindest regards,
Bradley D. Thornton - Manager Network Services, NorthTech Computer   TEL: +1.310.388.9469 (US) | +44.203.318.2755 (UK) | +61.390.088.072 (AU) | +41.43.508.05.10 (CH)
Registered Linux User #190795 - "Ask Bill why the string in [MS-DOS] function 9 is terminated by a dollar sign. Ask him, because he can't answer. Only I know that." - Dr. Gary Kildall.

Lawrence

Tallship you nut. ;)

I'm glad this quick fix helped HostBill. That means Kris finds value in this community. Eventually, things will get better. (They will get worse before they get better, old saying as it goes.)
Skype: sociallarry | AIM: [email]larry.aim@aim.com[/email] | Forum Rules & Information

These forums are hosted by me with no intentions to ever monetize them. These forums are here solely for the benfit of the HostBill community.