Share

Subscribe to 123FlashChat Facebook Twitter
How to add a chat room to your Elgg

How to add a chat room to your Elgg

To add a feature-rich chat room to your Elgg, please refer to the following instructions.

Firstly, please download Elgg chat module, and uncompress the package.

Free Download Elgg 123 Flash Chat Plugin

Installation Level: Intermediate
Installation Time: ~5 Minutes


Then, copy: folder elgg_mod_for_123flashchat/123flashchat/

To: <elgg root directory>/mod/123flashchat


Secondly, activate the chat module.

Please login Elgg Admin Panel-> Configure-> Plugins
Click "Activate" button.

Elgg Plugin Settings for 123 Flash Chat

Thirdly, configure module

Please login Elgg Admin Panel-> Configure-> Settings-> 123 Flash Chat -> Chat Setting

Elgg Chat Settings for 123 Flash Chat

1. Chat Server Mode

If you choose Chat Server Host By Your Own, please set Auth-URL by the instructions that mentions from the fourth step.

Elgg Chat Server Host By Own for 123 Flash Chat

If you choose Chat Server Host By 123 Flash Chat, not only you need to set Auth-URL by the instructions that mentions from the fifth step, but also write your Chat Client Location.

Elgg Chat Server Host By Own for 123 Flash Chat

Or you choose Chat server Host By 123 Flash Chat For Free, please fill in your chat room name. (If you leave room name as blank, the default room name's value will be your domain's name.)

Elgg Chat Server Host By Own for 123 Flash Chat

2. The following data of the chat room can display on chat page to attract more users to join chatting.

Total rooms, total connections, online users
Chat room list
Online user list

The 2 types of data can be individually disabled to display if you need. And there is no show room list option in the free hosted mode.

Elgg Chat Status Settings for 123 Flash Chat

3. Various chat clients and different open modes

You need to choose a chat client according to your need, as following:

Standard Chat (standard, with full features),
Html Chat (simple and neat)
Avatar Chat (with walking cartoon figures).

Elgg Chat Client Mode Settings for 123 Flash Chat

4. Change size, language and skin

You can change chat window size, language and a proper skin to match your website.

Elgg Chat Size, Language and Skin Settings for 123 Flash Chat

Multiple skins options are available:

123 Flash Chat Free Download

123 Flash Chat Free Download

5. Live show and profile Setting

Optional live show is available for paid users, and you can set the live show chat skin and the room whose chat content will be displayed in the home page.

Elgg profile can be integrated to the chat.

Elgg Live Show Chat and Profile Settings for 123 Flash Chat

Forthly, integrate your chat with Elgg user database.

1. Elgg Admin Panel-> Configure-> Settings-> 123 Flash Chat-> Admin Panel, log in the chat Admin Panel ->System Settings-> Integrate Panel.

2. Server Settings-> Integration-> DataBase-> SELECT: URL-> edit.

3. Change URL

http://<elgg install directory>/modules/?r=123_flash_chat/login&username=%username%&password=%password%

4. Restart chat server at System Management -> Restart

The following image describes how auth-URL integration works.

The following image describes how auth-URL integration works.

The Auth-URL application will perform as the communicating medium of the chat server and the database, i.e.: in fact, when a user logs on a chat server, the server won't connect to the user database directly, instead, it will send the username and password to the Auth- URL. Then the Auth- URL requests the database to authenticate the user. Finally, the Auth- URL will return the feedback to the chat server in a predefined way, whether approved or declined.

Fifthly, if you want to show the chat information in every page, please do the following steps:

1. Modify file: <Elgg root directory>/views/default/page/layouts/ones_siderbar.php

Find:

<div class="elgg-sidebar">
             <?php
                     echo elgg_view('page/elements/sidebar', $vars);

After add:

/* 123 FLASH CHAT CODE START */

require_once(elgg_get_plugins_path().'123flashchat/pages/123flashchat/sidebar.php');

       require_once(elgg_get_plugins_path().'123flashchat/lib/functions.php');
       global $CONFIG;
       $queryguid = "SELECT * FROM objects_entity WHERE title = '123flashchat'";
       $chatobject = get_data_row($queryguid);
       $query = "SELECT * FROM private_settings WHERE entity_guid = $chatobject->guid";
       $chatSettingarray = get_data($query);
       foreach ($chatSettingarray as $key => $value)
       $chatSetting = (object)$chatSetting;
       echo getSideBar($chatSetting);

/* 123 FLASH CHAT CODE END */

2. Modify file: <Elgg root directory>/mod/123flashchat/pages/123flashchat/index.php

Find:

$sidebar = getSideBar($chatSetting);

Change it to:

//$sidebar = getSideBar($chatSetting);

$sidebar = '';

Integration done, enjoy your chat,

 Elgg Chat Button, 123 Flash Chat

if you have any questions about chat room, please visit http://www.123flashchat.gr/faq.html.
You can also send email to support@123flashchat.gr, we offer free integration service for license buyer and yearly hosting buyer.

About Us | Contact us | Company Blog | Partnership | Affiliate | Forum | Privacy policy | Terms of Use | SiteMap | Links

Call Sales Now! USA 408-728-6398, UK +44-20-3286-1986, HK +852-8121-1988

Share 123 Flash Chat:

Copyright © TopCMM Software Limited 2001-2016 All Rights Reserved.

Powered by Greek-Chat.gr