Nearby Users Map

From HAA Best Practices Wiki
Jump to navigationJump to search

GMapsPro converts the street address of a user into the latitude/longitude that's required to map a location when you display the Nearby Users Map. We need the conversion function, but, in general, we don't want to display the map, so we modified the map program to suppress the display.

If you really want the map back, you can edit the following file:

..\components\com_comprofiler\plugin\user\plug_cbmapuser\mapnearbyuserstab.class.php

Search for #WHB, remove the line "return;" and the two surrounding comment lines that start with #WHB.

Now your Nearby User map should display on the user profile. (Assuming you have gone to Joomla->Components->Community Builder->Tab Management and published it.)

Return to GMaps How-To's