Configure LDM to use Wimpy/Wasp players

Updated Wimpy Button and Wasp to versions 4.x and Wimpy to version 6.x. These
require new registration codes and a couple of file edits
Also added enable/display configuration settings on LDM/admin/settings

Includes demo versions of Wimpy, WimpyButton and Wasp. To use the real things,
visit www.wimpyplayer.com and buy a licence for the product(s) you want.

NB: If you turn off the LDM setting *local_file_root*, the Wasp plugin only plays local
files (no full url).  Wimpy itself is ok with *local_file_root* on or off

1) Make a copy of the contents of the extra's clientscript directory

2) Registration codes

Enter your registration codes

Wimpy Button: edit the file clientscript/wimpy/wimpy-button.js
Wimpy: edit the file clientscript/wimpy/wimpy.js
Wasp: edit the file clientscript/wimpy/wasp.js.  Find the line

Find:
	var wimpyReg			= "";
and enter your code between the quotes.

2) vbAdvanced

If you are using vbAdvanced and your cmps_index.php file is *not* in your
forums directory, you must edit the javascript files so that they can
find the Wimpy flash code

Wimpy Button: edit the file clientscript/wimpy/wimpy-button.js

Find:
	var wimpySwf = "clientscript/wimpy/wimpy_button.swf";
Change to:
	var wimpySwf = "/path/to/forum/clientscript/wimpy/wimpy_button.swf";

Wimpy: edit the file clientscript/wimpy/wimpy.js
Wasp: edit the file clientscript/wimpy/wasp.js

Find:
	var wimpySwfBasename	= "clientscript/wimpy/wimpy.swf";
Change to:
	var wimpySwfBasename	= "/path/to/forum/clientscript/wimpy/wimpy.swf";

4) Installation

Upload the contents of /clientscript (including the subdirectory) into your forum/clientscript

5) Use the vb plugin installer to upload:

wimpybutton-mp3-plugin.xml (Uses Wimpy button to play mp3 files inline within the linkbit)

or

wimpyplayer-mp3_plugin.xml (standard Jukebox, uses Wimpy to play mp3 only)

and/or

wimpyplayer-flash-plugin.xml (standard Jukebox, uses Wimpy wasp to play flv/swf/mp4/mpeg files)


tested: 27.04.2009