Title: Gravity Forms Janrain Add-on
Author: goldenapples
Published: <strong>2012年12月19日</strong>
Last modified: 2013年8月19日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/gravity-forms-janrain-add-on.svg)

# Gravity Forms Janrain Add-on

 作者: [goldenapples](https://profiles.wordpress.org/goldenapples/)

[ダウンロード](https://downloads.wordpress.org/plugin/gravity-forms-janrain-add-on.0.3.zip)

 * [詳細](https://ja.wordpress.org/plugins/gravity-forms-janrain-add-on/#description)
 * [レビュー](https://ja.wordpress.org/plugins/gravity-forms-janrain-add-on/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/gravity-forms-janrain-add-on/#installation)
 * [開発](https://ja.wordpress.org/plugins/gravity-forms-janrain-add-on/#developers)

 [サポート](https://wordpress.org/support/plugin/gravity-forms-janrain-add-on/)

## 説明

This plugin allows you to integrate your existing Janrain Engage sign-in
 application
with any form in Gravity Forms and use users’ social profile data to prefill fields.

After activating the plugin and entering your Engage app settings on the **Forms
>
 Janrain Settings
 page, a “Social Login” field will be added to the list of
 
available fields in Gravity Forms. All other fields will have a new setting for “
Prefill from:”, where you can elect to let that field be prefilled from the social
profile data, and choose which data to use as a prefill.

Works with the free Basic app available from Janrain – sign up at
 http://rpxnow.
com – although some extended profile data fields are only available with the Plus
level ($10/mo – see [Janrain Engage Pricing](http://janrain.com/products/engage/engage-pricing/)
for more information.)

## スクリーンショット

[⌊The field added when you click the 'Social Login' field button (in the
"Advanced
Fields" section.⌉⌊The field added when you click the 'Social Login' field button(
in the
"Advanced Fields" section.⌉[

The field added when you click the ‘Social Login’ field button (in the “Advanced
Fields” section.

[⌊To enable social prefill on a field, check the "Prefill this field" option
and
select the data you wish to use to prefill it from the dropdown.⌉⌊To enable social
prefill on a field, check the "Prefill this field" option
and select the data you
wish to use to prefill it from the dropdown.⌉[

To enable social prefill on a field, check the “Prefill this field” option and select
the data you wish to use to prefill it from the dropdown.

## インストール

 1. Extract the zip file and just drop the contents in the `wp-content/plugins/` directory
    of your WordPress installation and then activate the Plugin from Plugins page.
 2. Enter your Engage app info (which can be found on your dashboard at dashboard.janrain.
    com) on the settings page (**Forms > Janrain Settings**). Choose the providers 
    you would like to enable social signin from there.
 3. Add “Social Login” fields to any forms you would like to enable social prefill 
    for, and set the “Prefill with” value for each of the fields which you would like
    to pull info from the social profile.

## FAQ

**I can’t find (Facebook/Twitter/other provider) in the list of available
 providers.

Some providers require configuration in order to be available. To use Facebook
 
login through Janrain Engage, for example, you will have to create an app on Facebook,
and give those credentials to your Engage app.

Luckily, there are current step-by-step directions on the Engage dashboard. Go
 
to the “Setup Widget” page on your Janrain dashboard (find it under **Deployment
> Sign-in for Web**; open the **Providers** section of the sidebar). Each of the
providers which requires configuration will have a gray gear icon next to it; click
that icon and follow the wizard steps.

**I want to be able to access a field that a provider offers, but it’s not
 populating
in my forms.

Some profile fields require requesting extended profile data. You can configure

the permissions your app requests of the user on an “a la carte” basis from your
rpxnow dashboard under **Deployment > Provider Configuration**. (Keep in mind that
asking users for too many permissions is more likely to scare them away – [don’t be a creeper](http://janrain.com/blog/when-collecting-social-profile-data-dont-be-a-creeper/)!

**NOTE**: some extended profile fields are only available to Plus or higher
 service
levels.

  How can I add more prefill fields beyond the default ones?

This plugin has been designed to be easy to extend. If you want to add more
 fields,
you will need to hook a function to the filter `janrain_gforms_profile_data` that
defines the name of the field you want to add, and the function to get its data.
This filter recieves the array of core fields as its argument, so if you need to
redefine one of the core fields, this is the place to do that as well.

For example, the following code will make a new field available called
 “religion”;
which pulls any data the user has entered as their “religion” on Facebook (or any
other provider that includes that field):

    ```
    add_filter( 'janrain_gforms_profile_data', 'add_religion_field' );

    function add_religion_field( $fields ) {
        $fields['religion'] = array(
            'name' => 'Religion',
            'function' => 'religion_field'
        );
        return $fields;
    }

    function religion_field( $profile ) {
        return $profile->merged_poco->religion;
    }
    ```

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Gravity Forms Janrain Add-on はオープンソースソフトウェアです。以下の人々がこのプラグ
インに貢献しています。

貢献者

 *   [ goldenapples ](https://profiles.wordpress.org/goldenapples/)

[“Gravity Forms Janrain Add-on” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-janrain-add-on)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/gravity-forms-janrain-add-on/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/gravity-forms-janrain-add-on/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/gravity-forms-janrain-add-on/)
を [RSS](https://plugins.trac.wordpress.org/log/gravity-forms-janrain-add-on/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 0.3

 * Bugfixes: Fixed Javascript error that was making it impossible to update field
   settings
    using Chrome browser in recent versions of WordPress
 * Enhancements: Added more providers that have been added to the Janrain
    product
   since this plugin was last updated, including Google+, Instagram, XING, and MYDIGIPASS.
   COM.
 * Updated some help text and links in admin settings pages.

#### 0.2

 * Bugfixes: typos in configuration settings prevented plugin from working with
   
   any apps other than Janrain internal ones. _(a pretty big problem)_
 * Enhancements: Minor display enhancements to plugin settings screen and help text.

#### 0.1a

 * Initial commit

## メタ

 *  バージョン **0.3**
 *  最終更新日 **13年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 3.4またはそれ以降 **
 *  検証済み最新バージョン: **3.5.2**
 *  言語
 * [English (US)](https://wordpress.org/plugins/gravity-forms-janrain-add-on/)
 * タグ
 * [forms](https://ja.wordpress.org/plugins/tags/forms/)[social login](https://ja.wordpress.org/plugins/tags/social-login/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/gravity-forms-janrain-add-on/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/gravity-forms-janrain-add-on/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/gravity-forms-janrain-add-on/reviews/)

## 貢献者

 *   [ goldenapples ](https://profiles.wordpress.org/goldenapples/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/gravity-forms-janrain-add-on/)