[WordPress] 外掛分享: osTicket Connector

首頁外掛目錄 › osTicket Connector
WordPress 外掛 osTicket Connector 的封面圖片
300+
安裝啟用
★★★★★
5/5 分(4 則評價)
516 天前
最後更新
問題解決
WordPress 4.3+ v1.0.9 上架:2017-02-16

內容簡介

此 WordPress 外掛支援透過 osTicket API 創建新的 osTicket 系統問題單。本外掛只支援採用 wp_mail 函數發送電子郵件的聯絡表單,以便獲取表單資料。

注意事項

聯絡表單中需至少包含「電子郵件」、「全名」、「主旨」和「訊息」等欄位。

osTicket API

osTicket API 使用簡單的 XML 或 JSON 格式透過 HTTP 通訊協定。目前僅支援新增問題單功能。

驗證方式

透過 API 進行驗證需使用事先在 osTicket 管理界面中建立的 API 金鑰。API 金鑰會綁定到一個 IP 位址,每當有 HTTP API 的請求進來時,系統會驗證該請求的源 IP 是否與 API 金鑰綁定的 IP 相同。

API 金鑰可以在 osTicket 管理界面中新增或管理,請前往 [管理] -> [API 金鑰]。使用 [新增新的 API 金鑰] 功能來新增一個 API 金鑰。目前不需要進行任何特別的配置就可以讓此 API 金鑰用於 HTTP API。

詳細資訊請參閱此處。

部署

設定 osTicket 支援系統以允許透過 API 來存取 WordPress 端的問題單 (請參閱「驗證方式」部分)。
建立聯絡表單,並輸入外掛設置中給定的標籤名稱屬性值,以便正確地將輸入的資料對應到 osTicket API 資料模板。
使用聯絡表單時,請添加具有「表單識別碼」中指定的名稱的隱藏式輸入。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This WordPress plugin supports the creation of new tickets in the osTicket system by using osTicket API. Only contact forms, which send emails, are supported as our plugin hooks the wp_mail function to get the forms’ data.
Important
The contact form must contain “Email”, “Full Name”, “Subject” and “Message” fields at least.
osTicket API
The osTicket API is used as simple XML or JSON over HTTP. Ticket creation is supported only.
Authentication
Authentication via the API is done via API keys configured inside the osTicket admin panel. API keys are created and tied to a source IP address, which will be checked against the source IP of requests to the HTTP API.
API keys can be created and managed via the admin panel. Navigate to Manage -> API keys. Use Add New API Key to create a new API key. Currently, no special configuration is required to allow the API key to be used for the HTTP API. All API keys are valid for the HTTP API.
See more details here.
Deployment

Configure osTicket support system to enable the access via API for your WordPress (see “Authentication” section).
Set up the contact form and input the attribute value of the tag name exactly as given in the settings form of the plugin. This will let the data map to osTicket API data template correctly.
Add a hidden input with a name specified in ‘Form Identifier’ while using the contact form.

延伸相關外掛

文章
Filter
Mastodon