wordpress添加媒体_如何在WordPress中添加私人消息系统

wordpress添加媒体

Ever wanted to add a private messaging system for your users in WordPress? Whether its a multi-author blog, forum, or a question / answer site, the ability to send private messages is important for online communities. In this article, we will show you how to add a private messaging system in WordPress.

是否曾经想在WordPress中为您的用户添加私人消息传递系统? 无论是多作者博客论坛还是问题/答案网站 ,发送私人消息的能力对于在线社区都很重要。 在本文中,我们将向您展示如何在WordPress中添加私人消息传递系统。

Private messages between users on a WordPress site
影片教学 (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 Front End PM plugin. Upon activation, you need to visit Front End PM » Instructions page to setup the plugin.

您需要做的第一件事是安装并激活Front End PM插件。 激活后,您需要访问Front End PM»说明页面来设置插件。

Setting up Front End PM plugin

The setup instructions are quite simple.

设置说明非常简单。

You can either copy and paste the shortcode in any WordPress page that you would like to use for private messaging.

您可以将简码复制并粘贴到要用于私人消息传递的任何WordPress页面中。

Alternatively, you can create a new page using the fields below. After creating the page, you can preview it and it will look like this:

或者,您可以使用以下字段创建新页面。 创建页面后,您可以预览它,它看起来像这样:

Private messages preview
配置直接消息设置 (Configuring Direct Message Settings)

This plugin comes with a comprehensive set of configuration options. You can change these by visiting Front End PM » Settings page.

该插件带有一组全面的配置选项。 您可以通过访问前端PM»设置页面来更改这些设置

Front End PM settings page

You can set the number of messages a user can store. You can also block users by adding their usernames into block user setting.

您可以设置用户可以存储的消息数。 您也可以通过将用户名添加到阻止用户设置来阻止用户。

Most importantly, you can set a minimum capability level required for users to send or receive messages.

最重要的是,您可以设置用户发送或接收消息所需的最低功能级别。

The default capability is read, which means all registered users can send and receive direct messages. However you can change it to write or edit, so that only authors or editors can use private messaging features.

默认功能为读取,这意味着所有注册用户都可以发送和接收直接消息。 但是,您可以将其更改为编写或编辑,以便只有作者或编辑者才能使用私人消息传递功能。

私人留言的用户设置 (User Settings for Private Messages)

Your WordPress users can control the direct messaging features directly from the front-end of your website. In other words, they don’t need to login to the WordPress admin area.

您的WordPress用户可以直接从您的网站的前端控制直接消息传递功能。 换句话说,他们不需要登录到WordPress管理区域。

They need to simply click on the settings tab to control it.

他们只需单击设置选项卡即可对其进行控制。

User settings for private messages in WordPress

Users can opt-out of receiving messages from others and disable email notifications and announcements.

用户可以选择不接收来自其他人的消息,并禁用电子邮件通知和公告。

That’s all, we hope this article helped you add a private messaging system to your WordPress site. You may also want to check out our guide on how to add a login form in your WordPress sidebar.

仅此而已,我们希望本文能帮助您将专用消息传递系统添加到WordPress网站。 您可能还需要查看有关如何在WordPress边栏中添加登录表单的指南。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-add-a-private-messaging-system-in-wordpress/

wordpress添加媒体

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值