wordpress用户注册_如何允许用户邀请其朋友在WordPress中注册

wordpress用户注册

Do you run a site that has user registration option. One of the features that would be helpful to your site is giving your users the option to invite their friends to register. This feature is very common in almost all popular registration sites such as Twitter, Facebook etc. In this article, we will show you how to allow your users to invite their friends to register in WordPress.

您是否运行具有用户注册选项的网站。 对您的网站有用的功能之一是为您的用户提供邀请其朋友注册的选项。 在几乎所有流行的注册网站(例如Twitter,Facebook等)中,此功能都很常见。在本文中,我们将向您展示如何允许用户邀请其朋友在WordPress中进行注册。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

First thing you need to do is install and activate the plugin Invite Friends to Register. Upon activation, you will notice a new menu option added under Settings called Invite Friends.

您需要做的第一件事是安装并激活插件邀请朋友注册 。 激活后,您会注意到在“设置”下添加了一个名为“邀请朋友”的新菜单选项。

Invite Friends Settings

This is the page where you can modify the email subject, message such. Plenty of personalization tokens are available to make the email sound more personal.

这是您可以修改电子邮件主题,消息等的页面。 大量的个性化令牌可以使电子邮件听起来更加个性化。

Users can invite their friends from the backend by going to Users » Invite Friends. All they have to add is friend’s name and their email. User can add multiple emails at once.

用户可以通过转到用户»邀请朋友来从后端邀请朋友。 他们所需要添加的只是朋友的名字和他们的电子邮件。 用户可以一次添加多封电子邮件。

Invite Friends Backend

If your site doesn’t allow users to have a backend, which is how it should be in most cases. You can display this option in the front-end by using the function invite_friends() in your templates or a shortcode [invite_friends] in your post/page content. Below is the screenshot of how it looks. However you can customize the styling through your stylesheet.

如果您的网站不允许用户拥有后端,则在大多数情况下应该是这样。 您可以通过使用模板中的功能vital_friends()或帖子/页面内容中的短代码[invite_friends]在前端显示此选项。 以下是其外观的屏幕截图。 但是,您可以通过样式表来自定义样式。

Invite Friends Frontend

This plugin has the feature to store successful registered users in their inviter’s user meta data. Maybe you can show that as an honor badge in that user’s profile. Perhaps something like (Invited 5 users or something similar).

该插件具有将成功注册的用户存储在其邀请者的用户元数据中的功能。 也许您可以在该用户的个人资料中将其显示为荣誉徽章。 可能类似(邀请5个用户或类似的东西)。

It’d be really nice to see this plugin have the option to connect with popular API’s such as Gmail etc. This way users can import their entire friend list if they so choose to.

看到此插件可以选择与流行的API(例如Gmail等)连接,真是太好了。这样,用户可以选择导入整个朋友列表。

In the meantime, check out this plugin and see if it is a good fit for your site. Get Invite Friends to Register plugin.

同时,请检查此插件,看看它是否适合您的网站。 获取邀请朋友注册插件

翻译自: https://www.wpbeginner.com/plugins/how-to-allow-users-to-invite-their-friends-to-register-in-wordpress/

wordpress用户注册

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值