By Stefano Virgilli on Thursday, 17 October 2019
Posted in General Issues
Likes 0
Views 437
Votes 0
Hi, where in the database saves the country of a user?
I would like to count from how many countries we have users.
Hi there,

You can refer them here '#__social_fields_data' on 'address' datakey. You will need to check if there are data inside 'data' columns as well.

Please give it a try and see how it goes.
·
Thursday, 17 October 2019 18:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah, I was there already, but the data are all but uniform...
I see usernames, countries, cities, empty cells, first names, last names...
And I don't see the Address data key... Is there an SQL code I can run to show in how many countries our users are?
·
Friday, 18 October 2019 09:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Right now I can only count those who geolocate themselves... not those who chose their country manually.
·
Friday, 18 October 2019 09:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You should be able to see them as you can see here https://take.ms/hirh0. Can you provide with your Database access so that we can take look on those data?
·
Friday, 18 October 2019 10:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Found it. Thanks!
·
Friday, 18 October 2019 10:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 18 October 2019 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post