Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Friends Locations

3 years 4 weeks ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

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


Attachments:
3 years 4 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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!

3 years 3 weeks ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

I have the Google API Key installed and in my backend it is showing as present in the intergrations section. Do you have any other ideas as to what the problem could be please

3 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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

3 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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');

find this code :
script.src = "'.$scheme.'://maps.google.com/maps/api/js?sensor=false&callback=plgFriendsLocInitializeMap";
replace to :
script.src = "https://maps.googleapis.com/maps/api/js?' . ($apikey ? ('key=' . $apikey . '&') : '') . 'callback=plgFriendsLocInitializeMap";

I hope it will fix the issue.

thank you!

3 years 3 weeks ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

This is the changed files but it completley wipes out the website when i upload and reactivate the plugin

3 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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

3 years 3 weeks ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

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

3 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Nigel,

Would you mind provide me FTP access, please? i will check directly.

thank you!

3 years 3 weeks ago
  • Nigel's Avatar
    Topic Author
  • Nigel
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Licenses:
JomSocial Active Socialize Expired

Hi Dimas. ill send you ftp access in a private message as im unsure if they would appear in public domain in this thread.

Thank you for your help

3 years 2 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Nigel,

Did you change the backend access? because its not working right now.

thank you!

3 years 2 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW