By Enrico Paterni on Friday, 07 October 2016
Posted in General
Replies 5
Likes 0
Views 217
Votes 0
Hi guys,
sorry, just a easy question. I found out that every time I want to put manually the location of some content the system doesn't recognise my addresses.
Can you please tell me where I have to configure this feature ?

Thank you very much
Hi there,

Regarding this issues, it is because some modifications have been made by google in order to use their google API services. You have to first create a new google API key in order to be able to use location services by follow steps below
1. Go to this page -> https://console.developers.google.com/iam-admin/projects
2. Create project and check my video here : http://screencast.com/t/xnfoJH8vx
3. This is the page to activate the APIs key -> https://developers.google.com/maps/documentation/javascript/get-api-key

Then, put your API key respectively

1. EasyBlog
Backend>Components>EasyBlog>Settings>General>Location
2. EasyDiscuss
Backend>Components>EasyBlog>Settings>Location Service
3. EasySocial
Copy and replace attached file respectively and you have do some modification on gmaps.js and popbox.js file.
...\media\foundry\4.0\scripts\gmaps.js

//line 12, replace with your api key
url = "//maps.googleapis.com/maps/api/staticmap?key=Insert Your Google API key Here&size=400x200&sensor=true&zoom=15¢er=" + lat + "," + lng + "&markers=" + lat + "," + lng + "&language=" + language;


...com_easysocial\scripts\site\locations\popbox.js

//line1570, replace with your API key
parameters.push('key=Insert your Google API key here');

//line2058, replace with your API key
.script($.uri(window.location).protocol() + "://maps.google.com/maps/api/js?key=Insert Your Google API key Here&sensor=true&callback=" + callbackId + "&language=" + language)

...\media\foundry\4.0\libraries\closure.php
Then, go to your backend, log in and put below url behind your domain name site, then run it. Wait until compile your javascript.
http://www.yourdomainexample.com/administrator/index.php?option=com_easysocial&compile=1&minify=1

If you need help regarding this, please provide us with your backend and FTP access in order to do this modifications for you.
·
Friday, 07 October 2016 16:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, i did everything and it works. Just be careful. You put the instructions inverted. The file gmaps.js goes with the second script and the popbox.js with the first one.
Also the video is not corresponding with the google developers section. There is a wrong step. Anyway I did by myself.
Thank you very much for your help, much appreciated.

Enry
·
Friday, 07 October 2016 20:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating this Enrico, this will be fixed in the next release of our extensions.
·
Saturday, 08 October 2016 02:21
·
0 Likes
·
0 Votes
·
0 Comments
·
i cant get this command to work administrator/index.php?option=com_easysocial&;compile=1&minify=1
·
Monday, 17 October 2016 09:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi William,

yourdomain.com/administrator/index.php?option=com_easysocial&compile=1&minify=1
Can you try run this url whether its working or not?

Can you please create a new ticket in order to make it easier for us to manage in the future.
·
Monday, 17 October 2016 10:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post