[wordpress插件] Add External Users添加外部用户

wordpress 插件 文章 2020-01-30 01:00 689 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

If you’re using LDAP or some other external authentication source for your WordPress MU install, it can be annoying for blog admins to grant access to other people.

如果您使用LDAP或其他外部身份验证源进行WordPress MU安装,那么博客管理员将访问权限授予其他人可能会很烦人。

The usual process requires sending an email and (depending on whether or not the user exists in WordPress yet) setting a password, but that doesn’t make sense in this context.

通常的过程需要发送电子邮件,并(取决于用户是否在WordPress中存在)设置密码,但这在这种情况下没有意义。

Users don’t need local passwords, there’s no need to verify their email addresses, and it shouldn’t really matter whether or not a user already exists.

用户不需要本地密码,无需验证其电子邮件地址,并且用户是否已经存在也无关紧要。

This plugin adds a new entry to the Users section of the dashboard that lets blog admins simply enter a username, select a role, and grant access.

此插件在仪表板的“用户”部分添加了一个新条目,使博客管理员只需输入用户名,选择角色并授予访问权限即可。

There are a few options that can be set by a WordPress MU site admin.

WordPress MU网站管理员可以设置一些选项。

    • “Label for menu item” lets you specify a different label for the item that appears under Users.

      “菜单项标签”使您可以为“用户”下显示的项指定其他标签。

      If you use the plugin at Foo University, for example, you might want to use “Add Foo University User.” The customized text should encourage site admins to use the plugin instead of the built-in user management functionality.

      例如,如果您在Foo University使用该插件,则可能要使用“ Add Foo University User”。自定义的文本应鼓励站点管理员使用该插件,而不是内置的用户管理功能。

    • “Description of username” lets you specify a different label for the label for the username field in the blog admin form.

      “用户名描述”使您可以为博客管理表单中的用户名字段的标签指定其他标签。

      Again, Foo University might use something like “Foo LoginID.”

      同样,Foo University可能会使用“ Foo LoginID”之类的名称。

    • “Email address domain” is what DNS domain name the plugin will use to create email addresses for users that it creates in WordPress.

      “电子邮件地址域”是插件将用于为其在WordPress中创建的用户创建电子邮件地址的DNS域名。

      Foo University might use “foo.edu” so that someone with username joeschmo would have a WordPress account created with “joeschmo@foo.edu” as his email address.

      富大学可能会使用“ foo.edu”,以便使用用户名joeschmo的人将拥有一个以“ joeschmo@foo.edu”作为他的电子邮件地址的WordPress帐户。

安装步骤

    1. Upload add_external_users.php to the /wp-content/mu-plugins/ directory
    2. add_external_users.php 上载到 / wp-content / mu-plugins / 目录

    3. Log in as a site admin
    4. 以站点管理员身​​份登录

    5. Go to Site Admin -> Add External Users
    6. 转到站点管理员->添加外部用户

    7. Enter your email domain, and optionally fill in the other two fields.

    8. 输入您的电子邮件域,并选择填写其他两个字段。

      See Description for details.

    9. 有关详细信息,请参见说明。

下载地址

https://downloads.wordpress.org/plugin/add-external-users.0.1.zip

https://downloads.wordpress.org/plugin/add-external-users.0.1.zip

-EOF-

AI助手支持GPT4.0