[Show/Hide Right Column]

Real time chit-chat directly on the site Type of page »  Feature page



Review of 1.9.4 Chat Operation

  • Things that work:
    • Rooms:
      • Users can move between rooms
      • Rooms with different update times seem to operate at the correct update rates.
    • Messages
      • Basic messages post on posting users screen in blue
      • Basic messages post on non-posting users screens in black
      • Private messages do not display on posting users screen
      • Private messages display on the recipient's screen in red
      • Private messages do not display on non-recipient's screen
    • Purging messages
      • If the purge time is set down from 1440 to something small for testing (15min), the purging seems to work properly
    • Browsers
      • Internet Explorer seems to work
      • Firefox seems to work
  • Things that are questionable
    • Private messages stay at the bottom of the screen - not chronological with non-private messages.
      • This may be considered a feature - not sure what is typically done with private messages on chatrooms.
        • I don't like this functioning this way. Another box would probably be better, or leave the private messages in line with the others if possible.
    • The messages are currently cleared on a 1440 minute basis - with note to change to preference setting
    • Not sure what criteria is being used to update screens - how many messages? how old?
      • It seems that all messages for a given room are displayed to users that enter the room. (last 24hrs with current purge setting of 1440)
      • It appears that there was an attempt at some logic to only send messages since lastmessage. Not sure how this was supposed to work. This may have required the javascript coding that appears to have been abandoned in favor of direct print statements.
    • Users display
      • Current users in room does not always seem to be correct.
        • This needs checked with multiple machines - I'm using multiple browser windows on one machine to test.
  • Things that could be added:
    • Timestamps on messages
    • Room entry notifications when new users enter rooms.
    • Room exit notifications when users exit rooms.
    • block out users selectively
    • assign colors to users
    • Logging - there are references to this in the code, but I don't think it is functional.
  • Very Strange
    • Clicking on a username in the active users causes the whole tiki site to try to display in the user pane - on the user's information screen. (Firefox, IE)
    • Notice: Undefined index: lastMessage in /var/www/html/tikiwiki-1.9.2/tiki-chat_loader.php on line 83
      • I think there may be some problem with the lastMessage logic that should be used to determine which messages to display for each user session. This message appears the first time a user logs in to a room. As soon as the chatroom updates once the message goes away. maybe lastMessage is not properly initialized.



 RatingSubjectSubmitted byCategoryInvert SortImportanceEasy to solve?PriorityVolunteered to solveLastModifComs
open -2 -1 1 2 (0) Help Reset chat contentyanick.rochonFeature request
Less than 30-minute fix
10 easy
marclaporte-03 Jan 14


No records found


 RatingSubjectSubmitted byCategoryInvert SortImportanceEasy to solve?PriorityVolunteered to solveLastModifComs
closed -2 -1 1 2 (0) Help Make pjirc use the usernames from tikiwiki as the username in ircilloriFeature request
xavi-10 Jun 09
closed -2 -1 1 2 (0) Help link into chat messages
1 low
closed -2 -1 1 2 (0) Help phpfreechat not installing from mods.tw.o and not working when installed from svn modsxaviBug: Usability
Support request
Community projects
Dogfood on a *.tiki.org site
marcor-24 Nov 10
closed -2 -1 1 2 (0) Help Integrate Eteria IRCdrklghtFeature request
1 low
closed -2 -1 1 2 (0) Help Implement a searchable IRC logging solutionmarclaporteCommunity projects

Interested community members

LoginFull NameInterested in featuresLastModif
25 Jul 06 17:53 CEST


None available or does the community eat IRC for DogFood?

Standards and/or other software


The chat feature seems to be abandoned on the development front. - This statement was not true - there has been work done on the chat files since v1.9.2

The feature works to some degree in certain cases, but has some bugs that render it almost unusable.
Initially v1.9.4 seems more stable than 1.8.5 and 1.9.2

Currently Chat does not seem to work in some (maybe all) 'multi-tiki' installations (V1.9.2).
Updating to v1.9.4 files made the chat feature functional on my installation

Messages seem to make it to the proper database, but are not successfully fetched and displayed. I can't get any messages to display in my multi-tiki installation. - Works with v1.9.4 chat files

Chat has a bug that does not allow proper processing of messages when a message contains a ' character. The character makes it successfully into the database, but causes problems when it is fetched from the database. If a ' is entered by a user, the messge will not display, and the user may not be able to recover without exiting the room. The system becomes somewhat unpredictable when this bug occurs.

The following modification to the file "tiki-chat_loader.php" fixes the ' problem - But I'm not sure it is the best place to fix the problem.

// $parsed = $tikilib->parse_comment_data$msg"data"?; //this doesn't pass the ' character properly

// This line fixes the problem where the ' character doesn't work in posts.
$parsed = $tikilib->parse_comment_datastr_replace("'", "\'", $msg"data"?);
This bug does not manifest itself in 1.9.4.

Chat logging is not complete and not currently implemented.

  • Check this in v1.9.4

Ideas for the future

http://phergie.org/ An IRC Bot for PHP 5



Contributors to this page: Marc Laporte , danny1000 and jake .
Page last modified on Sunday 03 November, 2013 06:54:20 CET by Marc Laporte.

Spaces [toggle]

Search Wishes (subject only) [toggle]

Keywords [toggle]

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

TogetherButton [toggle]

Documentation: PluginTogether