{"id":21260,"date":"2012-12-19T19:26:52","date_gmt":"2012-12-19T19:26:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/gravity-forms-janrain-add-on\/"},"modified":"2013-08-19T18:07:14","modified_gmt":"2013-08-19T18:07:14","slug":"gravity-forms-janrain-add-on","status":"publish","type":"plugin","link":"https:\/\/snd.wordpress.org\/plugins\/gravity-forms-janrain-add-on\/","author":6133823,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.3","tested":"3.5.2","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Gravity Forms Janrain Add-on","header_author":"janrain, goldenapples","header_description":"","assets_banners_color":"","last_updated":"2013-08-19 18:07:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/janrain.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2186,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.2":"<p>Version 0.2 fixes a critical bug in the app configuration settings which\nprevented the plugin from working with any apps other than internal Janrain\napps. If you&#039;ve been trying to get the plugin working without luck, try this\nupgrade.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1a","0.1b","0.2","0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"641918","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"641918","resolution":"2","location":"assets"}},"screenshots":{"1":"The field added when you click the 'Social Login' field button (in the\n\"Advanced Fields\" section.","2":"To enable social prefill on a field, check the \"Prefill this field\" option\nand select the data you wish to use to prefill it from the dropdown."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[33611,601,2056],"plugin_category":[42],"plugin_contributors":[79637],"plugin_business_model":[],"class_list":["post-21260","plugin","type-plugin","status-publish","hentry","plugin_tags-form-prefill","plugin_tags-forms","plugin_tags-social-login","plugin_category-contact-forms","plugin_contributors-goldenapples","plugin_committers-goldenapples"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gravity-forms-janrain-add-on.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/gravity-forms-janrain-add-on\/assets\/screenshot-1.png?rev=641918","caption":"The field added when you click the 'Social Login' field button (in the\n\"Advanced Fields\" section."},{"src":"https:\/\/ps.w.org\/gravity-forms-janrain-add-on\/assets\/screenshot-2.png?rev=641918","caption":"To enable social prefill on a field, check the \"Prefill this field\" option\nand select the data you wish to use to prefill it from the dropdown."}],"raw_content":"<!--section=description-->\n<p>This plugin allows you to integrate your existing Janrain Engage sign-in\napplication with any form in Gravity Forms and use users' social profile data to\nprefill fields.<\/p>\n\n<p>After activating the plugin and entering your Engage app settings on the <strong>Forms &gt;\nJanrain Settings<\/strong> page, a \"Social Login\" field will be added to the list of\navailable fields in Gravity Forms. All other fields will have a new setting for\n\"Prefill from:\", where you can elect to let that field be prefilled from the\nsocial profile data, and choose which data to use as a prefill.<\/p>\n\n<p>Works with the free Basic app available from Janrain - sign up at\nhttp:\/\/rpxnow.com - although some extended profile data fields are only\navailable with the Plus level ($10\/mo - see \n<a href=\"http:\/\/janrain.com\/products\/engage\/engage-pricing\/\">Janrain Engage Pricing<\/a> \nfor more information.)<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Extract the zip file and just drop the contents in the <code>wp-content\/plugins\/<\/code>\ndirectory of your WordPress installation and then activate the Plugin from\nPlugins page.<\/li>\n<li>Enter your Engage app info (which can be found on your dashboard at\ndashboard.janrain.com) on the settings page (<strong>Forms &gt; Janrain Settings<\/strong>). \nChoose the providers you would like to enable social signin from there.<\/li>\n<li>Add \"Social Login\" fields to any forms you would like to enable social\nprefill for, and set the \"Prefill with\" value for each of the fields which \nyou would like to pull info from the social profile.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p><strong>I can't find (Facebook\/Twitter\/other provider) in the list of available\nproviders.<\/strong><\/p>\n\n<p>Some providers require configuration in order to be available. To use Facebook\nlogin through Janrain Engage, for example, you will have to create an app on\nFacebook, and give those credentials to your Engage app.<\/p>\n\n<p>Luckily, there are current step-by-step directions on the Engage dashboard. Go\nto the \"Setup Widget\" page on your Janrain dashboard (find it under\n<strong>Deployment &gt; Sign-in for Web<\/strong>; open the <strong>Providers<\/strong> section of the\nsidebar). Each of the providers which requires configuration will have a gray\ngear icon next to it; click that icon and follow the wizard steps.<\/p>\n\n<p><strong>I want to be able to access a field that a provider offers, but it's not\npopulating in my forms.<\/strong><\/p>\n\n<p>Some profile fields require requesting extended profile data. You can configure\nthe permissions your app requests of the user on an \"a la carte\" basis from your\nrpxnow dashboard under <strong>Deployment &gt; Provider Configuration<\/strong>. (Keep in mind\nthat asking users for too many permissions is more likely to scare them away -\n<a href=\"http:\/\/janrain.com\/blog\/when-collecting-social-profile-data-dont-be-a-creeper\/\">don't be a creeper<\/a>!<\/p>\n\n<p><strong>NOTE<\/strong>: some extended profile fields are only available to Plus or higher\nservice levels.<\/p>\n<dl>\n<dt>How can I add more prefill fields beyond the default ones?<\/dt>\n<dd><p>This plugin has been designed to be easy to extend. If you want to add more\nfields, you will need to hook a function to the filter <code>janrain_gforms_profile_data<\/code> \nthat defines the name of the field you want to add, and the function to get its\ndata. This filter recieves the array of core fields as its argument, so if you\nneed to redefine one of the core fields, this is the place to do that as well.<\/p>\n\n<p>For example, the following code will make a new field available called\n\"religion\"; which pulls any data the user has entered as their \"religion\" on\nFacebook (or any other provider that includes that field):<\/p>\n\n<pre><code>add_filter( 'janrain_gforms_profile_data', 'add_religion_field' );\n\nfunction add_religion_field( $fields ) {\n    $fields['religion'] = array(\n        'name' =&gt; 'Religion',\n        'function' =&gt; 'religion_field'\n    );\n    return $fields;\n}\n\nfunction religion_field( $profile ) {\n    return $profile-&gt;merged_poco-&gt;religion;\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>Bugfixes: Fixed Javascript error that was making it impossible to update field settings\nusing Chrome browser in recent versions of WordPress<\/li>\n<li>Enhancements: Added more providers that have been added to the Janrain\nproduct since this plugin was last updated, including Google+, Instagram,\nXING, and MYDIGIPASS.COM.<\/li>\n<li>Updated some help text and links in admin settings pages.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Bugfixes: typos in configuration settings prevented plugin from working with \nany apps other than Janrain internal ones. <em>(a pretty big problem)<\/em><\/li>\n<li>Enhancements: Minor display enhancements to plugin settings screen and help text.<\/li>\n<\/ul>\n\n<h4>0.1a<\/h4>\n\n<ul>\n<li>Initial commit<\/li>\n<\/ul>","raw_excerpt":"Integrate Gravity Forms with Janrain Engage social login to pre-fill forms.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21260"}],"author":[{"embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/goldenapples"}],"wp:attachment":[{"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21260"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21260"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21260"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21260"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21260"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/snd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}