Title: WP Mantis
Author: simsmaster
Published: <strong>2010 年 8 月 26 日</strong>
Last modified: 2011 年 4 月 18 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/wp-mantis.svg)

# WP Mantis

 由 [simsmaster](https://profiles.wordpress.org/simsmaster/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-mantis.1.2.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-mantis/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-mantis/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-mantis/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-mantis/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-mantis/)

## 外掛說明

**Eine Deutsche Version kann [hier](http://niklas-rother.de/projekte/wp-mantis) 
gefunden werden**

Original Work by Robert Torres. His Version was not working, since he had a typo
in a variable. I fixed this error and
 extendet this Plugin with some new Features
like Changelogs, Roadmaps etc.

This plugin for WordPress 2.8 and above allows you to insert information from a 
Mantis Bug Tracker
 into a wordpress page or post. The plugin is perfect for projects
which use WordPress for blogging, but also utilize Mantis for their bug tracking/
issue tracking. You can include bug lists, changelogs and roadmaps.

After you installed the Plugin you have to do the following steps:

 1. Create a user in Mantis wich represents your blog. You could name him ‘wordpress’.
    This user needs at least Reporter
     Rights due a limitation in Mantis, but you can
    see the botton of the page to find out, how to change this.
 2. Configure the Plugin.
 3. Add `[Mantis]` to the post or page where you want to appear the infomation from
    Mantis. See below for further instructions.

#### About the Shortcode

You must provide options in the Shortcode:

 * To include a bug list use `[Mantis bugs proj_id=x]`. Replace x with the ID of
   the project wich you want to display.
    You can find the ID in the URL of the 
   Mantis Management Page for this project.
 * To include a roadmap use `[Mantis roadmap ver_id=x]`. Replace x with the ID of
   the Version for that you want to display
    the roadmap. You can find this ID in
   the URL, when you view a single Roadmap in Mantis.
 * To include a changelog use `[Mantis changelog ver_id=x]`. See the instruction
   above this to find the ID.

When including a roadmap or a changelog you can speficify a project and version 
_name_ instead of the ID:
 [Mantis roadmap proj_name=my_project ver_name=1.2.3] 
or you can use a project ID and a version name: `[Mantis roadmap proj_id=x ver_name
=y]` **The `ver_name` Paramter is optional, if missing the full changelog/roadmap
for the project will be displayed**

If you use the ‘bugs’ option, you can add the ‘exclude_stat’ or ‘include_stat’ parameter.
After the eqal sign you can add (comma seperated)
 the IDs of the statuses to exclude
or include. (You can not use include and exclude at the same time, of course!) So
if you dont want to include closed and fixed bugs you would write `[Mantis bugs 
proj_id=1 exclude_stat=90,80]` Here is a list of the IDs:

 * 10 New
 * 20 Feedback
 * 30 Acknowledged
 * 40 Confirmed
 * 50 Assigned
 * 80 Resolved
 * 90 Closed

With the `limit` paramter you can limit the displayed bugs. To display the latest
5 fixed bugs you would write
 [Mantis bugs proj_id=1 include_stat=80 limit=5]

You can change the table background color for each status and use the localized 
status names from your mantis installation.

#### Why the Mantis User needs Reporter rights

This plugin uses the Mantis SOAP API to get the bug information. And to access this
API the user needs at least Reporter
 right. To change this you can create a ‘mc_config_inc.
php’ file in your ‘/api/soap’ directory with the following content:

Now Viewer rights are suffiant for the user.

#### Further plans: (eventually)

 * Only include the CSS/JavaScript if the `[Mantis]` shortcode is in the content

#### Translations

The original plugin is in english, but you can translate in your langguage, since
the pot file is included. If I should include
 your translation, email me: info 
at niklas-rother dot de. So far the following translations are included:

 * German/Deutsch
 * Frensch/Francais

#### Know Bugs

 * The changelog and roadmap is in the default language, not in the language of 
   the user. At this point I dont see a change to fix this.

## 螢幕擷圖

 * [[
 * The normal Buglist in a page.
 * [[
 * A Roadmap in a page.
 * [[
 * The Admin interface (in German)
 * [[
 * The colorpicker in the admin interface.

## 安裝方式

Installation is extremely easy:

 1. Download the .zip file and unarchive into your `/wp-content/plugins` directory.
 2. Activate the plugin.
 3. Visit the WP Mantis page under Settings to set the locations of your Mantis Installation,
    Username/Password, etc.
 4. Add `[Mantis]` to the page or post where you want the table to appear. See the 
    Description for the options.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈WP Mantis〉的開發相關工作。

參與者

 *   [ simsmaster ](https://profiles.wordpress.org/simsmaster/)
 *   [ rtprime ](https://profiles.wordpress.org/rtprime/)

[將〈WP Mantis〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-mantis)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-mantis/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/wp-mantis/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-mantis/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-mantis/)。

## 中繼資料

 *  版本 **1.2.2**
 *  最後更新 **15 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-mantis/)
 * 標籤:
 * [bug tracker](https://tw.wordpress.org/plugins/tags/bug-tracker/)[changelog](https://tw.wordpress.org/plugins/tags/changelog/)
   [Mantis](https://tw.wordpress.org/plugins/tags/mantis/)[roadmap](https://tw.wordpress.org/plugins/tags/roadmap/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-mantis/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/wp-mantis/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-mantis/reviews/)

## 參與者

 *   [ simsmaster ](https://profiles.wordpress.org/simsmaster/)
 *   [ rtprime ](https://profiles.wordpress.org/rtprime/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-mantis/)