mjmchat chat room with nodeJs

  1. Requirements
  2. Usage

mjmChat is an extensions chat with nodeJs.

Requirements

To implement this extension, you need to have a dedicated IP for the web server port, you must assign the extension.

For more information about NodeJs can see the address. http://nodejs.org

Usage

After installation nodeJs on your server, you must file app.js in the extensions/MjmChat/SERVER command line will run as follows.

node app.js

config/main.php

'import'=>array(
	'application.extensions.MjmChat.*',
),

The following code after the body-tag in your layout to run on all pages.

$this->widget('MjmChat', array(
				'title'=>'Chat room',
				'rooms'=>array('php'=>'PHP Room', 'html'=>'HTML Room'),
				'host'=>'http://localhost',
				'port'=>'3000',
			)
);

You can change the extension of the partnership.

DEMO : http://yii.mjm3d.ir

3 0
10 followers
814 downloads
Yii Version: Unknown
License: GPL-2.0
Category: User Interface
Developed by: javad
Created on: Jun 13, 2013
Last updated: 10 years ago

Downloads

show all

Related Extensions