Skip to end of metadata
Go to start of metadata

Skype Plugin for Editor

Table of Contents

The Skype Plugin allows you to embed a button that will allow your students to chat with you using Skype when they need it.

This is very helpful to support students while they are doing activities, to facilitate interaction and coordination.

Pre-requisites

You will need to have an account on Skype as well as to have the Skype software installed on your desktop/laptop. Note, you don't need to have skype installed in the LAMS server!

Download the Skype Editor plugin for LAMS from the LAMS Downloads (See LAMS Addons)

How to use it

Login into LAMS and in any Editor you should see a Skype button

Once you press it, you get:

Complete your skype username in the form, choose the icon you want to use and click OK! You are done!

Note that the button will change according to whether you are online on Skype or not.

What would the students see?

Once they click on the button, then their Skype will launch and they'll be chatting with you! Happy Students! (wink)

Help and Troubleshooting

My Skype is on and I'm online but the button shows that I'm offline!

There's a setting you need to change on Skype so people can see whether you are online of offline. Go to the Properties menu on Skype and check the "Allow my status to be show on th web"

Any more questions, ask in the technical forums in the LAMS Community

Installation

Only required for LAMS v2.3 and prior

After LAMS v 2.4.1, the skype plugin is already included by default, so no need to install it.

This is the stuff you need to do in your LAMS server.

Download the Editor Skype Plugin from the LAMS Downloads (See LAMS Addons)

As this is a plugin for the Editor, you will need unzip the Skype editor plugin in the following folder:

In Windows:

X:\whereever-you-installed-lams-directory\jboss-4.0.2\server\default\deploy\lams.ear\lams-central.war\fckeditor\editor\plugins

Note that X: is the drive directory and of course "whereever-you-installed-lams-directory" is the whereever you installed LAMS directory (smile) Please change them accordingly.

In Unix/Linux:

/whereever-you-installed-lams-directory/jboss-4.0.2/server/default/deploy/lams.ear/lams-central.war/fckeditor/editor/plugins

After you unzipped the file, there's one file you would need to modify

If you are in Windows, look for this file and open it with Notepad:

X:\...\jboss-4.0.2\server\default\deploy\lams.ear\lams-central.war\includes\javascript\fckconfig_custom.js 

This file should look like similar to this:

FCKConfig.ToolbarSets["Default"] = [
        ['Source','-','FitWindow', 'Preview','PasteWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','OrderedList','Un
orderedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','TextColor','BGColor'], 
        ['Image','Link','Table','Rule','Smiley','SpecialChar','Templates','FontFormat','FontName','FontSize','About']
] ;

FCKConfig.ToolbarSets["Default-Learner"] = [
        ['Preview','PasteWord'],
        ['Undo','Redo'],
        ['Bold','Italic','Underline', '-','Subscript','Superscript'],
        ['OrderedList','UnorderedList','-','Outdent','Indent'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
        ['About'],
        ['TextColor','BGColor'],
        ['Table','Rule','Smiley','SpecialChar'],
        ['FontFormat','FontName','FontSize']
] ;

FCKConfig.ToolbarSets["Custom-Wiki"] = [
        ['Preview','PasteWord'],
        ['Undo','Redo'],
        ['Bold','Italic','Underline', '-','Subscript','Superscript'],
        ['OrderedList','UnorderedList','-','Outdent','Indent'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
        ['WikiLink','Link','Image'],
        ['About'],
        ['TextColor','BGColor'],
        ['Table','Rule','Smiley','SpecialChar'],
        ['FontFormat','FontName','FontSize']
] ;

FCKConfig.EditorAreaCSS = FCKConfig.BasePath + '../../css/defaultHTML_learner.css' ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/office2003/' ;
FCKConfig.FirefoxSpellChecker = true;
FCKConfig.BrowserContextMenuOnCtrl = true;
FCKConfig.DefaultLinkTarget = "_blank";
FCKConfig.TemplatesXmlPath = FCKConfig.BasePath + '../../www/htmltemplates.xml';
FCKConfig.FontFormats   = 'div;h1;h2;h3;h4;h5;h6;pre;address;p' ;
FCKConfig.EnterMode = 'div' ;
FCKConfig.Plugins.Add('wikilink', 'en', FCKConfig.BasePath + '../../tool/lawiki10/');

I know, it looks like Chinese to me too (wink) But don't panic, Let's look at it one by one.

First part:

FCKConfig.ToolbarSets["Default"] = [
        ['Source','-','FitWindow', 'Preview','PasteWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','OrderedList','Un
orderedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','TextColor','BGColor'], 
        ['Image','Link','Table','Rule','Smiley','SpecialChar','Templates','FontFormat','FontName','FontSize','About']
] ;
...

This part is the list and order of Tool sets that are displayed when the Editor is presented, so this results in this in the Editor

As you can probably figure out by now, the "Source" button in the picture, corresponds to the first 'Source' button in the code... and so on and so on. Therefore what we need to do to add the Skype button is to include it in the list code. As follows:

FCKConfig.ToolbarSets["Default"] = [
        ['Source','-','FitWindow', 'Preview','PasteWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','OrderedList','Un
orderedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','TextColor','BGColor'], 
        ['Image','Link','Table','Rule','Smiley','SpecialChar','Templates','FontFormat','FontName','FontSize','My_Skype','About']
] ;
...

As you can see, I have put it in between the 'FontSize' and the 'About' buttons in the menu.

Second part:

Now that we have included in the menu, we need to add just one more line at the bottom of the document:

...
FCKConfig.TemplatesXmlPath = FCKConfig.BasePath + '../../www/htmltemplates.xml';
FCKConfig.FontFormats   = 'div;h1;h2;h3;h4;h5;h6;pre;address;p' ;
FCKConfig.EnterMode = 'div' ;
FCKConfig.Plugins.Add('wikilink', 'en', FCKConfig.BasePath + '../../tool/lawiki10/');
FCKConfig.Plugins.Add( 'skype' , 'en');

See, I have added this last line:

FCKConfig.Plugins.Add( 'skype' , 'en');

And that's it (smile)

Credits

This plugin is done by Tim Struyf and slightly modified and improved by Ernie Ghiglione


Labels