Dear Jomsocial support team,
ISSUE SUMMARY:
I can't see any geolocalisation in the back end dashboard.
I have correctly set up the google map field code, I tried with several countries address.
Beyond that issue, I have a few questions regarding the geolocalisation of users :
- My users will be located in France, where there is no such thing as state, can I replace the state field with a zip code to help Google or should I just keep a FIELD_STATE unpublished therefore leave it blank
- I kept so far he country in the user profile description, but my community will be only localized in France, possibly belgium. There is no need to keep the country field, can I set the country as a constant somewhere and unpublish the country profile field ? Can I just reduce the country list to France and Belgium ?
Thank you for your precious help
STEPS TO REPLICATE:
1 login to backend using credentials provided below
2 go to com_community
3 check that there is no one neither in the google maps nor in the country and city list
4
5
RESULT
No one in the google maps
EXPECTED RESULT
Google maps showing dummy users location
BROWSER
SAfari, Chrome & Mozilla
Hi Julien,
you must execute the cron job first for collecting statistic data. here the doc about that:
documentation.jomsocial.com/wiki/Setting_Up_Cron_Job
1. about zip. you can changing it at jomsocial backend > configuration > integration, put State Field Code to ZIP
2. the country list is part of jomsocial core file. you can edit this file: /components/com_community/libraries/fields/countries.xml
Regards
Hi Albertus,
Thank you and sorry for forgetting the cron.
the state find is now the french zip code in the backend, however google maps does not show the precise location of my users. They are all located in the middle of France which I believe means that Google is only understanding the country. It is not very useful as all my users will be located in France...
Right now, my fields are :
Street Field Code --> address (number in the street and street name)
City Field Code --> City name
State Field Code --> Zip code (5 digits)
Country Field Code --> country
Do you have any clue why Google can't interpret what looks to me a precise description of the location ?
Many thanks for your insights,
Best regards,
Julien
Hi Julien
try using google map:
www.google.com/maps/
and try to put address, City name, Zip code, country
and check the result. the precise location depend from google it self.
Regards
Dear Albertus,
This is working very nicely in Google map, providing all these fields separated by commas ends up in correct geotagging.
What can I do next to check ?
Bests
Julien
Hi Albertus,
My jomsocial fields are right now :
Street Field Code --> address (number in the street and street name)
City Field Code --> City name
State Field Code --> Zip code (5 digits)
Country Field Code --> country
So for example, I tried with the following address :
Street Field Code --> rue des Remparts
City Field Code --> Saint-Malo
State Field Code --> 35400
Country Field Code --> France
Map in JS backend put the user in middle of France
maps.google.fr with Rue des remparts, Saint-Malo, 35400, France works like a charm
goo.gl/maps/jMxKn
Of course I tried with different addresses to be sure.
Thanks for your kind help.
Hi Julien,
at backend the members location only using country as location. this is by design, so this is not bug
you can put user voice at here:
uservoice.jomsocial.com/forums/101561-jo...ial-feature-requests
JomSocial is always looking for suggestions of how to improve
Regards
Hi Albertus,
Thanks for your support. I will ask for that kind of improvement that is always useful for local communities.
Last question, I need to push user geotagging in another component, do you have the field table and name where I could find the cron computed geotagging which is I believe positioning the user with the precise address.
Thanks,
Bests