跳至内容
  • 登录
  • 注册
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 消息
  • 支持
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress

插件

  • 我的收藏
  • Beta测试
  • 开发者

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

下载

Gravity Forms Janrain Add-on

作者janrain, 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.
  • 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
  • 最后更新:10年前
  • 有效安装数量:10+
  • WordPress版本: 3.4 或更高版本
  • 最高兼容版本:3.5.2
  • 语言:
    English (US)
  • 标签:
    formssocial login
  • 高级视图

评级

此插件尚未被评级。

登录以提交评价。

贡献者

  • goldenapples

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 消息
  • 主机
  • 捐助
  • Swag
  • 文档
  • 开发者
  • 参与
  • 学习
  • 展示站点
  • 插件
  • 主题
  • 区块样板
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隐私
  • Public Code
WordPress.org
WordPress.org

China 简体中文

  • 访问我们的 Facebook 公共主页
  • 关注我们的 Twitter 账号
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
代码如诗