Hi,

it's great that you can map FB fields to your user fields. Is Profile2 support considered as well?

Comments

quicksketch’s picture

Is Profile2 support considered as well?

No, I don't plan on supporting Profile2, though support could be added through an add-on module.

Anonymous’s picture

Ok, thanks.

quicksketch’s picture

Status: Active » Closed (won't fix)
pfrenssen’s picture

Title: Support for Profile2 field mapping? » Provide integration with the Profile2 module
Status: Closed (won't fix) » Needs review
StatusFileSize
new7.24 KB

Here is an add-on module that adds support for Profile2.

pfrenssen’s picture

StatusFileSize
new7.23 KB

Fixed an issue that occurs when a field has been assigned to a FB parameter and subsequently removed, causing the error:

Cannot access empty property in sites/all/modules/contrib/fboauth/includes/fboauth.field.inc on line 157

Diff with version in #4:

-        if (isset($field_map[$field_name]) && isset($field_convert_info[$field['type']]['callback'])) {
+        if (!empty($field_map[$field_name]) && isset($field_convert_info[$field['type']]['callback'])) {
pfrenssen’s picture

StatusFileSize
new7.26 KB

No longer show an empty fieldset for profiles that have no fields added yet. Also fixed a trailing space :)

quicksketch’s picture

I'm still not very keen on including this with the FBOAuth module. I don't use Profile2, so I wouldn't make a very good maintainer of such code. Not to mention this module was designed to be light-weight, I don't think we should go beyond supporting what's in Drupal core.

pfrenssen’s picture

Ok I understand. This should be a separate project, so it does not bloat the module for the majority of users that doesn't need this functionality. I'll move this to a sandbox project.

jnpwebdeveloper’s picture

I'd really like to see this add on moved to a seperate project. I use profile2 and can make good use of this. Have you already ported it to a sandbox project? Thanks for your work.

pfrenssen’s picture

No I haven't but this shouldn't be too much work. Now that I know there is some interest in this I'll try to do it soon.

pfrenssen’s picture

Status: Needs review » Fixed

This module is now available as a sandbox project.

See http://drupal.org/sandbox/pfrenssen/1418226

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gateone’s picture

Erm, I am sorry, but the Sandbox as stated is empty...

pfrenssen’s picture

@gateone, it is not empty, you can check out the code with the following git command (this is mentioned in the "Version control" tab on the project page):

git clone --branch 7.x-1.x http://git.drupal.org/sandbox/pfrenssen/1418226.git facebook_oauth_profile2_integration

I will add this information to the project page so it is easy to find.

If you have any problems using the sandbox module in the future, then I'd like to invite you to post an issue in the issue queue at the sandbox page rather than in this closed issue. You have a better chance to get a response there.

pfrenssen’s picture

I have promoted this to a full project, you can get it at http://drupal.org/project/fboauth_profile2

infines’s picture

Component: Code » Documentation
Status: Closed (fixed) » Active

A link to this module should be added to the front page for people looking for this functionality.

quicksketch’s picture

Status: Active » Fixed

Sure, added Facebook Rules as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.