[wordpress插件] Attending Users参加用户

wordpress 插件 文章 2020-02-23 00:10 529 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

As web site owner, Attending Users will help you in adding an attending list to the bottom of your posts.

作为网站所有者,出席用户将帮助您在帖子底部添加一个出席列表。

Registered users can click on the Submit button of the list in order to have their names added or removed.

注册用户可以单击列表的“提交”按钮以添加或删除其名称。

User names act as author page links, no matter how you have set your Permalinks.

无论您如何设置永久链接,用户名都将充当作者页面链接。

Usage:

用法:

After you install the plugin, you can go to the settings page and change them as you like.

安装插件后,您可以转到设置页面并根据需要进行更改。

In the Settings page

在“设置”页面

you can add support for your custom content types, add new titles to chose from when creating attending lists or change the labels of buttons (ex. Submit, unsubscribe).

您可以添加对自定义内容类型的支持,添加新的标题以在创建与会者列表时选择,或更改按钮的标签(例如,提交,取消订阅)。

A new meta-box, called Attending List, will be present (meta-box is for example is the box for tags or categories) when you go to create a new post or edit existing one.

当您创建新帖子或编辑现有帖子时,将出现一个名为“出席者列表”的新meta-box(例如,meta-box是标签或类别的框)。

From that meta-box you can chose a title for your list.

从该元框中,您可以为列表选择标题。

When the post is saved/published the list will be added at the bottom of the page.

保存/发布帖子后,列表将添加到页面底部。

To remove already created list: select the empty option for title.

要删除已创建的列表:选择标题为空选项。

Any logged in user can click on the button for Attending at a list.

任何登录的用户都可以单击“参加列表”按钮。

Not registered users will see a message, telling them that they have to register if they want to have their names added to the list.

未注册的用户将看到一条消息,告诉他们如果要将名称添加到列表中,则必须注册。

What should you know more?

您还应该了解什么?

    • If a user has both First and Last name added to his profile, than both of them will be presented on a list.

    • 如果用户的个人资料中同时添加了名字和姓氏,则这两个名字都将显示在列表中。

      If one of those names is not filled in, than the login name is used.

      如果未填写这些名称之一,则使用登录名。

      The idea is to keep all names on the list unique.

    • 想法是使列表上的所有名称唯一。

    • The plugin removes it’s database tables and options when deleted.
    • 该插件在删除后会删除其数据库表和选项。

    • The plugin will work with custom database prefix.
    • 该插件将使用自定义数据库前缀。

    • The plugin has a Class with unique name.

    • 该插件具有唯一名称的Class。

      By doing so, the chances of conflict with functions from other plugins has been reduced.

    • 这样可以减少与其他插件的功能发生冲突的可能性。

    • Every function starts with a comment explaining what it is supposed to do.
    • 每个功能都以注释开头,以解释其功能。

    • There is plugin version defined in the code, which will make it easier for further updates.
    • 代码中定义了插件版本,这将使以后的更新更加容易。

    Incompatibility:

    不兼容:

    Attending Users doesn’t work as expected if Like plugin is active.

    如果插件处于活动状态,则

    参加用户将无法正常工作。

    The result of


    的结果

    incompatibility is in adding twice the user name to a list.

    不兼容是在列表中添加两倍的用户名。

    No solution has been found yet.

    尚未找到解决方案。

    You can try using Simple Social

    您可以尝试使用 Simple Social

    Buttons instead of Like.

    按钮,而不是“赞”。

    Please, report if you find any other plugins causing problems.

    请报告是否发现其他引起问题的插件。

    List of posts where user has clicked Attend on author’s template

    用户点击“参加作者模板”的帖子列表

    At the end of the plugin, I’ve shared few lines of code (commented out) that can improve your author’s template.

    在插件末尾,我分享了几行代码(注释掉),可以改善您的作者模板。

    That code will unlock the feature of listing all posts where a user has clicked Attend.

    该代码将解锁列出用户单击“出席”的所有帖子的功能。

    Copy the code and paste it right before the loop of your author.php file.

    复制代码并将其粘贴在author.php文件循环之前。

安装步骤

    1. Download the latest version
    2. 下载最新版本

    3. Extract it in the /wp-content/plugins/ directory
    4. 在/ wp-content / plugins /目录中提取它

    5. Activate the plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

    7. Go to Settings -> Att Users Settings and create your first title
    8. 转到设置->提示用户设置并创建您的第一个标题

    9. Go to Add new / Edit post and create your first attending list
    10. 转到“添加/编辑帖子”并创建您的第一个出席者列表

下载地址
https://downloads.wordpress.org/plugin/attending-users.1.0.zip
-EOF-

AI助手支持GPT4.0