Instant Messenger

Eingetragen von am Mo, 14. Dez 2009 - 15:40


Beschreibung
Angepasster Ajax Chat von anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/ für Ilch.

Features
1. Gmail style bottom right display of chat boxes
2. Keeps chat boxes open and stores state (data) even when pages are browsed/refreshed similar to Facebook
3. Displays “Sent at…” after 3 minutes of inactivity
4. Displays “X says…” & blinks chat boxes when window is not in focus
5. Minimize and close chat boxes
6. Auto-resize of text input box
7. Auto-scrolling of chat text
8. Auto-back-off polling policy (hits the server less-often when chat activity is low)
9. Extremely simple to integrate into existing site

Copyright (c) 2009 Anant Garg (anantgarg.com | inscripts.com)
Modified 2009 Florian Koerner (ilch.de | Flomavali)


Lizenz
This chat script can be used for free under GPL-style license for non-commercial purposes. For commercial purposes, please purchase a license.
anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/


Installation
1. Alle Dateien im Ordner upload, in ihrer Ordnerstruktur hochladen

2. Folgenden Code in die index.php nach
site_statistic();

einfügen oder Extras-Ordner in ihrer Ordnerstruktur hochladen
if ( isset ( $_GET['messenger'] ) ) {
	require_once('include/includes/func/messenger.php');
	db_close();
}


3. Link für IM, wie folgt im Profil einfügen oder Extras-Ordner in ihrer Ordnerstruktur hochladen
<a href="javascript:void(0)" onclick="javascript:chatWith('{NAME}')">IM Fenster öffnen</a>


4. Führe die installation.php über index.php?installation in Deinem Browser aus.

5. Folge den Anweisungen

6. Füge folgenden Code in den Header Deines Designs (index.htm) ein
	<script type="text/javascript" src="include/includes/js/jquery.js"></script>
	<script type="text/javascript" src="include/includes/js/messenger.js"></script>
	
	<link type="text/css" rel="stylesheet" media="all" href="include/includes/css/messenger/chat.css" />
	<link type="text/css" rel="stylesheet" media="all" href="include/includes/css/messenger/screen.css" />

	<!--[if lte IE 7]>
	<link type="text/css" rel="stylesheet" media="all" href="include/includes/css/messenger/screen_ie.css" />
	<![endif]-->