[wordpress插件] BP Local AvatarsBP本地头像

wordpress 插件 文章 2020-03-10 12:40 531 0 全屏看文

AI助手支持GPT4.0

评分
82
描述

BP Local Avatars is a BuddyPress plugin.

BP Local Avatars是一个BuddyPress插件。

Do you have members or groups on your BuddyPress site who do not have an Avatar?

您在BuddyPress网站上有没有头像的成员或组吗?

And you do not want to show the generic default avatar?

而且您不想显示通用默认头像?

Or maybe you do not want each page view to include a lot of calls to gravatar.com to load avatars?

或者,也许您不希望每个页面视图都包含对gravatar.com的大量调用以加载化身?

    • This plugin will create a Gravatar Identicon avatar, thumb and full versions, for any user who does not already have an Avatar, and save it locally.
    • 该插件将为尚未拥有头像的任何用户创建Gravatar Identicon头像,缩略图和完整版本,并将其保存在本地。

    • Supports user creation, user registration, user login, and Bulk Generation for user and groups.
    • 支持用户创建,用户注册,用户登录以及用户和组的批量生成。

    • Uses the existing BuddyPress avatar directory structure.
    • 使用现有的BuddyPress头像目录结构。

    • Conforms to the defined sizes for BuddyPress thumb and full avatars.
    • 符合BuddyPress拇指和完整头像的定义大小。

    • Users can still upload an avatar via their profile.
    • 用户仍然可以通过其个人资料上传头像。

    • Groups can still upload an avatar via Group > Manage > Photo.
    • 群组仍然可以通过“群组”>“管理”>“照片”上传头像。

    Usage:

    用法:

      1. Provides an option in wp-admin under:

        在wp-admin中提供以下选项:

        Settings -> Discussion > Default Avatar > BuddyPress Identicon (Generated and Stored Locally).

        设置->讨论>默认头像> BuddyPress Identicon(本地生成和存储)。

      2. Select and Save.

        选择并保存。

        Otherwise this plugin will not do anything.

        否则,此插件将无法执行任何操作。

      3. After saving, you will see a link to ‘Bulk Generate’ avatars for all users and groups who do not have a local avatar.

        保存后,您将看到所有没有本地头像的用户和组的“批量生成”头像的链接。

        If a user already has their own Gravatar, it will save it locally.

        如果用户已经拥有自己的Gravatar,它将保存在本地。

      For more BuddyPress plugins, please visit PhiloPress

      有关更多BuddyPress插件,请访问 PhiloPress

安装步骤

    1. Unzip and then upload the ‘bp-local-avatars’ folder to the ‘/wp-content/plugins/’ directory

      解压缩然后将“ bp-local-avatars”文件夹上传到“ / wp-content / plugins /”目录

    2. Activate the plugin through the ‘Plugins’ menu in WordPress

      通过WordPress中的“插件”菜单激活插件

    3. Go to Settings -> Discussion and scroll down to ‘Default Avatar’.

      转到“设置”->“讨论”,然后向下滚动到“默认头像”。

      Select and Save the option called ‘BuddyPress Identicon (Generated and Stored Locally)’.

      选择并保存名为“ BuddyPress Identicon(本地生成和存储)”的选项。

下载地址
https://downloads.wordpress.org/plugin/bp-local-avatars.2.2.zip
-EOF-

AI助手支持GPT4.0