ISSUE SUMMARY:
Friends locations does not display on profiles. "Sorry! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details."
Ive had a look to see if the plugin is set correctly and i think it is in plgn manager and in interactions in jomsocial dashboard can anyone help please
Its getting a little frustrating
Hi Nigel,
Your google map API key is missing, please you set it first on Jomsoical configuration->integration->Google API key to load maps and google related services Google API Key, to get the key please check this
developers.google.com/maps/documentation/javascript/get-api-key
thank you!
Hi Nigel,
Seems this is valid bug, which the API key is not be assigned on friends location code, please you wait the patch for it
thank you
Hi Nigel,
For fixing this, please you open this file plugins/community/myfriendslocation/myfriendslocation.php, add this code after line 81 :
$config = CFactory::getConfig();
$apikey = $config->get('googleapikey');
script.src = "'.$scheme.'://maps.google.com/maps/api/js?sensor=false&callback=plgFriendsLocInitializeMap";
script.src = "https://maps.googleapis.com/maps/api/js?' . ($apikey ? ('key=' . $apikey . '&') : '') . 'callback=plgFriendsLocInitializeMap";
please dont re-upload the package because it will replaced this patch, now you only need apply the patch dont need to re-activate the plugin
My bug is not fixed
these are the alterations that were made on the advice yu gave. when this file is uploaded back to the server and i try to activate friends locations it shuts my website front end down
this bug is not fixed
Hi Nigel,
Would you mind provide me FTP access, please? i will check directly.
thank you!
Hi Nigel,
Did you change the backend access? because its not working right now.
thank you!
Hi Nigel,
Please try to use this plugin for fixing the issue
www.dropbox.com/s/7dzd1mjgiu07lvm/plg_my...ndslocation.zip?dl=0
thank you!