This is all deprecated. Anything interesting has been moved to the main code base. Please see: Mods and XMPP Marc Laporte
Mod plugin displays a chat (using phpfreechat) in a wiki page.
phpFreeChat is a free, simple to install, fast, customizable and multi languages chat that uses a simple filesystem for message and nickname storage. It uses AJAX to smoothly refresh (no flicker) and display the chat zone and the nickname zone. It supports multi-rooms (/join), private messages, moderation (/kick, /ban), customized themes based on CSS and plugins systems that allows you to write your own storage routines (ex: Mysql, IRC backends â€¦), and you own chat commands !
Checkout the phpfreechat demo: http://www.phpfreechat.net/demo
|title||text||title for the chat window|
|channel||text||chat channel name|
- Additionally, and if it's not you available elsewhere, you can download the files from svn directly:
- Copy the file tiki-phpfreechat_ajax.php from the lib/phpfreechat folder and paste it to the root of Tikiwiki.
- Take all the content that is in the first thing you downloaded from svn (http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/mods/trunk/wiki-plugins/phpfreechat/) and put everything in the wiki-plugins/phpfreechat folder.
- In your Tiki, create a new Wiki page with the title "chat" (per example) and insert this content :
- In the file lib/setup/js_detect.php, start by finding these lines:
// NB replace "normal" speeds with int to workaround issue with jQuery 1.4.2 $headerlib->add_js($js, 100);
- After this section, add these lines:
$jsPrototype = 'if (Prototype) jQuery.noConflict();'; $headerlib->add_js($jsPrototype, 101);
- N.B.: This procedure has been tested on a Tiki 6.0-6.1. Perhaps this line of code is going to be added in next versions.