× Joomla Facebook Connect support forum

Topic-icon Connect with CB

Active Subscriptions:

None
14 years 11 months ago #11243 by fb_673054842
Connect with CB was created by fb_673054842
There is only limited fields can be mapped.
As I create a field such as Gender/Sex in Community Builder, it cannot be selected in JFBConnect CB Profile Import
How can I map any fields I created?
If it cannot do this, I don't think this plugin. is valuable.

Pls reply me ASAP, otherwise I will refund due to the useless plugin.
The topic has been locked.
Support Specialist
14 years 11 months ago #11248 by alzander
Replied by alzander on topic Connect with CB
For importing profile information, you can currently only do it using text type fields. Since Facebook usually returns arbitrary user-entered data for most fields, there's no way to map this to a drop-down or other type of field you create in CB (there's no way to create the mapping).

However, with that said, if you want to show the additional types of fields from CB in the mapping area (radio, selects, etc), you can follow the steps below to show the extra radio and select fields in the Field Mapping area of JFBConnect. Just make sure you do some testing to make sure that what Facebook returns is exactly what you have in your possible values in the Gender field, or else it may cause issues (which is why we don't enable these by default):

The modification: In /plugins/jfbcprofiles/communitybuilder.php, at ~line 343, add the following to the end of the line:
OR type="date" OR type="radio" OR type="webaddress" OR type="select"';

Hope that helps, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #11255 by fb_673054842
Replied by fb_673054842 on topic Connect with CB
Great!
My problem is totally solved!

Thank you so much.

This is exactly the plugin I want.

Futher more, would you pls advice me how to modify the other 4 3rd party software such as virtue mart......?
The topic has been locked.
Support Specialist
14 years 11 months ago #11260 by alzander
Replied by alzander on topic Connect with CB
Fantastic, glad you got that setup how you want. We don't like having to make our users make code changes, but we also like to protect them from issues without a lot of warning. Definitely test that settings to make sure it's importing the values you want and that CB treats it properly.

As for VM, we're working on a guide for how to easily add Like/Comments to products and will be integrating an automated method into the next major release (July). Until then, a few quick steps for generic integration into any components is:
1) Use the JFBCLike or JFBCComments module (or any other module) to easily add those widgets to a template position. If you leave the URL blank in the parameters, then the Like will be for whatever page the button is displayed on.
2) For deeper integration into a view or inner-portions of a components view, you can edit the components template/view files and add any of the JFBConnect easy tags like {JFBCLike}, {JFBCComments}, etc. You can see the full list of example tags on the page below, or by going to the Examples tag in the Social configuration area of JFBConnect:
www.sourcecoast.com/jfbconnect/docs/conf...ation-guide?start=13

Hope this helps get you setup how you want, but of course, if you need more information or help, you know where to find us!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #11273 by fb_673054842
Replied by fb_673054842 on topic Connect with CB
hi,

I just want to know how to map non-text type feilds for others software such as Kunena, VirtueMart, K2, Agora etc such as CB you told me before .
The topic has been locked.
Active Subscriptions:

None
14 years 11 months ago #11278 by fb_673054842
Replied by fb_673054842 on topic Connect with CB
Sorry,

but nothing can be mapped except Username, Name and Email.

the feild inf profile can only be selected but not mapped
The topic has been locked.