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:
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.
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.
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.
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.
To quickly start a Q&A session, follow these steps:
- Create a session
- Edit the session
- Note the sessions shortcode
- Activate the session
- Back in the session overview, manage the session’s guests
- Add at least one guest
- Paste the shortcode in a post
- Visit the post
- In the moderator tab, invite the guest(s)
- Back in the overview, moderate the session
- When you’re done, edit the session again
- And finally use the close button
- Visit the post again and convert the log to static html. After that the session can be deleted.
- Unzip and copy the zip contents (including directory) into the
- Activate the plugin sitewide through the ‘Plugins’ menu in WordPress.
Contributors & Developers
“SD Questions and Answers” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fix message refresh bug in Opera
- Fix language in default template
- Fix max textarea width in dialogs
- 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.
- Status is cached. Even faster startup, less load.
- CSS cleanup.
- 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.
- Caching of messages.
- Faster message updates (15 seconds instead of 60).
- CSS and JS is minified.
- Messages are stored statically as HTML as long as the session is open.
- 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
- Initial public release