跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Gravity Forms Janrain Add-on

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Gravity Forms Janrain Add-on

由 goldenapples 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

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
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.
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.

常見問題集

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!

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

將〈Gravity Forms Janrain Add-on〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 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 或更新版本
  • 已測試相容的 WordPress 版本 3.5.2
  • 語言
    English (US)
  • 標籤:
    formssocial login
  • 進階檢視

評分

這個項目尚無任何評論記錄。

Your review

查看全部使用者評論

參與者

  • goldenapples

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.