If you turn it off then the plug in stops working out their location when they save.For what is this option?
Could anybody eleborate this option?
Enable automatic geo-location when a user saves their profile
Pretty sure it does . Think that was the first place I added it .Is there an easy way to have the map show up under Members > User Map on my forum:
For what is this option?
Could anybody eleborate this option?
Enable automatic geo-location when a user saves their profile
If you turn it off then the plug in stops working out their location when they save.
When checked the user's location is decoded when they save their profile. When unchecked, the user cannot effectively update their pin location.@CrispinP, sorry but I still don't get it.
If this option is turned off then their usermap field is not saved or what?
What this option do regarding user map location/field/map?
And another question, If I set to turn off usermap custom field and use default location field, what will be happened with users that have stupid locations entries (planet earth, sfsefe, etc...)? Will they have pin on map or not?
if yes, how to disable their pins until they put some normal location?
So in short, I have to turn it on, for my users be able to add their location and show on usermapWhen checked the user's location is decoded when they save their profile. When unchecked, the user cannot effectively update their pin location.
The reason it's there to turn on and off is that if Google rejects your query then the user profile does not actually get saved.
So, to stop the add-on causing trouble for your whole site I allow you to turn it on and off.
If you leave it off then nothing will update as you expect it.
Correct, but they can be able to see usermap because they have something filled in field.Nothing - they will not encode and the user will not have a pin. That is exactly why I have two fields :-
If you put in something, in either field, which google does not understand, then they will not get a pin on the map.
- One for the comedians who want "far far away" as their public location and
- One for the map location
I added "®ion=au" to the Google Geo-Encoding API URL @ /admin.php?options/list/crispin_usermaps ( making it https://maps.googleapis.com/maps/api/geocode/json?sensor=true®ion=au ) as per https://developers.google.com/maps/documentation/geocoding/intro#RegionCodes and all seems to still be working fine.
That's very good to know. I can add a default region. Thanks for the feedback.
Updates should not break it. I'll include the default region into the next release if it does not break anything.
Lol, your English is better than my Croatian Nothing wrong with what you're sayingI am not sure that I expressed my self clear.
My english is complicated sometimes
I just ask is there a solution that if user put some strange value that google can not read, than Pin will not be set, and user field will be cleared (not saved).
And with that option, permission set so all usergroups (except guests) can see map, but only users which have valid pin on map.
We use essential cookies to make this site work, and optional cookies to enhance your experience.