“SabaiDiscuss” Documentation by “SabaiApps” v1.2.27


“SabaiDiscuss”

Updated: February 1st, 2014
By: onokazu
Website: http://sabaidiscuss.com/

Thank you for purchasing my plugin. If you have any questions that are beyond the scope of this help file, please feel free to post questions on the comments page at codecanyon. Thanks so much!


Table of Contents

  1. Overview
  2. Plugin Requirements
  3. Installation
  4. Quick Tour
  5. Configuring SabaiDiscuss
  6. Localization
  7. Update SabaiDiscuss
  8. FAQ

A) Overview - top

SabaiDiscuss is a premium questions and answers plugin for WordPress. The plugin features the ability for users to ask and answer questions similar to Stack Overflow or Yahoo Answers.

SabaiDiscuss is an ideal tool not only for building a community driven question-and-answer website but also for building a discussion forum, a knowledge base, or even a helpdesk portal for WordPress.

Resources

B) Plugin Requirements - top

Before installing the plugin, please check that the following conditions are met on your server.


C) Installation - top

The SabaiDiscuss plugin runs on top of an application framework called Sabai. Because of that, you must first install and activate the Sabai plugin.

If you already have the Sabai plugin installed and activated, please skip the Install Sabai part and go straight to the Install SabaiDiscuss section.

Install Sabai

  1. Login to your website and go to the admin dashboard.
  2. Select Plugins -> Add New from the side menu.
  3. Click the Upload link.
  4. Upload the sabai.zip file included in the downloaded package.
  5. Click the Activate Plugin link.

Install SabaiDiscuss

Now that the Sabai plugin is installed and active, you can install the SabaiDiscuss plugin.

  1. Select Plugins -> Add New from the side menu.
  2. Click the Upload link.
  3. Upload the sabai-discuss.zip file included in the downloaded package.

You do not need to activate the plugin. Instead, the Questions add-on needs to be installed from the Sabai add-ons list page.

  1. Select Settings -> Sabai from the side menu.
  2. Scroll page down to the Installable Add-ons table under the Sabai Add-ons section.
  3. Click the green Install button for the Questions add-on, which opens up a form in a popup window.
  4. Fill out the fields in the form. The fields are fairly self-explanatory and the default settings are perfectly fine for the first install in most cases.
  5. Click the Install Questions button on the popup window.

Permalink Setting

SabaiDiscuss requires the WordPress permalink setting to be set other than the default. Go to Settings -> Permalinks and under the Common Settings section, select any other option but the Default option.

That's it! You have now successcully installed SabaiDiscuss on WordPress.


D) Quick Tour - top

Here we learn briefly about the content that SabaiDiscuss adds to your WordPress installation.

Pages

SabaiDiscuss creates a single new WordPress page:

Note that this page is only used as the placeholder for content generated by SabaiDiscuss. Modifying the title or slug of the page will have no effect. If you need to change the display title or slug of the page, go to Questions -> Settings.

Other than the ordinary WordPress pages above, here are some of the pages that SabaiDiscuss generates internally and display them on the frontend. Note that the path of these pages on your site may be different from shown here depending on what you specified during installation.

Administration Pages

This is where you will create and manage questions and answers, adjust your settings.

Let’s take a brief look at the menu items:

ToolBar Menu

SabaiDiscuss adds a new group of menu items to the WordPress Toolbar for easier access to the frontend.


E) Configuring SabaiDiscuss - top

You should be able to run SabaiDiscuss without any problem with the default settings already configured out of the box. However, if you want customization, SabaiDiscuss settings can be found under the Settings page in the Questions menu.

General Settings (under the "General" tab)

- Display Settings -
This section allows you to configure how questions are displayed on various pages of the plugin.

- Reputation Settings -
Reputation is a rough measurement of how much the community trusts users. Here you can configure reputation points users gain or lose on certain events or actions.

- Search Settings -
Allows you to configure the search form settings.

- Spam Settings -
Allows you to configure how SabaiDiscuss handles undesirable questions and answers.

- Page Title Settings -
Allows you to define custom page title for SabaiDiscuss frontend and administration index pages.

- Label Settings -
Allows you to define custom labels for common words used in the plugin.

- Slug Settings -
Allows you to define custom slugs for various SabaiDiscuss pages.

Access Control Settings (under the "Access Control" tab)

- Restrict Access -
Allows you to restrict access to SabaiDiscuss pages by user roles. It is also possible to completely disable frontend access by any user.

- Permissions -
Configure permissions by user roles, including guest users. If Permissions granted based on reputation points is checked, then you can define how many reputation points are required for each permission to be granted to users in each role.

Email Templates Setings (under the "Emails" tab)

- Question Answered Notification Email -
Set up the template used for notification e-mail sent to the question author when his/her question is answered by another user.

- Answer Accepted Notification Email -
Set up the template used for notification e-mail sent to the answer author when his/her answer is marked as accepted.

- Comment Posted Notification Email -
Set up the template used for notification e-mail sent to the question/answer author when his/her post has received a comment by another user.

- Published Post Notification Email -
Set up the template used for notification e-mail sent to the question/answer author when his/her post has been approved and published by an administrator.

- Question Posted Notification Email -
Set up the template used for notification e-mail sent to the members of selected user roles whenever a new question is posted.

- Answer Posted Notification Email -
Set up the template used for notification e-mail sent to the members of selected user roles whenever a new answer is posted.

- Question Posted Admin Notification Email -
Set up the template used for notification e-mail sent to the administrators whenever a new question that requires approval is posted.

- Answer Posted Admin Notification Email -
Set up the template used for notification e-mail sent to the administrators whenever a new answer that requires approval is posted.

- Question Flagged Admin Notification Email -
Set up the template used for notification e-mail sent to the members of selected user roles whenever a question is flagged.

- Answer Flagged Admin Notification Email -
Set up the template used for notification e-mail sent to the members of selected user roles whenever an answer is flagged.


F) Localization - top

SabaiDiscuss is fully internationalized so that it can be translated into many languages.

Translatable files are in the Gettext format, which is the standard format used in WordPress. There are 2 Gettext POT (.pot) files:

Translate these files using a software like POEdit (recommended) and save the generated MO (.mo) files under wp-content/langauges (or under WP_LANG_DIR if this is defined in your wp-config.php). Make sure that you append the lang code of your language to the file names. For example, if you are translating sabai.pot into French, save the generated MO file as sabai-fr_FR.mo.

Limitations
Currently, the MO files must be present prior to installation for SabaiDiscuss to be fully localized. This is because some phrases are stored in database during installation and thus are not translatable at runtime. However, those are very few and you should be able to modify them through the user interface.

Resources

G) Update SabaiDiscuss - top

Step 1: Update Files (for SabaiDiscuss v1.1.3 or lower)

To update SabaiDiscuss to the latest version, what you need to do first is to backup all your SabaiDiscuss files and data. You can do so by backing up sabai and sabai-discuss plugin folders and all your mysql data. After doing so, overwrite the old plugin files with the new ones included in the latest package.

Step 1: Update Files (for SabaiDiscuss v1.1.4 or higher)

As of version 1.1.4, there is no need to manually upload files to your server. Both the sabai and sabai-discuss plugins can be updated from the Plugins page of WordPress dashboard just like other plugins distributed from wordpress.org. Make sure that you have a valid license code configured for the CodeCanyon.net Purchase Code Settings section on the Setings -> Sabai page. Also when updating, you must always update both sabai and sabai-discuss plugins to the same version. The best way to ensure that is to use the bulk update feature of WordPress.

Step 2: Update Data

Next, go to Sabai -> Settings from the Wordpress administration dashboard and under the Sabai Add-ons list section, upgrade all add-ons that are highlighted and have the Upgrade button displayed. Press the Upgrade button for each of these add-ons and follow the instructions displayed on the pop-up window. As of version 1.1.0, you can also do a bulk upgrade by checking the checkboxes on the left and pressing the Upgrade Checked button. Note that some add-ons may not be upgraded until certain add-ons have been upgraded first. Make sure to upgrade all add-ons until all add-ons are de-highlited.

Also, depending on the upgrade package, there may be some add-ons that are newly available for installation. These add-ons will be listed on the Installable Add-ons table below the installed add-ons table so you can click the Install button for each of them to make them active.

That's it, you should have now successfully updaded SabaiDiscuss to the latest version.


H) FAQ - top

Please visit our online FAQ


Go To Table of Contents