wordpress社交系统
Did you know that you can turn your WordPress site into a social network? A WordPress social network allows users to sign up, connect with each other, post messages, and more. In this article, we will show you how to turn your WordPress site into a social network.
您是否知道可以将WordPress网站转变为社交网络? WordPress社交网络允许用户注册,彼此连接,发布消息等等。 在本文中,我们将向您展示如何将WordPress网站转变为社交网络。
启动WordPress驱动的社交网络 (Starting your WordPress Powered Social Network)
WordPress is the most easy to use platform to build your own social network using the free BuddyPress plugin. It is super flexible and integrates beautifully with any kind of WordPress website.
WordPress是使用免费的BuddyPress插件构建自己的社交网络的最容易使用的平台。 它超级灵活,可以与任何类型的WordPress网站完美集成。
You’ll need a self-hosted WordPress.org website to start using BuddyPress.
您需要一个自托管的WordPress.org网站才能开始使用BuddyPress。
If you don’t have a website yet, then follow the instructions in our how to make a website guide, and you’ll be up and running in no time.
如果您还没有网站,请按照我们的网站指南中的说明进行操作 ,您将很快就可以启动并运行。
什么是BuddyPress? (What is BuddyPress?)
BuddyPress is a sister project of WordPress.org. It is available as a free WordPress plugin that you can install on your website.
BuddyPress是WordPress.org的姐妹项目。 它是一个免费的WordPress插件 ,您可以将其安装在网站上。
It turns your WordPress site into a social network allowing you to build your own online community. Here are some of the features of a typical BuddyPress powered website:
它将您的WordPress网站变成一个社交网络,使您可以建立自己的在线社区。 以下是由BuddyPress支持的典型网站的一些功能:
- Users can register on your website 用户可以在您的网站上注册
- Users will be able to create extended user profiles 用户将能够创建扩展的用户配置文件
- Activity streams allow users to follow site-wide updates 活动流允许用户关注网站范围的更新
- You will be able to create sub-communities with user groups 您将能够与用户组一起创建子社区
- Users can add each other as friends 用户可以彼此加为好友
- Users can send private messages to each other 用户可以互相发送私人消息
- BuddyPress functionality can be extended using third-party plugins BuddyPress功能可以使用第三方插件进行扩展
- Works with any standard compliant WordPress theme 适用于任何符合标准的WordPress主题
- Can be setup with your existing WordPress site 可以使用您现有的WordPress网站进行设置
使用BuddyPress设置WordPress社交网络 (Setting up Your WordPress Social Network Using BuddyPress)
First thing you need to do is install and activate the BuddyPress plugin. For more details, see our step by step guide on how to install a WordPress plugin.
您需要做的第一件事是安装并激活BuddyPress插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。
Upon activation you need to visit Settings » BuddyPress page to configure plugin settings.
激活后,您需要访问设置»BuddyPress页面来配置插件设置。
The settings page is divided into different sections. You’ll first see the components page which shows you currently active BuddyPress components on your site.
设置页面分为不同部分。 首先,您将看到“组件”页面,其中显示了您站点上当前活动的BuddyPress组件。
The default components would work for most websites. However, you can activate or deactivate a component by simply checking and unchecking the box next to it.
默认组件适用于大多数网站。 但是,您可以通过简单地选中和取消选中其旁边的框来激活或停用该组件。
Don’t forget to click on the save settings button to store your changes.
不要忘记单击“保存设置”按钮来存储您的更改。
Next, you need to click on the Pages tab. Here you can select the pages you would like to use for different BuddyPress sections on your site.
接下来,您需要单击页面选项卡。 在这里,您可以选择要用于网站上不同BuddyPress部分的页面。
By default, the plugin will automatically create pages for you. You can change them and use a different page if you want.
默认情况下,该插件将自动为您创建页面。 您可以更改它们,并根据需要使用其他页面。
If you don’t see the option to select registration and activation pages, then you need to enable user registration on your WordPress site.
如果看不到选择注册和激活页面的选项,则需要在WordPress网站上启用用户注册 。
Now, you will need to switch to the ‘Options’ tab.
现在,您将需要切换到“选项”标签。
Here you will find different settings that you can turn on/off in BuddyPress. The default settings will work for most websites, but you can review and change them as needed.
在这里,您会发现可以在BuddyPress中打开/关闭的其他设置。 默认设置适用于大多数网站,但是您可以根据需要进行查看和更改。
在您的网站上显示BuddyPress页面 (Displaying BuddyPress Pages on Your Website)
If you visit your website after setting up BuddyPress, you’ll not see anything new added to your site. To change this, you need to add BuddyPress pages to your WordPress navigation menu.
如果您在设置BuddyPress之后访问您的网站,则不会看到任何新内容添加到您的网站。 要更改此设置,您需要将BuddyPress页面添加到WordPress导航菜单中 。
Head over to Appearance » Menus page. Select the BuddyPress pages from the left column and click on add to menu button.
转到外观»菜单页面。 从左栏中选择BuddyPress页面,然后单击添加到菜单按钮。
Don’t forget to click on the save menu button to store your changes.
不要忘记单击“保存”菜单按钮来存储您的更改。
You can now visit your website to see the links in action.
现在,您可以访问您的网站以查看链接。
Clicking on a link will take you to a BuddyPress page. For example, the activity link will show you what’s going around in your BuddyPress social network. You can also post a status update from this page.
单击链接将带您到BuddyPress页面。 例如,活动链接将向您显示BuddyPress社交网络中发生的事情。 您也可以从此页面发布状态更新。
BuddyPress works with all standard compliant WordPress themes. It also comes with its own templates to use in case your theme doesn’t have BuddyPress specific templates.
BuddyPress可处理所有符合标准的WordPress主题 。 它还提供了自己的模板,以防您的主题没有BuddyPress特定的模板。
If your theme isn’t compatible with BuddyPress, then checkout our list of the best WordPress themes for BuddyPress.
如果您的主题与BuddyPress不兼容,请查看我们的BuddyPress最佳WordPress主题列表。
在BuddyPress中管理WordPress社交网络 (Managing Your WordPress Social Network in BuddyPress)
Building an online community requires a lot of active participation by the site admins. You would want to combat spam and moderate user generated content.
建立在线社区需要站点管理员的大量积极参与。 您可能想与垃圾邮件作斗争并适度用户生成的内容。
If you are already using Akismet, then BuddyPress will use it to catch spam. However, some unwanted content may still slip away.
如果您已经在使用Akismet ,那么BuddyPress将使用它来捕获垃圾邮件。 但是,某些不需要的内容可能仍会消失。
BuddyPress comes with built-in tools to deal with that.
BuddyPress带有内置的工具来处理此问题。
Head over to the Activity page in your WordPress admin area, and you will see recent activity on your website with different actions.
转到WordPress管理区域中的“ 活动”页面,您将在您的网站上看到最近的活动,其中包含不同的操作。
You can sort the activity items by action, delete items, or mark them as spam.
您可以按操作对活动项目进行排序,删除项目或将其标记为垃圾邮件。
Similarly, you can go to Users page to manage user accounts. You can delete users, edit their profiles, or mark suspicious accounts as spam.
同样,您可以转到“ 用户”页面来管理用户帐户。 您可以删除用户,编辑其个人资料或将可疑帐户标记为垃圾邮件。
You can manage new users by visiting the manage signups page. This allows you to directly activate new users, resend them activation email, or delete spam accounts.
您可以通过访问“管理注册”页面来管理新用户。 这样,您可以直接激活新用户,向他们重新发送激活电子邮件或删除垃圾邮件帐户。
在BuddyPress中创建和管理组 (Creating and Managing Groups in BuddyPress)
BuddyPress allows you and your users to create groups. These groups act as sub-communities on your website. Each group can have it’s own members and activity streams. Users can join these groups, invite other users, post messages, and more.
BuddyPress允许您和您的用户创建组。 这些组充当您网站上的子社区。 每个组可以拥有自己的成员和活动流。 用户可以加入这些组,邀请其他用户,发布消息等等。
To create a new group, you can head over to the Groups page and click on the add new button at the top.
要创建一个新组,您可以转到“ 组”页面,然后单击顶部的“添加新”按钮。
This will bring you to the add new group page. First you need to provide a name and description for your group. After that, click on the ‘Create group and continue’ button to proceed.
这将带您到添加新组页面。 首先,您需要为您的小组提供名称和描述。 之后,单击“创建组并继续”按钮继续。
On the next page, you can select group’s privacy settings and who can invite other users to the group. BuddyPress allows you to create public, private, and hidden groups.
在下一页上,您可以选择群组的隐私设置,以及可以邀请其他用户加入群组的人。 BuddyPress允许您创建公共,私人和隐藏组。
Public groups are available for all users to join.
公开组可供所有用户加入。
Private groups are listed in the groups directory, but users will have to request to join. If approved, then then they will be able to view its contents.
私人群组列在群组目录中,但用户必须请求加入。 如果批准,那么他们将能够查看其内容。
Hidden groups can only be seen by members who are part of the group. These groups are not listed in the groups directory, and they do not appear in search results.
隐藏的群组只能由属于该群组的成员看到。 这些组未在groups目录中列出,它们也不会出现在搜索结果中。
After setting up privacy options, click on the next button to continue.
设置隐私选项后,单击下一步按钮继续。
Now you can provide a photo to be used as group’s profile photo.
现在,您可以提供一张照片,用作群组的个人资料照片。
Next, you need to add a cover photo for the group and click on the next button.
接下来,您需要为该组添加封面照片,然后单击下一步按钮。
Lastly, you can invite other users to join the group. You can only invite users you’ve added as friends. If you haven’t added any friends yet, then you will have to wait for users to discover the group and join it on their own.
最后,您可以邀请其他用户加入论坛。 您只能邀请已添加为朋友的用户。 如果您尚未添加任何朋友,那么您将不得不等待用户发现该群组并自行加入。
Click on the finish button and BuddyPress will now setup your group.
单击完成按钮,BuddyPress现在将设置您的小组。
Users can view groups by visiting the groups page on your site which shows the directory of groups on your website.
用户可以通过访问网站上的“群组”页面查看群组,该页面显示了网站上的群组目录。
Clicking on a group name will show the group’s page where users can join a group, post updates, and follow group activity.
单击群组名称将显示该群组的页面,用户可以在其中加入群组,发布更新并关注群组活动。
管理电子邮件通知 (Managing Email Notifications)
Email notifications are the only way your BuddyPress site can alert users about new activity in their social stream. To encourage user participation, you may want to customize those email messages.
电子邮件通知是您的BuddyPress网站可以向用户提醒其社交流中的新活动的唯一方法。 为了鼓励用户参与,您可能需要自定义那些电子邮件。
BuddyPress allows you to modify email notifications sent by your WordPress social network. This helps you change the messages to match your site’s branding and tone.
BuddyPress允许您修改 WordPress社交网络发送的电子邮件通知 。 这有助于您更改消息以使其与网站的品牌和语调相匹配。
You can visit the Emails page to see the list of default email notifications. You will see the email title, and the situation when the email is sent to a user.
您可以访问“ 电子邮件”页面以查看默认电子邮件通知列表。 您将看到电子邮件标题,以及将电子邮件发送给用户时的情况。
You can click on the Add New button at the top to create a new email notification. You can also click on the edit button below an email message to change it.
您可以单击顶部的“添加新”按钮来创建新的电子邮件通知。 您也可以单击电子邮件下方的“编辑”按钮进行更改。
Lastly, you can also use the email customizer to modify the email colors, header, and footer areas.
最后,您还可以使用电子邮件定制程序来修改电子邮件的颜色,页眉和页脚区域。
对BuddyPress进行故障排除 (Troubleshooting BuddyPress)
Many of the issues you’ll come across with BuddyPress will be similar to WordPress issues. Make sure you check our list of common WordPress errors to see if it’s listed there.
BuddyPress会遇到的许多问题与WordPress问题类似。 确保检查我们的常见WordPress错误列表,以查看是否列出了该列表。
If your users are unable to receive email notifications, then follow the instructions in our guide on how to fix WordPress not sending email issue.
如果您的用户无法接收电子邮件通知,请按照我们的指南中有关如何解决WordPress不发送电子邮件问题的说明进行操作 。
For all other issues, check out our WordPress troubleshooting guide to understand what’s causing it, and how to find a solution.
对于所有其他问题,请查看我们的WordPress故障排除指南,以了解造成问题的原因以及如何找到解决方案。
That’s all for now.
目前为止就这样了。
We hope this article helped you turn your WordPress site into a social network using BuddyPress. You may also want to see our ultimate step by step WordPress security guide for beginners.
我们希望本文能帮助您使用BuddyPress将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视频教程。 您也可以在Twitter和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/plugins/how-to-turn-your-wordpress-site-into-a-social-network/
wordpress社交系统