Nearby Users Map

From HAA Best Practices Wiki
Revision as of 21:00, 15 January 2009 by WikiSysop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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