I discovered the following issue since I downloaded & installed Wibiya through Drush:

If you go to http://www.wibiya.com/EditFinalize.php, and select Drupal as the platform, you will get the following instructions:

1. Download Module

2. Install Plugin
-Copy the module file into your Drupal modules directory.
-In your Drupal admin site, go to 'Site Building' and then to the 'Modules' page and activate the Wibiya plugin.
-Now go to 'Site configuration' and enter the 'Wibiya' module.
-Make sure it's on, and enter your Toolbar Path which is http://cdn.wibiya.com/Toolbars/...
-Save changes and that's it!

However, the instructions for Step 2 only work for the version of the module that is downloaded on Step 1 (the one on Wibiya's site). The one on Drupal.org just prints the Wibiya toolbar code that you entered verbatim.

See lines 87-100 of the wibiya.module (downloaded from Drupal.org):

/**
 * Add the JS for Wibiya
 */
function wibiya_footer() {
	if(variable_get('wibiya_enabled',1) && _wibiya_check_page())
	{
	  if ($var = variable_get('wibiya_code','')) {
			return $var;
		}
		else {
			drupal_set_message(t('Please configure the <a href="/admin/settings/wibiya">Wibiya Settings</a>.'));
		}
	}
}

With this code, it will not work to simply paste your Wibiya toolbar URL, since it will not be wrapped in the necessary <script> tags.

The instructions would have to say

-Make sure it's on, and enter the Javascript code for your toolbar which is <script type="text/javascript" src="http://cdn.wibiya.com/Toolbars/dir_<id>/Toolbar_<id>/Loader_<id>.js"></script>

Of course, this is a change that would have to be made in the Wibiya site, not in the documentation for this module (since it doesn't ship with any).

Comments

EvanDonovan’s picture

The better alternative would be to have the hook_footer() code in this version of the module brought into sync with the version on the Wibiya site, as per #1143484: This module & the version on Wibiya site are out of sync.