[wordpress插件] CJ Revision FeedbackCJ修订反馈

wordpress 插件 文章 2020-03-24 02:50 516 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin provides the ability to add comment blocks mid post.

此插件提供了在帖子中添加评论栏的功能。

The use case for this is: WP is used to show clients creative documents, a single post is dedicated to a single project.

这样的用例是:WP用于向客户显示创意文档,单个帖子专门用于单个项目。

Each revision is appended to the post.

每个修订都附加到帖子中。

Adding in the CJ Revision Feedback tag will allow clients to provide feedback for a specific revision.

在“ CJ修订反馈”标签中添加将允许客户提供特定修订的反馈。

Admin users can mark the feedback as completed and approved while adding sub-comments, and close out feedback on a revision.

管理员用户可以在添加子评论时将反馈标记为已完成并已批准,并关闭对修订的反馈。

The plugin includes multiple customizable elements including: look and feel, email notifications, and post-specific email notifications.

该插件包含多个可自定义的元素,包括:外观,电子邮件通知和特定于帖子的电子邮件通知。

Developed on version 2.8.6 so any previous versions haven’t been tested

在版本2.8.6上开发,因此未测试任何以前的版本

Usage

用法

Basic Tag Format:

基本标签格式:

[revision_feedback revision=# nobutton]

  [revision_feedback版本=#nobutton]

Each tag added should have a unique revision number, starting with 1 and incrementing from there.

添加的每个标签应具有唯一的修订号,从1开始并从此处递增。

To disable new feedback for a revision just add nobutton to the tag.

要禁用修订的新反馈,只需在标签中添加nobutton。

This will only disable the user from adding new comments, they can view comments and the admin users can do everything still.

这样只会禁止用户添加新评论,他们可以查看评论,而管理员用户仍可以执行所有操作。

Sample tags:

样本标签:

[revision_feedback revision=1]

  [revision_feedback版本= 1]

This tag is the first revision tag.

此标记是第一个修订标记。

At this point the client makes comments.

此时,客户发表评论。

Once revision 1 is completed the tag is updated by adding the nobutton tag

修订1完成后,通过添加nobutton标签来更新该标签

[revision_feedback revision=1 nobutton]

  [revision_feedback版本= 1无按钮]

Now the “add feedback” button will not show

现在“添加反馈”按钮将不会显示

At this point you would want to open comments to the next revision by adding

此时,您需要添加以下内容以打开对下一个修订版本的注释:

[revision_feedback revision=2]

  [revision_feedback版本= 2]

rinse and repeat until the final revisions are approved

冲洗并重复直到最终版本获得批准

If you add the same revision number to a post the admin view (not user) will see an error message on the screen.

如果您在帖子中添加相同的修订号,则管理员视图(非用户)将在屏幕上看到错误消息。

Putting duplicate revision numbers doesn’t break anything, but will cause new/existing comments to show in two places.

放置重复的修订号不会破坏任何内容,但会导致新注释/现有注释显示在两个位置。

Admin Features/Settings

管理功能/设置

If you visit the “settings” section of the admin page you will see a line item for CJ Revision Feedback.

如果您访问管理页面的“设置”部分,则会看到CJ修订反馈的行项目。

This details what each feature/setting is for.

这详细说明了每个功能/设置的用途。

Show feedback author and date

显示反馈的作者和日期


By checking this box the user id and comment date will be displayed next to each comment.


通过选中此框,用户ID和评论日期将显示在每个评论的旁边。

Allow Anonymous User Comments (disabling will require uses be logged in to comment)

允许匿名用户评论(禁用将要求用户登录以发表评论)


Check this checkbox to allow anonymous users, people not logged in, to make revision comments


选中此复选框可允许匿名用户(未登录的用户)发表修订评论

Layer Top Offset

层顶部偏移


This defines how many pixels below or above the clickable button the user and admin comment layer will appear.


这定义了用户和管理员评论层将在可点击按钮下方或上方显示多少像素。

A positive number is below, a negative number is above.

正数在下面,负数在上面。

The top left of the button is 0 offset

按钮的左上角为0偏移量

Admin Layer Left Offset

管理层左偏移


This defines how many pixels to the left or right of the clickable button the admin layer should be positioned.


这定义了管理层应在可点击按钮的左侧或右侧放置多少像素。

A negative number is left, a positive number is right.

左边为负数,右边为正数。

User Layer Left Offset

用户层左偏移


This defines how many pixels to the left or right of the clickable button the user layer should be positioned.


这定义了用户层应在可点击按钮的左侧或右侧放置多少像素。

A negative number is left, a positive number is right.

左边为负数,右边为正数。

Send notification emails on new comments

发送有关新评论的通知电子邮件


By checking this box (and providing a default address) you will enable email notification for new user comments.


通过选中此框(并提供默认地址),您将为新用户评论启用电子邮件通知。

Default Notification Address (will be sent all new comment notifications)

默认通知地址(将发送所有新的评论通知)


This is the default notification address used for all new comments.


这是用于所有新评论的默认通知地址。

This email address will receive an email for each new user comment.

此电子邮件地址将收到有关每个新用户评论的电子邮件。

Revision Editor Roles (Administrator is always an editor)

修订版编辑者角色(管理员始终是编辑者)


This setting gives you the ability to specify which user types to consider as an admin.


通过此设置,您可以指定要视为管理员的用户类型。

An “admin” is a user who can make sub-comments, and mark a comment as completed or approved.

“管理员”是指可以发表子评论并将评论标记为已完成或已批准的用户。

Post Specific Email Notification Addresses

发布特定的电子邮件通知地址

It is possible to specify email notification addresses on a per post basis.

可以在每个帖子的基础上指定电子邮件通知地址。

This enables sending new comment notifications to non-default addresses scoped to the specific post.

这样可以将新的评论通知发送到范围为特定帖子的非默认地址。


To do this create a new custom field named “notification_addresses” with the value as a comma seperated list of email addresses.


为此,请创建一个名为“ notification_addresses”的新自定义字段,该字段的值为电子邮件地址的逗号分隔列表。

For example: email1@email.com,email2@email.com, email3@email.com

例如:email1 @ email.com,email2 @ email.com,email3@email.com

(You can add spaces between email addresses)

(您可以在电子邮件地址之间添加空格)

Customizing the look and feel

自定义外观

Images

图片


You can customize the buttons by replacing the gif images in the cj-revision-feedback folder.


您可以通过替换 cj-revision-feedback 文件夹中的gif图像来自定义按钮。

Styles

样式


You can customize the colors of the comment layers and some of the positioning by editing the CSS file in the cj-revision-feedback folder.


通过编辑 cj-revision-feedback 文件夹中的CSS文件,您可以自定义注释层的颜色和某些位置。

安装步骤

    1. Upload upload all files from zip to cj-revision-feedback folder in the /wp-content/plugins/ directory
    2. 上传将所有文件从zip文件上传到 / wp-content / plugins / 目录中的 cj-revision-feedback 文件夹

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

    5. Place [revision_feedback revision=1] in your post to enable mid post comments
    6. 在您的帖子中放置 [revision_feedback版本= 1] 以启用帖子中间评论

下载地址
https://downloads.wordpress.org/plugin/cj-revision-feedback.zip
-EOF-

AI助手支持GPT4.0