[WordPress] 外掛分享: Automation Rules

首頁外掛目錄 › Automation Rules
WordPress 外掛 Automation Rules 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
20+
安裝啟用
★★★☆☆
3.7/5 分(3 則評價)
1620 天前
最後更新
0%
問題解決
WordPress 4.7+ PHP 7.0+ v1.4.0 上架:2018-04-26

內容簡介

自動化功能讓你能夠隨時建立新功能,並使用簡單的「規則」自動化外掛。

使用「規則」來指定當某些事件發生時,網站上會發生什麼事。一個單獨的規則包含了一個事件、需要檢查的條件和一個或多個要採取的行動。例如:

規則 1.

事件: 當使用者登入…
行動: 增加使用者的登入次數計數。

規則 2.

事件: 當使用者登入…
條件: 如果他們的登入計數已經達到某個閾值…
行動: 將使用者晉升為新的會員角色。

多個規則可以協同工作,以創建工作流程和自定義功能。

規則是創建自動化的基本模塊,而自動化則是創建新自定義網站功能的途徑,通過以新方式連接各種「準備好自動化」的外掛和其行為。

您可以自動化的可能性僅取決於您的想像力(或您在網站上安裝的「自動化準備就緒」插件數量)。如果您想自動化還未準備就緒的插件的功能,那麼這不是問題,因為可以輕鬆地創建擴展包以使其準備就緒。

自動化捆綁包

多個「規則」可以分組為「自動化捆綁包」,這是一種方便的方式,可將您的創作打包並與其他網站所有者共享。這些「自動化捆綁包」允許任何人在「自動化準備就緒」的插件之間創建自定義行為,並以讓其他人最小化配置即可使用它們的方式分發它們。

修復

修復產生一些 PHP 注意事項的問題
修復更改操作/條件類型會清除對描述的任何編輯的問題
修復了數據選擇器不能將令牌插入 WP 編輯器或 codemirror 編輯器的問題

新增

添加新功能到「輸出到 HTML」操作,允許輸出到不同的鉤子,並且還允許使用替換令牌和短代碼。

更改

將品牌更改為 OtterMate

1.3.1

修復

修正在事件參數的令牌中使用數組鍵值時出現的問題。
修正從數據瀏覽器中選擇深度令牌時不顯示令牌的錯誤。
修復數據瀏覽器數據點懸停標題中顯示的詳細信息。
修復導致帶有不可加載對象的數組沒有它們的類映射出現在數據瀏覽器中的錯誤。

1.3.0

新增

新增對可配置但預定義行為的新「專業化」網站規則的支援
添加了條件式文章存取規則的核心專業化
新增管理網站規則的新儀表板
新增在創建條件以篩選條件選擇時選擇數據點的新功能
導入自動化後,在摘要屏幕上鏈接規則以允許即時編輯
添加了新的令牌部分,用於從數組值中推導總和、分割、唯一值和執行排序
將條件配置從兩個步驟的創建更改為使用 ajax 表單的單一步驟
添加對 WP_Query 令牌的數據瀏覽器訪問權限
新增使用自定義操作作為 WordPress API 端點的功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Automation Rules」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Automation allows you to build new features on the fly and automate plugins using simple “rules”.
Use “rules” to assign what happens on your site when certain events occur. An individual rule consists of an event, some conditions to check, and one or more actions to take. For example:
Rule 1.

Event: When a user logs in…
Action: Increment a login count for the user.

Rule 2.

Event: When a user logs in…
Condition: If their login counter has reached a certain threshold…
Action: Promote the user to a new member role.

Multiple rules can work in coordination with each other to create workflows and custom features.
A rule is the building block for creating automations, and automations are a path to create new custom site features by connecting various “automation ready” plugins and their behaviors in new ways.
The possibilities of what you can automate is only limited by your imagination (or the number of “automation ready” plugins you have installed on your site). If you want to automate features of a plugin that is not yet automation ready, that’s not a problem because an expansion pack can easily be created to make it automation ready.
Automation Bundles
Multiple “rules” can be grouped together into “automation bundles”, which is a convenient way to package and share your creations with other site owners. These “automation bundles” allow anybody to create customized behaviors between automation ready plugins, and distribute those in a way that allow others to use them with minimal configuration.

Fixed

Fixed some PHP notices being generated
Fixed problem where changing the action/condition type wipes out any edits to the description
Fixed issue with data selectors not being able to insert tokens into wp editors or codemirror editors

Added

Added new capabilities to the “Output To HTML” action which allows it to output to a different hook, and also
allows the use of replacement tokens and shortcodes.

Changed

Changed branding to OtterMate

1.3.1

Fixed

Fixed a bug when using a array key value in a token for an event argument
Fixed a bug where selecting a deep token from the data browser didn’t show the token
Fixed the details that show in the hover title of data browser data points
Fixed a bug causing arrays with non loadable objects to not have their class mappings appear in the data browser

1.3.0

Added

Added support for new “Specialization” site rules that have configurable but pre-determined behavior
Added core specialization for conditional post access rules
Added new dashboard to manage site rules
Added new ability to select a data point when creating conditions to filter condition choices
Rules are now linked on the summary screen after importing automations to allow access to immediately edit them
All new token pieces have been added for array values to derive sums, splices, unique values, and perform sorts
Condition configuration has been changed from two step creation to single step using ajax forms
Added data browser access to WP_Query tokens
Added ability to use custom actions as WordPress API endpoints

