• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

MapMe - Users Google Map

PS:
Xenforo have already a "location" field, where the user can save where he lives;)
And this links to google map*g*
 
PS:
Xenforo have already a "location" field, where the user can save where he lives;)
And this links to google map*g*

Ok, so been trying to think my way through this before getting a plan together to change the way the marker entry works. Just wanna confirm I have the right idea.

Listen to the event "load_class_datawriter" ...... Need to establish which one updates the profile when it is saved and extend that class to that when saved it geocodes the location if possible and makes an entry into my markers table with the relevant lon/lat coordinates?
 
Ooooo ... if its XenForo_DataWriter_User then need to get $settings['location'], send that though the geocoder to get lon/lat and update my table :)
 
Top Bottom