Topic-icon JomSocial Facebook field mapping

Active Subscriptions:

None
13 years 9 months ago #25736 by sougatab
Under the "Profiles" option, there are some Jomsocial fields that are available. We are able to change the Facebook fileds on the right but the Jomsocial fields are fixed (on the left). We have multiple profiles and many fields. Some of the Jomsocial fields are not getting displayed in this screen.

How can we select the Jomsocial fields that need to be mapped with Facebook fields?
The topic has been locked.
Support Specialist
13 years 9 months ago #25742 by alzander
The only profile fields we currently allow importing into a text, textarea, date, or birthdate fields. If you're trying to import into a fixed options box (checkbox, select, dropdown, etc), we don't allow that. Almost all data from Facebook is freeform, allowing the user to type whatever they want. It's unlikely, if impossible, to make your options align so that the imported data will actually be imported correctly and searchable.

With all that said, all of the fields mentioned above should display, regardless of what profile type they are associated with. If you are missing fields that you need, let us know what type of field they are. If we can help you to add them, we will, but not all types of fields are possible to be imported into.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #25755 by sougatab
Thanks Alex for the response.

I guess Jomsocial URL field type cannot be imported. So I will try to change that field type to a text box and see if that can help.
The topic has been locked.
Support Specialist
13 years 9 months ago #25766 by alzander
URL can actually be added pretty easily. If you edit the /plugins/jfbcprofiles/jomsocial.php file, around line 527, update the line that looks like:
$query = 'SELECT * FROM #__community_fields WHERE type="text" OR type="textarea" OR type="date" OR type="birthdate" ORDER BY ordering';
to
$query = 'SELECT * FROM #__community_fields WHERE type="text" OR type="textarea" OR type="date" OR type="birthdate" OR type="url" ORDER BY ordering';
That will show the URL in the Profiles area of JFBConnect. Definitely test to make sure it shows and links properly in the front-end profile view for the user too.

We'll be adding this update to an upcoming release, but just haven't tested it enough yet. Your feedback is welcome!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 9 months ago #25773 by sougatab
Thanks Alex.
We'll change the code and test it.
The topic has been locked.
Support Specialist
13 years 9 months ago #25775 by alzander
Sounds good! Let us know how it goes.

Alex
The topic has been locked.