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

SD Questions and Answers

外掛說明

A question & answer or “chat” that allows site visitors to send in questions. The questions can then moderated by the admin(s) and then shown to invited guests to answer.

Q&A sessions are created per blog meaning that multiple blogs in the network can each have multiple simultaneous sessions. Sessions are inserted into pages by the shortcode: [sd_qa session_id="1"]

Each session has its own guests and its own display template. The display template contains the css information, display template and invitation email text. The CSS included is jQuery UI’s Cupertino theme, but can be easily replaced by downloading another and editing the CSS file locations in the display tempalte.

After a session is complete a permanent log of the chat / session will be created and shown to future visitors. The log can be converted to static html within the post by having the plugin replace the shortcode with the log. Visit the shortcoded page and follow the instructions.

Available in:

  • English
  • Swedish

Guests

After a session is marked as active by an admin, guests can be invited by the admin using the shortcode.

The guest will recieve an invitation with a link to the post. After arriving the guest will have to “log in” with their email address after which unanswered questions will start appearing.

Spam protection

If moderation is selected for the session, all questions are first sent through a filter. The filter can be added to per session by the admin. Currently the filter can be set to automatically discard questions from specific IPs.

After the questions are filtered they are visible only to the moderator who can then edit the question before accepting it.

Optimization

As of version 1.2 the messages are stored statically, which means far few AJAX requests from clients thereby reducing the load on the server.

Quick guide

To quickly start a Q&A session, follow these steps:

  1. Create a session
  2. Edit the session
  3. Note the sessions shortcode
  4. Activate the session
  5. Back in the session overview, manage the session’s guests
  6. Add at least one guest
  7. Paste the shortcode in a post
  8. Visit the post
  9. In the moderator tab, invite the guest(s)
  10. Back in the overview, moderate the session
  11. When you’re done, edit the session again
  12. And finally use the close button
  13. Visit the post again and convert the log to static html. After that the session can be deleted.

螢幕擷圖

  • Visitor's view with tabs disabled
  • Visitor's view with tabs enabled
  • Moderator's public view
  • Guest's view with login box
  • After a guest has logged in
  • Guest answering a question
  • Moderator's tab with guest invitation buttons
  • Admin moderating an opened session
  • Moderator editing a question before sending it to the guests
  • Moderator's view of unanswered questions
  • Moderator inserting a message
  • Settings - Role to use
  • Editing a display template
  • Editing a session
  • Managing the guests of a session
  • A closed session with [almost] static HTML displayed to visitors

安裝方式

  1. Unzip and copy the zip contents (including directory) into the /wp-content/plugins/ directory
  2. Activate the plugin sitewide through the ‘Plugins’ menu in WordPress.
  3. Javascript is a requirement for visitors, guests and moderators.

使用者評論

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

參與者及開發者

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

參與者

將〈SD Questions and Answers〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.7 2012-10-01

  • Fix message refresh bug in Opera
  • Fix language in default template
  • Fix max textarea width in dialogs

1.6 2012-09-27

  • Added hooks allow plugins to add extra fields to questions.
  • Added CSS style option in display templates.
  • Added option to allow guests to login automatically.
  • Fix dataType bugs in js.
  • Updated base.

1.5 2012-02-21

  • Status is cached. Even faster startup, less load.
  • CSS cleanup.

1.4

  • Unmoderated questions are no longer shown in the Question & Answer moderater overview (next to the unmoderated questions tab).
  • Cache directory moved to WP-CONTENT.
  • Links in questions, answers and messages can be automatically identified and anchored.

1.3

  • Caching of messages.
  • Faster message updates (15 seconds instead of 60).
  • CSS and JS is minified.

1.2

  • Messages are stored statically as HTML as long as the session is open.

1.1

  • Moderators can edit and delete: questions, answers and messages.
  • Shortcodes can be converted into static html if the admin visits a shortcoded post.
  • Default template uses divs instead of spans so that shortcode to html conversions don’t break the display.
  • More minimum and maximum limits

1.0

  • Initial public release