====== Paid Member Subscriptions ======
Reference: https://wordpress.org/plugins/paid-member-subscriptions/
* 这个plugin在website中主要应用于:登录,账户表单,忘记密码,订阅计划等功能的实现。
===== 登录表单 =====
* 1. 创建一个新页面并对其进行适当命名,例如Login或类似的东西
* 2. 使用文本编辑器[Text],添加[pms-login]短代码
* 3. 点击“Publish”
* {{:course:wordpress_tutorials:paid_member_subscriptions:1.png?600|}}
参数:
* [ pms - login redirect_url = “” register_url = “” lostpassword_url = “” ]
* (1) redirect_url - 成功登录后,会将用户重定向到您选择的网址
* (2) register_url - 添加注册表单的链接
* (3) lostpassword_url - 添加“ 恢复密码表单” 的链接
网站登录表格如下:
* {{:course:wordpress_tutorials:paid_member_subscriptions:2.png?600|}}
===== 会员帐户表单 =====
* 1. 创建一个新页面并对其进行适当命名,例如Account或类似的东西
* 2. 使用文本编辑器(不是Visual)添加[pms-account]短代码
* 3. 点击“Publish”
帐户表格将允许您的会员查看,升级,续订,取消或放弃他们的订阅计划,以及修改他们的信息,如网站上的电子邮件,名字,姓氏和密码。
要升级,续订,取消或放弃订阅计划,用户需要登录并单击“帐户表单”中显示的“View Details”链接。(如果没有任何的订阅计划,则不会有“View Details”)
* {{:course:wordpress_tutorials:paid_member_subscriptions:3.png?600|}}
* {{:course:wordpress_tutorials:paid_member_subscriptions:4.png?600|}}
===== 忘记密码 =====
* 1. 创建一个新页面并对其进行适当命名,例如Recover Password或类似名称
* 2. 使用文本编辑器(不是Visual)添加[pms-recover-password]短代码
* 3. 点击“Publish”
* {{:course:wordpress_tutorials:paid_member_subscriptions:5.png?600|}}
redirect_url - 在成功恢复密码后,将用户重定向到您选择的网址(例如:会员中心页面)
* {{:course:wordpress_tutorials:paid_member_subscriptions:6.png?600|}}
===== 订阅计划 =====
在Dashboard>Paid Member Subscriptions>Subscription Plans中Add/Edit Subscription Plans
* {{:course:wordpress_tutorials:paid_member_subscriptions:7.png?600|}}
* 1. 点击[Add New] button,根据实际情况输入Subscription Plans name,Description, Duration, Price, Status等,然后点击[Save Subscription] button.
* {{:course:wordpress_tutorials:paid_member_subscriptions:8.png?600|}}
当Status =Active时,Subscription Plan会在注册表单上显示,反之则不会。
* {{:course:wordpress_tutorials:paid_member_subscriptions:9.png?600|}}
* 2. Edit Subscription Plans与Add Subscription Plans操作类似。
===== 其他功能 =====
* 1. Dashboard>Paid Member Subscriptions>Members,可以查看所有的user
* {{:course:wordpress_tutorials:paid_member_subscriptions:10.png?600|}}
* 2. Dashboard>Paid Member Subscriptions>Payments,可以查看哪个用户在哪个时间订阅了哪个plan以及支付状态等。
* {{:course:wordpress_tutorials:paid_member_subscriptions:11.png?600|}}
* 3. Dashboard>Paid Member Subscriptions>Report,可以查看某个时间段的总收入,付款总数等。
* {{:course:wordpress_tutorials:paid_member_subscriptions:12.png?600|}}