Community Documentation

Drutalk Installation

Last updated March 26, 2011. Created by pm530 on January 3, 2011.
Edited by silverwing. Log in to edit this page.

Drutalk Module Installation:

Prerequisites:
1. The drupal server to install drutalk on has to be publicly accessible. (why? open another thread to discuss this later)
2. Clean URL is recommended.
3. Flash player 10.1 or above is required on user side.

Module Dependencies:
1. Services
2. Amfphp
3. Relationships

Step by step installation:
1. Download and install the Services Module (6.x-2.4):
http://drupal.org/project/Services

2. Download and install the AMFPHP Module (6.x-1.0-beta2):
http://drupal.org/project/amfphp
Note: The amfphp lib is needed, please read the module readme.txt
Visit: http://yourdomain.com/services/amfphp and make sure amfphp is properly working.

3. Download and install the User Relationships Module (6.x-1.0):
http://drupal.org/project/user_relationships
Note: Create a mutual relationship type (eg. friend), and add each other (user1 and user2) as firend. read the module readme for more information.

4. Download and install the latest druTalk IM module:
http://drupal.org/project/drutalk

5. Grant user permissions for using druTalk

6. Open two different browsers (eg. IE and Firefox), log in with two different users (user1 and user2). Go to http://yourdomain.com/drutalk and talk to each other.

Post installation:

You may want to create a link,menu,tab,banner or button to popup the IM app with Javascript.
eg, you can create block and use the following code for the popup link:

<a href="/drutalk" onclick="window.open('/drutalk','popup','width=250,height=612,scrollbars=no,
resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,
left=0,top=0'); return false"> Instant Messenger </a>

Page status

About this page

Drupal version
Drupal 6.x
Audience
Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here