Changed

Rules Engine admin interface has been renamed to Rules Studio
A validation error now occurs when attempting to create duplicate custom event hooks

Fixed

Fixed issue with the send mail action causing it to not log to the email log

1.2.3

Fixed

Updated MWP Framework to 1.2.11 for compat with latest Woo

1.1.4

Added

Date/Time config widget presets
Taxonomy config widget presets
A creator field can now be specified for rule bundles

Changed

Token browser launch button re-styled
Performance improvements via new table indexes
Email action now supports token replacements
Recurring action schedule is now visible on scheduled actions table
Removed ‘before_setup_theme’ rule event since it is unhookable by rules
Rules Engine link appears in network admin menu for multisite installs
Downloaded rules files now have a suffix that matches the type of rule package
Flushing the system logs table now just truncates the table instead of iterating and deleting

Fixed

Bug causing rule conditions not to be re-organizable
Bug getting bundle url with custom parameters via code
Bug causing condition ‘compare’ mode not to save
Bug causing table on rules debug tabs to not be pageable
Bug with line endings being present on arrays entered through input widgets
Bug with null rule_parent_id causing rules to not be visible in tables
Bug causing post meta crud events to not be available for use by rules

1.1.3

Added

Custom actions can now be scheduled manually
Token browser now shows mapped array keys for event args

Changed

Removed manual config form option for custom action arguments that do not have a config widget
Widened the hook priority support for rule deployments

Fixed

Auto detect provider for ecas registered by plugins that are network enabled

1.1.2

Added

Array value search condition now has setting for case insensitivity
New ‘checkbox’ config preset widget
Any class that extends MWP\Framework\Pattern\ActiveRecord can now automagically register a full set of ECA’s with rules via static method registerRulesECAs()
Token selector now available on the action scheduling unique key form input
Added support for storing references to known objects in the class map for later loading

Changed

Event argument selection is now always available in condition/action config, even if no event args can be matched to 2 levels

Fixed

Fixed scheduled action controller not conforming to proper database schema
Fixed custom log entries not showing after editing default sort order on log
Fixed non-working token replacement on action scheduling unique key
Fixed non-working scheduled action unique key management
Fixed scheduled actions not working when operating on stored objects
Fixed custom filters not showing on custom events page

1.1.1

Changed

Improved the capabilities of the string comparision core condition to handle checking against arrays

Fixed

Fixed broken show/hide form rows on post/comment update action config forms

1.1.0

Added

Token browser added. Event argument selection and token replacements can now be browsed using a gui.
Custom logs and custom log entries are now accessible through the token browser.
Custom logs can now be customized to choose default sorting, alternate sorting, and searching columns.
Log entries count now displays on the dashboard logs tab

Changed

Changed to work with MWP Framework 2.1.x

1.0.5

Added

Full exception handling for PHP7
Token mappings for current site properties
Added a link to get to the system log in the admin menu

Changed

The redirect rules action is now safeguarded against redirecting when in the admin interface
Downloads of rules now auto name the file according to the item being downloaded
The view template for custom logs now display their field name instead of the database column name

Fixed

Error caused when using the token evaluator function in custom php actions/conditions
Base compare setting for conditions was not saving to the rule

1.0.4

Added

New field for custom events to categorize them
Providers of ECA’s are now tracked in rules exports
Custom events and custom actions now have separate management screens
Custom actions can have rules assigned to them which comprise their core functionality
Added multisite support which moves rules administration to the network admin and allows rules to target specific sites

1.0.3

Added

Bundles can now have a menu item added to the WP Settings Menu
Added ability to specify attachments in the email action

Changed

Removed foreign key references from exported rule data
Adjusted verbage for exporting rules from ‘Export …’ to ‘Download …’
Removed the download option from the dashboard bundle panel

Fixed

Corrected active record class map generation output

1.0.2

Added

Improvements to user interface
Menu item for custom logs to manage fields
Menu item for custom logs to flush entries
Started tracking the rules_apps table for future use
Added an extension to the ActiveRecord class to add the class to the rules map addToRulesMap()

Fixed

Fixed broken uninstall routine
Fixed various php notices
Fixed database errors caused by non-present tables on initial install

Changed

Removed unused dependency tracking code
Removed search box from rules controller

1.0.1

Added

Event: Admin Initialized
Event: Admin Header
Event: Admin Footer
Event: Login Attempt Failed
Date/time now displays by default on log entries table
Added internal api methods to get specific arguments from hooks, logs, and bundles
Added a $token_value variable which contains a function that can be used to get token values inside rule configuration custom php code.
Added quick enable/disable labels to bundles, rules, conditions, and actions
Added custom log field visibility options
Added custom log retention maintenance settings

Changed

“Log entry created” events now recieve the log and entry as arguments
Added css styles to suppress notice and update messages on rules admin pages
String database column size increased from 255 to 1028

Fixed

Completed the incomplete ‘update filter value’ action

1.0.0

First official release

延伸相關外掛

文章
Filter
Apply Filters
Mastodon