Title: WP-Waitlist
Author: Meitar
Published: <strong>2014年5月5日</strong>
Last modified: 2014年5月5日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

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

# WP-Waitlist

 作者: [Meitar](https://profiles.wordpress.org/meitar/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-waitlist.0.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-waitlist/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-waitlist/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-waitlist/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-waitlist/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-waitlist/)

## 説明

Add one or more “lists” to any post. Registered users of your site can then join
or leave the list. Lists can be used for any purpose (event RSVPs, running polls
or surveys, etc.) and can be unobtrusively added to any post type. Optionally, lists
can have a maximum number of users on it that you define, after which any user who
joins the list is automatically added to an overflow “waitlist.”

This plugin also serves the needs of plugin developers who are looking for a simple
way to manage sets of users on a per-post basis. A simple set of public functions
are exposed to other installed plugins that developers can use to get information
about the lists themselves, and the users listed on them.

#### Code examples

After installing and activating this plugin, include it in your own plugin project
as follows:

    ```
    <?php
    /**
     * Plugin Name: My plugin project
     * Plugin URI: http://example.com/
     * Description: Example plugin for playing with WP-Waitlist.
     * Author: Me, myself, and I
     * Version: 1.0
     */

    class My_Plugin {
        private $WP_Waitlist;

        public function __construct () {
            add_action('init', array($this, 'registerDepdencies'));
        }

        public function registerDepdencies () {
            global $WP_Waitlist;
            if (!$WP_Waitlist) {
                // WP-Waitlist is not available, issue an error.
            } else {
                $this->$WP_Waitlist = $WP_Waitlist;
            }
        }

    }

    $My_Plugin = new My_Plugin();
    ```

At that point, you can call WP-Waitlist’s functions in your own plugin as follows:

    ```
    public function myPluginLearnsAboutWaitlists ($post_id) {
        // Get an array of all lists that the author of this post created.
        $lists = $this->WP_Waitlist->getListsForPost($post_id);

        // You can iterate through the lists attached to this post.
        foreach ($lists as $list_name) {
            $list_properties = $this->WP_Waitlist->getListProperties($post_id, $list_name);
            foreach ($list_properties as $property_name => $property_value) {
                print "$property_name is $property_value <br />";
            }

            // You can also learn which users are on the list...
            $user_ids = $this->WP_Waitlist->getListedUsers($post_id, $list_name);
            foreach ($user_ids as $id) {
                $this_wp_user = get_userdata($id); // $this_wp_user is now a WP_User object.
            }

            // ...and which users have been waitlisted (joined after the list reached capacity).
            $waitlisted_users = $this->WP_Waitlist->getWaitlistedUsers($post_id, $list_name);

            // You can also get an array all users who have added themselves to the list, sorted by date.
            $all_user_ids_on_list = $this->WP_Waitlist->getUsersOnList($post_id, $list_name);
        }

    }
    ```

#### Plugins that use this one

Know of a plugin that’s using WP-Waitlist? Let us know by posting in [the support forum](https://wordpress.org/support/plugin/wp-waitlist/).
🙂

 * [WordPress Volunteer Project Manager](https://wordpress.org/plugins/volunteer-project-manager/)
   
   Maintaining this plugin is a labor of love. However, if you like it, please consider
   [making a donation](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=meitarm%40gmail%2ecom&lc=US&item_name=Waitlists%20for%20WordPress&item_number=wp%2dwaitlists&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
   for your use of the plugin, [purchasing one of Meitar’s web development books](http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26sort%3Drelevancerank%26search-type%3Dss%26index%3Dbooks%26ref%3Dntt%255Fathr%255Fdp%255Fsr%255F2%26field-author%3DMeitar%2520Moscovitz&tag=maymaydotnet-20&linkCode=ur2&camp=1789&creative=390957)
   or, better yet, contributing directly to [Meitar’s Cyberbusking fund](http://Cyberbusking.org/).(
   Publishing royalties ain’t exactly the lucrative income it used to be, y’know?)
   Your support is appreciated!

## インストール

 1. Download the plugin file.
 2. Unzip the file into your ‘wp-content/plugins/’ directory.
 3. Go to your WordPress administration panel and activate the plugin.
 4. In the Waitlist Details meta box on any post editing screen, enter a new list name,
    then publish the post. A join button will automatically appear on the published
    post.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

WP-Waitlist はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献し
ています。

貢献者

 *   [ Meitar ](https://profiles.wordpress.org/meitar/)

[“WP-Waitlist” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-waitlist)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-waitlist/)するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-waitlist/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-waitlist/)
を [RSS](https://plugins.trac.wordpress.org/log/wp-waitlist/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### Verson 0.1

 * Initial release.

## メタ

 *  バージョン **0.1**
 *  最終更新日 **12年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 3.1またはそれ以降 **
 *  検証済み最新バージョン: **3.9.40**
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-waitlist/)
 * タグ
 * [developer](https://ja.wordpress.org/plugins/tags/developer/)[user lists](https://ja.wordpress.org/plugins/tags/user-lists/)
   [user management](https://ja.wordpress.org/plugins/tags/user-management/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-waitlist/advanced/)

## 評価

 5つ星中4つ星

 *  [  0 5-星レビュー     ](https://wordpress.org/support/plugin/wp-waitlist/reviews/?filter=5)
 *  [  1 4-星レビュー     ](https://wordpress.org/support/plugin/wp-waitlist/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/wp-waitlist/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/wp-waitlist/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/wp-waitlist/reviews/?filter=1)

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-waitlist/reviews/)

## 貢献者

 *   [ Meitar ](https://profiles.wordpress.org/meitar/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-waitlist/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=meitarm%40gmail%2ecom&lc=US&item_name=Waitlists%20for%20WordPress&item_number=wp%2dwaitlists&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)