scott74
Forum Replies Created
-
Forum: Plugins
In reply to: [Amazon Web Services] adding secret key nothing happensResolved
Forum: Plugins
In reply to: [Janrain Social Login] Birthday and Mobile Phone FacebookThanks I never would have found that page.. I enabled and ran another test.
It returned b day this time but in reverse of how gravity forms form fields stores it
“birthday”: “1974-08-14”,
MM/DD/YYYY
I guess maybe why its not pulling it in…. Thanks for your help though I will have to keep trying to figure out
Forum: Plugins
In reply to: [Janrain Social Login] Birthday and Mobile Phone FacebookPs…. I am only using Facebook as a login for the form to be populated if that mattters
Forum: Plugins
In reply to: [Janrain Social Login] Birthday and Mobile Phone FacebookThanks Juanm but I dont see anywhere in my account to enable?? I have checked everywhere and the link you provided just takes me to the main app page
Is there something missing in that url/ part of it looks ?
http://screencast.com/t/yHMnfUoNUL
This is my app name if this is what you meant
https://rpxnow.com/relying_parties/STL-Birthday-Club/
I’m just not seeing any check boxes to enable anything like birthday..
Please advise, sorry for the trouble and really appreciate the help
Forum: Plugins
In reply to: [Gravity Forms Janrain Add-on] Pulling Date of BirthCant seem to get any of these fields workign
add_filter( 'janrain_gforms_profile_data', 'add_more_fields' ); function add_more_fields( $fields ) { $fields['birthday'] = array( 'name' => 'Birthday', 'function' => 'birthday_field' ); $fields['gender'] = array( 'name' => 'Gender', 'function' => 'gender_field' ); $fields['photo'] = array( 'name' => 'Photo', 'function' => 'photo_field' ); return $fields; } function birthday_field( $profile ) { return $profile->merged_poco->birthday_date; } function gender_field( $profile ) { return $profile->gender; } function photo_field( $profile ) { return $profile->photo; } function cellphone_number( $profile ) { if ( isset( $profile->phoneNumbers ) && is_array( $profile->phoneNumbers ) ) { foreach ( $profile->phoneNumbers as $number ) { if ( in_array( $number->type, array( 'mobile', 'personal', 'cellular') ) ) return $number->value; } } // Backup. If nothing is set as a mobile or cell number, you might just // want to use their default number. if ( isset( $profile->profile->phone ) ) return $profile->profile->phone; }Noticed Fb has alternate for bday of birthday_date but not sure how to write that in here
https://developers.facebook.com/docs/reference/fql/user/
Any help would be appreciated in getting bday working.. I am using the gravity forms date picker field MM/DD/YYY
Thanks
Forum: Plugins
In reply to: [Janrain Social Login] Birthday and Mobile Phone FacebookPs.. I noticed their birthday api has also a birthday_date for mm/dd/yyyy same format as my gravity form.
Would this need to be implemented in the function.. How would you do so?
Forum: Plugins
In reply to: [Janrain Social Login] Birthday and Mobile Phone FacebookBy the way here is what came back… I did not see birthday in here, where would i check permissions
{ "stat": "ok", "profile": { "providerName": "Facebook", "identifier": "http://www.facebook.com/profile.php?id=1179665512", "verifiedEmail": "scott74@msn.com", "preferredUsername": "ScottHeliker", "displayName": "Scott Heliker", "name": { "formatted": "Scott Heliker", "givenName": "Scott", "familyName": "Heliker" }, "email": "scott74@msn.com", "url": "https://www.facebook.com/scott.heliker", "photo": "https://graph.facebook.com/1179665512/picture?type=large", "utcOffset": "-06:00", "address": { "formatted": "St. Louis", "type": "currentLocation" }, "gender": "male", "providerSpecifier": "facebook" } }Forum: Plugins
In reply to: [Janrain Social Login] Birthday and Mobile Phone FacebookThanks Juanm…. I got this from the dev for the gravity forms janrain plugin…. would you be able to tell me how this should look by repasting the correct version so i can give it a go.
I really only know html and css and not real good with this stuff but would love to get it working… not sure what you meant by poco or how i should fix..
add_filter( 'janrain_gforms_profile_data', 'add_more_fields' ); function add_more_fields( $fields ) { $fields['birthday'] = array( 'name' => 'Birthday', 'function' => 'birthday_field' ); $fields['gender'] = array( 'name' => 'Gender', 'function' => 'gender_field' ); return $fields; } function birthday_field( $profile ) { return $profile->merged_poco->birthday; } function gender_field( $profile ) { return $profile->merged_poco->gender; } function cellphone_number( $profile ) { if ( isset( $profile->merged_poco->phoneNumbers ) && is_array( $profile->merged_poco->phoneNumbers ) ) { foreach ( $profile->merged_poco->phoneNumbers as $number ) { if ( in_array( $number->type, array( 'mobile', 'personal', 'cellular') ) ) return $number->value; } } // Backup. If nothing is set as a mobile or cell number, you might just // want to use their default number. if ( isset( $profile->profile->phone ) ) return $profile->profile->phone; }Forum: Plugins
In reply to: [Gravity Forms Remove Entries] Remove from trashah.. thanks for the fast reply.. dah lol…
ok
Forum: Plugins
In reply to: [Add Link to Facebook] Weird errors backendHere is a screen shot Marcel
Forum: Plugins
In reply to: [Add Link to Facebook] Weird errors backendHi Marcel, this is what I am getting back from host gator, not sure how to fix now?
Rebekah T.:For the error you are getting that domain is added to the curl user group. You would just want to take the error to the plugin developer and ask why it isn’t working.
Forum: Plugins
In reply to: [Add Link to Facebook] Weird errors backendBut enabling curl on my account didn’t seem to rectify it after logging back in today. Going to contact them again and see if we can fix 🙂
Forum: Plugins
In reply to: [Add Link to Facebook] Weird errors backendThanks Marcel, I had Host Gator enable Curl on my account. They said that should fix it…
Forum: Plugins
In reply to: [Add Link to Facebook] Weird errors backendNot able to send debug , including this link but saying invalid form topic