× Joomla Facebook Connect support forum

Topic-icon map profile / fields missing

Active Subscriptions:

None
14 years 8 months ago #13519 by remington
hello,
update went perfect so I'm on 4.0.1 now.
But also in the new version there are fields missing (also in previous version). The page where I can map my jomsocial fields to facebook fields the really important fields gender and birthdate are completely missing. I have no chance to map the facebook fields to them because these jomsocial fields aren't shown in the list.
what's wrong here?
The topic has been locked.
Support Specialist
14 years 8 months ago #13531 by alzander
You likely read another post on the forums on how to add those fields manually. By default, we only show text and textarea type fields. We're working on a better way to show more fields, but it's going to cause some confusion as not every field from Facebook (which is text) will map nicely into select, date, or radio fields.

To show the extra fields, you'll need to make a minor change to /plugins/jfbcprofiles/jomsocial.php. In the getProfileFields function, around line 414, add the select and radio portion to the query below:
$query = 'SELECT * FROM #__community_fields WHERE type="text" OR type="textarea" OR type="date" OR type="select" OR type="radio" ORDER BY ordering';

Hope that helps, but if you have other issues, just let us know,
Alex
The topic has been locked.