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

  1. Configure osTicket support system to enable the access via API for your WordPress (see “Authentication” section).
  2. 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.
  3. Add a hidden input with a name specified in ‘Form Identifier’ while using the contact form.

螢幕截圖

  • API settings
  • Contact Form 7 fields settings
  • Example of Contact Form 7
  • Formidable fields settings
  • Example of Formidable form
  • WPForms fields settings
  • Example of WPForms form

安裝

WordPress installation

  1. Go to Plugins > Add New > search for “scand-osticket-connector”
  2. Press “Install Now” button for the “osTicket Connector” plugin
  3. Press “Activate” button

Manual installation

  1. Upload the “scand-osticket-connector” directory to the “/wp-content/plugins/” directory
  2. Activate the plugin through the “Plugins” menu in WordPress

常見問題

How to use this plugin with the contact form ?

  1. Specify all required fields in the settings (Admin -> Settings -> osTicket Connector).
  2. The name of fields should be the same as on your form.
  3. Sometimes it is necessary to use a hidden field on your contact form. The name of the input should be the same as the one you have specified in “Form Identifier” option for “osTicket Connector” and set the value equal to “1”. By the way, it can be any unique filed name which the form sent.
  4. Enjoy the new functionality you got!

How to configure Contact Form 7 ?

  1. Create a new form with all necessary fields.
  2. Add a hidden input to your contact form (see “Example of Contact Form 7” screenshot).
  3. Indicate fields matching (see “Contact Form 7 fields settings” screenshot)

How to configure Formidable ?

  1. Create a new form with all necessary fields and remember IDs of form fields (see “Example of Formidable form” screenshot, green arrow).
  2. If you use the free version of Formidable, add the real ID of the Help Topic to the beginning of the selected option. The possible variant shown on “Example of Formidable form” screenshot (red arrow).
  3. Indicate fields matching (see “Formidable fields settings” screenshot). For “Form Identifier” option set the “form_key” value. For other fields you should use next format “item_meta|”, where filed_ID is real ID of field on your contact form.

How to configure WPForms ?

  1. Create a new form with all necessary fields and remember IDs of form fields (see “Example of WPForms form” screenshot).
  2. Indicate fields matching (see “WPForms fields settings” screenshot). For “Form Identifier” option set the “wpforms” value. For other fields you should use next format “fields|”, where filed_ID is real ID of field on your contact form.

評價

2021年9月27日
The team responded very quickly to an issue with Formidable Pro and OsTicket API. The plugin is now incorporated to our support ticket platform.
2021年4月4日
Hello, Scand team, Excellent plugin you made, it just affords to our needs, Working with osTicket v1.15.2
2020年11月11日
They responded really fast to our request and helped us adapt the plugin for the form plugin we're using (Formidable). It works like a charm!
閱讀全部4個評價

貢獻者及開發者

“osTicket Connector” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

osTicket Connector 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 osTicket Connector 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.7 (2021-09-23)

Added ability to handle uploaded files for Formidable.

1.0.6 (2021-08-27)

WPForms support added.

1.0.5 (2021-01-12)

Changed list of required fields (topic has become optional).

1.0.4 (2020-11-11)

Added ability to processing of form requests for plugins which send form’s fields as array (for example, Formidable).

1.0.3 (2020-09-17)

If the phone extension is not provided, do not add a capital “X” as part of the phone.

1.0.2 (2017-12-04)

Changed validation rules for attribute names.
Added Russian translation.

1.0.1 (2017-03-14)

Added filter to process option values for drop-down when Contact Form 7 is used.

1.0.0 (2017-02-20)

Release of the plugin.