Loading...
 
Use phpfreechat in a wiki page

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.
    • G.I.: In tiki version 9.1, the file js_detect.php has been renamed to javascript.php and portion of the code has changed. I have yet to test where to put the aforementioned lines of code.


Alias
PluginPhpfreechat

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

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

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC

Tiki Newsletter

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