Title: DBMaker
Author: Toshiyuki Kawashima
Published: <strong>2019 年 3 月 22 日</strong>
Last modified: 2020 年 7 月 11 日

---

搜尋外掛

![](https://ps.w.org/dbmaker/assets/banner-772x250.png?rev=2054964)

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

![](https://ps.w.org/dbmaker/assets/icon-256x256.png?rev=2054964)

# DBMaker

 由 [Toshiyuki Kawashima](https://profiles.wordpress.org/castanet01/) 開發

[下載](https://downloads.wordpress.org/plugin/dbmaker.1.2.zip)

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

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

## 外掛說明

This plugin make simple database from csv.
 Import from csv files to custom post
type.

### features

 * you can make database from csv file
 * import over 10000 records from csv file
 * delete all data records
 * support custom fields and taxonomies
 * sort and search data in backend
 * support shortcode for search form and result list in frontend
 * import from csv, insert only. update record not supported.

### Usage

#### Create Database

 1. Select DataBase Maker in admin menu. Add new post.
 2. Title is database name, it is displayed admin menu.
 3. Content is frontend search form. If content is empty, default form inserted.

#### Edit csv settings

 1. post_type is database type
 2. format is column names order in csv files. comma separated. see **column names**
 3. status is default post status.
 4. character encoding is csv file’s encodeing
 5. “skip lines” : skip n lines
 6. “public access” is data status. if it is checked, public access from frontend.
 7. save post.

#### Import data from csv file

 1. Select your database name in admin menu.
 2. Select csv file and push “read csv”, start importing.
 3. Display progress bar, please wait for a while.

#### Data operation in admin menu

 * keyword search target all columns
 * taxonomy filter supported
 * title, date and custom fields support sorting.
 * Delete all data supported

#### Create search form for frontend

 1. Select DataBase Maker, edit database
 2. edit contents, see **Short codes**
 3. save contents then view posts

### Column names

 * post_title: title of the post
 * post_author: (login or ID) The user name or user ID number
 * post_date:
 * post_excerpt:
 * post_status:
 * post_password:
 * post_name:
 * post_parent:
 * menu_order:
 * tax_{taxonomy}: (string, comma separated) Any field prefixed with tax_ will be
   used as a custom taxonomy.
 * {custom_field_key}: Any other column labels used as custom field.

### Short codes

#### dbm_search

Create form tag for search. This code is enclosing.

option

 * post_type : **required** Search database post_type.
 * posts_per_page : default: 5
 * pager : This option set not empty string, pager support. default: ”

#### dbm_tax_checkbox

Create checkboxes for taxonomy

option

 * name : **requried** taxonomy name.(No “tax_” prefix)

#### dbm_tax_select

Create select tag for taxonomy.

option

 * name : **requried** taxonomy name.(No “tax_” prefix)
 * multiple : This option set not empty string, multiple select box. default: ”
 * size : Select tag size.

#### dbm_textbox

Create text input box

option

 * name : Set search target column name. ‘s’ is target all columns. default : ‘s’
 * required : true or false. default : ‘false’

#### dbm_result_table

Display search result table. This code need outside of dbm_search.

option

 * label : th tag names, comma separated.
 * data : column names, comma separated.

#### dbm_result_pager

Output pager

option

 * label : pager button label. default : ‘first, prev, next, last’

### Arbitrary section

## 螢幕擷圖

[⌊csv settings⌉⌊csv settings⌉[

csv settings

[⌊data list in admin menu⌉⌊data list in admin menu⌉[

data list in admin menu

[⌊search form editor⌉⌊search form editor⌉[

search form editor

[⌊search form in frontend⌉⌊search form in frontend⌉[

search form in frontend

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Plugin Name screen to configure the plugin
 4. (Make your instructions match the desired user flow for activating and installing
    your plugin. Include any steps that might be needed for explanatory purposes)

## 常見問題集

 * Can i export data to csv file?
    Export csv file not supported yet. ToDo.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Toshiyuki Kawashima ](https://profiles.wordpress.org/castanet01/)

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

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

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

## 變更記錄

#### 1.2

*fix all delete bug.

#### 1.1

 * add view link in database admin menu.
 * no import empty records.
 * add order and orderby parameter in frontend search.
 * Shortcode dbm_search: add parameter preload. Set it, data list load on init.(
   orderby post_id, ASC)
 * Back to seach result page in frontend, recently data list display.

#### 1.0

 * first release

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **6 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 4.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.4.19**
 *  PHP 版本需求 ** 5.2.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/dbmaker/)
 * 標籤:
 * [csv](https://tw.wordpress.org/plugins/tags/csv/)[database](https://tw.wordpress.org/plugins/tags/database/)
   [import](https://tw.wordpress.org/plugins/tags/import/)[search](https://tw.wordpress.org/plugins/tags/search/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dbmaker/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Toshiyuki Kawashima ](https://profiles.wordpress.org/castanet01/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.castanet.tokyo/donation)