[wordpress插件] Apple Passbook Gateway苹果存折网关

wordpress 插件 文章 2020-02-20 03:10 488 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The plugin provides integration with Apple passbook server hosted by Rush Project, Inc.

该插件提供了与Rush Project,Inc.托管的Apple存折服务器的集成。

The Apple Passbook Gateway employs Rest API to generate and retrieve membership cards from the server.

Apple Passbook Gateway 使用Rest API从服务器生成和检索会员卡。

The cards are built using information (email, name etc) of currently logged in user.

这些卡是使用当前登录用户的信息(电子邮件,姓名等)构建的。

The plugin also calculates email hash, which is suitable for retrieving user photo from Gravatar site.

该插件还计算电子邮件哈希值,适用于从Gravatar网站检索用户照片。

The photo may be used for the pass thumbnail image.

该照片可以用作通过缩略图。

The plugin requires account with the Pass Gate server – free trial is available for you to evaluate the technology.

该插件需要使用Pass Gate服务器的帐户-您可以免费试用以评估该技术。

Demo site is available here.

可在此处访问演示站点。

>

>

安装步骤

    1. Install Apple Passbook Gateway either via the WordPress.org plugin directlry, or by uploading the files to your server.

      通过WordPress.org插件Directlry或通过将文件上传到服务器来安装Apple Passbook Gateway。

    2. Activate plugin.

      激活插件。

    3. Create pass template and generator on Pass Gate server.

      在Pass Gate服务器上创建通行模板和生成器。

      Use sample “wordpress” template instead of starting from scratch with all new template.

      使用示例“ wordpress”模板,而不要从头开始使用所有新模板。

      The “wordpress” template is identical to the one used in the demo.

      “ wordpress”模板与演示中使用的模板相同。

    4. Use plugin settings menu (Dashboard/Settings/Passbook Gateway) to supply Rest API connection info – the page provides a link to setup free trial account with Pass Gate.

      使用插件设置菜单(仪表板/设置/存折网关)来提供Rest API连接信息-该页面提供了指向通行证Gate设置免费试用帐户的链接。

    5. Place the [passbook-member-card] short code on appropriate page of your site.

      在您网站的适当页面上放置[passbook-member-card]短代码。

      The short code will generate either member card download link or, if visitor is not logged in, login form.

      短代码将生成会员卡下载链接,或者如果访客未登录,则生成登录表单。

      You may provide link text using option parameter “title”: [passbook-member-card title=”Clip your card!”]

      您可以使用选项参数“标题”提供链接文本:[passbook-member-card title =“剪辑您的卡!”]

    "}];jQuery(function(){$("#article_content").find("a").each(function(){var url =$(this).attr("href");for(var i=0;i"+c+"

    ");} } }) })