[wordpress插件] Bulk Create Blogs批量创建博客

wordpress 插件 文章 2020-03-13 17:10 445 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This WPMU plugin creates under the Site Admin menu called “Bulk Create Blogs” where you can bulk create/add users to blogs.

此WPMU插件在“站点管理”菜单下创建“批量创建博客”,您可以在其中批量创建用户或将用户添加到博客。

To use the plugin you must create correctly formatted data.

要使用该插件,您必须创建格式正确的数据。

The plugin takes

插件需要

CSV formatted data where each row contains the following data.

CSV格式的数据,其中每一行包含以下数据。

domain, user_id, blog_title, blog_topic,

 域,user_id,blog_title,blog_topic,

Each of these fields is described below.

每个字段的说明如下。

    • blog_domain (Mandatory): the domain name of the blog, this should only contain alphanumeric characters and be in all lowercase.

    • blog_domain(必填):博客的域名,只能包含字母数字字符,并且全部小写。

      If the blog domain is empty then users will be added to the site’s root blog.

    • 如果博客域为空,则用户将被添加到网站的根博客中。

    • user_name (Mandatory): the login id of the user to be added to the blog.
    • user_name(必填):要添加到博客的用户的登录ID。

    • blog_title (Optional): the title of the blog.
    • blog_title(可选):博客的标题。

    • blog_topic (Optional): the name of the blog topic that this blog will be categorised under.

    • blog_topic(可选):将对该博客进行分类的博客主题的名称。

      These topics are setup under the ‘Blog Topic Management’ tab.

      这些主题是在“博客主题管理”标签下设置的。

      A blog_title must be chosen if you wish to set the blog topic.

      如果要设置博客主题,则必须选择blog_title。

      (Requires cets_blog_topics plugin.)

    • (需要cets_blog_topics插件。)

    When each line is processed, if the blog named already exists then the user given

    在处理每一行时,如果已存在名为的博客,则给定用户

    is added to the blog.

    已添加到博客。

    If the blog does not exist then it is created.

    如果博客不存在,则会创建它。

    If a blog title

    如果是博客标题

    is not provided then the blog domain is used.

    未提供,则使用博客域。

    This plugin also provides support for LDAP user creation.

    此插件还为LDAP用户创建提供支持。

    If a user does not exist and

    如果用户不存在并且

    the ldap_auth plugin is installed then it will attempt to create a new user.

    ldap_auth插件已安装,然后它将尝试创建一个新用户。

    At the moment this plugin only supports sites that use domain blog naming.

    此插件目前仅支持使用域博客命名的网站。

    Support for

    支持

    sub-directories is not planned but you could easily add it yourself.

    子目录不是计划中的,但是您可以轻松地自己添加。

    The number of blogs that can be imported at a time is limited.

    一次可以导入的博客数量受到限制。

安装步骤

    1. Upload gb-bulk-create-blogs.php to the /wp-content/mu-plugins/ directory
    2. gb-bulk-create-blogs.php 上载到 / wp-content / mu-plugins / 目录

下载地址
https://downloads.wordpress.org/plugin/bulk-create-blogs.2.0.zip
-EOF-

AI助手支持GPT4.0