We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Insert default location? - Google Maps Location | Forum

fbkca
fbkca Nov 6 '13
Hi, 


I'm hoping you can help. I've migrated from another system which wasn't able to bring over their location data. However, Can you tell me how it would be possible to insert a default location for ALL users that do not have anything set?


I'm hoping I can simply do a mysql insert command...


Thanks

The Forum post is edited by fbkca Nov 6 '13
jk
jk Nov 7 '13

Hi, 

Location plugin store data about users location to `ow_googlelocation_data` table.

You can fill location one of users on your site, 

and copy his record from `ow_googlelocation_data` with another userId.

fbkca
fbkca Nov 7 '13
OK thanks, that is what I am doing. Does the data need to be inserted into the ow_googlelocation_data table too?
jk
jk Nov 7 '13
Yes, you need to copy record fromow_googlelocation_data table into the same table with another userId.
fbkca
fbkca Nov 7 '13
Ok, thanks for confirming.
You do not have permission to reply this topic