Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Jan 2012, 16:59
sacobra sacobra is offline
 
Join Date: Mar 2010
Question Capture additional information during Facebook registration - First, Last Name

Hello,

I have 2 custom profile fields - First & Last name. During Facebook registration, these details are also passed to the code since these are public.

I've been trying to enable Facebook auto-registration & have been trying to get these 2 field info also from the FB authentication response and store it in the custom fields without success.

Below is what I've tried. Could someone figure out what I need to do more to get this working.

In functions_facebook.php, changed the below code to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Added 2 entires in table SETTINGS to enable the below in register.php - fb_userfield_first_name & fb_userfield_last_name

Added this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

However with these changes the first & last name are not getting populated in the custom fields.

Can anyone help me here.

Thanks.
Reply With Quote
  #2  
Old 07 Jan 2012, 02:10
sacobra sacobra is offline
 
Join Date: Mar 2010
Can anyone help?
Reply With Quote
  #3  
Old 17 Apr 2012, 19:18
sacobra sacobra is offline
 
Join Date: Mar 2010
Question How to populate custom profile fields during Facebook auto-registration?

How to populate custom profile fields during Facebook auto-registration?

In hook fb_auto_register added the following code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This resulted in a redirect to fbdoredirect=1

Even this didn't help

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Anyone here getting custom profile fields populated during Facebook auto-registration?
Reply With Quote
  #4  
Old 27 Apr 2012, 07:29
sacobra sacobra is offline
 
Join Date: Mar 2010
SOLVED.

The array is being requested as reference. So need to create the array and assign the array variable to the set_userfields method.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:27.

Layout Options | Width: Wide Color: