Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Installing the Wordpress plugin

Benjamin Jakobus edited this page Feb 17, 2014 · 12 revisions

This page serves as a guide to developers who want to install the SBTK Wordpress plugin. Note that this is an experimental plugin.

Installing the plugin

There are two ways of installing the plugin; the first (and more tedious) method is described below, and involves you cloning this repository and then manually copying the needed files into place. The second method is easier; just download the latest build and copy the plugin into your Wordpress plugins directory.

Step 1: Clone the SocialSDK repository.

Step 2: Under the Wordpress plugins directory (PATH TO INSTALL DIR/wp-content/plugins/) create a folder called ibm-sbtk. Inside this folder, create a sub folder called core. Inside core, create a sub folder called system.

Step 3: Copy the contents of SocialSDK/php/php-core-1.0/src/ into wordpress/wp-content/plugins/ibm-sbtk/core (exclude /php-core-1.0/src/models/SBTKSettings.php, /php-core-1.0/src/samples/* and /php-core-1.0/src/views/*).

Step 4: Now we deploy the plugin. Copy the contents of SocialSDK/php/wordpress-plugin-1.0/src/ to wordpress/wp-content/plugins/ibm-sbtk/. Replace files if prompted.

Step 5: Copy the views into the core: Copy the views folder from SocialSDK/php/wordpress-plugin-1.0/src/views/ into wordpress/wp-content/plugins/ibm-sbtk/core/views

Step 6: Log into your Wordpress administrator page and go to "Plugins" -> "Installed Plugins". Activate the plugin called Social Business Toolkit integration plugin.

Step 7: Go to "Settings" -> "IBM Connections Toolkit". Ensure that your endpoint is configured correctly. Click "Save".

Step 8: Go to "Appearance" -> "Widgets". Drag the desired SBTK widget onto your page.

Step 9: Done.