I see cover and avatar also will store in social_photo
how to know what photo is cover / avatar? in social_photo table
It based on the #__social_avatar and #__social_cover `photo_id` columns.
For example : if the #__social_avatar photo id is 4, mean it will associated with the #__social_photo table id.
In field_data Table :
I guess id in unique key , uid is user id
field_id in field_data table? what that ?
datakey ? some got name,last middle , some blank? should have ?
In social_users Table:
social_params < this should store the data, so long. What is the most simple value I need to enter for a profile ?
when the user save their profile, it will store those custom field user data in this table #__social_fields_data , let me explain the table structure :
1. id - it will auto increment the id and this is primary key
2. field_id - is based on your custom field id which under this table #__social_fields
3. uid - if that is user custom field, this uid is belong to his user id , if that is group/event/page, it will store those group/event/page id
4. type - if that is user custom field data, it will store it as `user`
5. datakey - The reason why those custom field data got the datakey is because 1 custom field it actually contain a few data like what you mentioned in earlier (name, last, middle, first), this one you have to try save one of the existing site user profile, so it will store again for those data in this table.
To simply check the user data from this table, you have use following sql query to check :
// Remember replace #__ to your current table prefix
// uid is your user id
select * from #__social_fields_data where `type` = 'user' and `uid` = 11;
6. data - this column is store what user enter the data from the custom field
8. raw - this column is store what user enter the data from the custom field
Can a photo without the any value in social_photo_meta?
Hm, it required to have those `path` data, if not it will not populate the image on the page, you can refer on my attached screenshot below.