Fullscreen
[Show/Hide Right Column]

Mod phpfreechat

This Mod plugin displays a chat (using phpfreechat) in a wiki page.
Image

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 !

Image
Image


Checkout the phpfreechat demo: http://www.phpfreechat.net/demo

Usage

To display a module in a wiki page, use the syntax:
{PHPFREECHAT(title=title, channel=name)}{PHPFREECHAT}

Parameter Accepted values Effect Since
title text title for the chat window
channel text chat channel name


To install

Checkout the Mods section.
  • 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 :
    {PHPFREECHAT(title=title, channel=name)}{PHPFREECHAT}
  • 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.


Alias
PluginPhpfreechat

Contributors to this page: xavi67881 points  , helenedufour28 points  , lindon137 points  and system .
Page last modified on Wednesday 22 December, 2010 15:31:56 UTC by xavi67881 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki