Moodlespeex for Moodle 1.8 (compatability release)
Created/Modified by the Moodlespeex Prime Team at The University of Puget Sound
Stuff You'll Need
- Moodle's MySQL Information1
- database name
- user name
- password
- table prefix
- Java installed on machines that want to use Moodlespeex
- A Great Attitude
Step 1
Unzip moodlespeex_1.8.zip onto your disk somewhere. You've probably already done this if you're reading this readme.
Step 2
The files in the "moodle" folder of this distribution can simply be dropped into place in the corresponding location in your Moodle installation1.
moodle/lib/speex/*
moodle/filter/speexplayer/*
The items that are NOT in the "moodle" folder are not required on the Moodle server.
Step 3
First , go to the forum directory on moodle. This should probably look something like this in the shell.
cd /var/www/moodle/web/mod/forum/
Once there, type the following:
patch < PATH_TO_PATCHFILE/patchfile
it should say
patching file mod_form.php
patching file post.php
After that you're done (with patching)!
Step 4
Moodle's "forum" table needs an extra field to store whether audio messaging is active. The following SQL will add the column to a MySQL Moodle database (please remember to change the table prefix if you need to):
ALTER TABLE `mdl_forum` ADD `speex` ENUM( 'off', 'on', 'default' ) NOT NULL DEFAULT 'off';
To run this SQL you will either need some sort of mysql interface tool like phpmyadmin, in which case you can simply go to the moodle database and click on the SQL tab and then paste in the above and click run, or you will have to use the mysql commandline client, in which case the sequence of commands will go something like the following (assuming you have already authenticated):
mysql> use moodleDB
mysql> ALTER TABLE `mdl_forum` ADD `speex` ENUM( 'off', 'on', 'default' ) NOT NULL DEFAULT 'off';
(where moodleDB is the name of the moodle database)
Step 5
Login as admin in the moodle web interface and click on the Modules->Filters. On the filters page click on the closed eye icon for moodlespeex so that it looks like an open eye.
Step 6
You are done. Party on.