Extension talk:Chat

Great Idea
This extension will be very interesting when be done. It's really an amazing idea, thanks for developing it and let mediawiki better and better. Lleoliveirabr 18:59, 29 March 2007 (UTC)

Problems
Hi first off i want to say thanks and what a great idea this extension is, i'm using it on an internal wiki and it's great for full windows domain pcs i have, although we use citrix and for some strange reason the chat function doesn't load. It sticks at the chat loading page and just has the animated loading bar scrolling round.

I've been trying to think of a few things i can check to troubleshoot this as the citrix server that i've been testing it on is no different (really) from a normal windows 2003 server using IE 6. Can you suggest anything to help me solve this? Thanks!

Progress on this, Firefox 3 works fine, is nice and quick and successful at loading wiki chat. Although IE6 and IE7 it seems can't load this - can anyone suggest any reasons why?

Chat doesn't load
I installed phpfreechat 1.2 at Mediawiki 1.12.0. At standalone phpfreechat works fine. But if I embed phpfreechat in mediawiki I will get the following Message: Chat loading ... Please wait. After that nothing happens. The Chat doesn't load. What could be the reason? Andy ideas?

Ideas
I think the chat page could have all people that are browsing all pages, and not be separated by article. So in the chat will appear the user name of people and what "article" pages they are browsing. I don't know if is a good idea store all chats in discussion page. i think it's a lot of information. The idea of show in top of pages how many people is browsing the page is an excellent idea. But i think the way the message appear could be easily customized. Lleoliveirabr 03:00, 31 March 2007 (UTC)

Keeping Chat off of public pages
I run a members only wiki, so I have a few public pages but the rest is private. In LocalSettings, I use $wgGroupPermissions and $wgWhitelistRead to keep guests out of the members area. With this extension, it puts a chat tab on every page. Despite the above settings in my LocalSettings, guests can still bring up the chat screen. I don't want this. In the future, it looks like there will be an option to include the tab only on certain pages.

I don't know php, but modified WikiChat.php from:

function onUnknownAction($action, $article) { global $wgOut, $wgSitename, $wgCachePages, $wgUser, $wgTitle; $wgCachePages = false; if($action == 'chat') { if($wgUser->isAnon) { $nick = "Guest";

to:

function onUnknownAction($action, $article) { global $wgOut, $wgSitename, $wgCachePages, $wgUser, $wgTitle; $wgCachePages = false; if($action == 'chat') { if($wgUser->isAnon) { return true;

I know someone just cringed, but it seems to work as guests cannot now chat. They are taken to a MediaWiki error page about a bad URL. I've never seen that error come up before, so I changed the error message to something like "You must be a member to chat".

Does anyone have something better I could stick there to keep guests from getting into chat? David Shenk 19:51, 30 May 2007 (UTC)
 * I would do something like:

function onUnknownAction($action, $article) { global $wgOut, $wgSitename, $wgCachePages, $wgUser, $wgTitle; $wgCachePages = false; if($action == 'chat') { if($wgUser->isAnon) { $wgOut->addWikiText('Anonymous Users are not allowed into this chatroom'); return false; --Firebreather 09:01, 6 June 2007 (UTC)


 * In fact I just added an option to disallow anonymous users and display a message to login. See the ChangeLog for version 0.2, review the Optional Parameters section and download/install the new version from WikiChat.php --Firebreather 09:57, 6 June 2007 (UTC)

Thanks Firebreather, I'll try the newest version. Thank you for your work on this extension! David Shenk 09 Sep 2007

Special Page Version error
After adding Chat (and it works great!) I'm getting the following error when I try to view the Version page, it won't come up at all:

Catchable fatal error: Object of class WikiChat could not be converted to string in domain.com/wiki/includes/SpecialVersion.php on line 241

Any ideas?
 * I've had that before on some of my extensions too and found a fix which I've added to WikiChat, try downloading again and see if it's fixed. --Nad 07:30, 2 June 2007 (UTC)
 * I also applied a fix about 2 weeks ago for a problem that caused the Special:Version page to crash, so should hopefully be all sorted now. Please post a comment if not. --Firebreather 08:19, 6 June 2007 (UTC)

Can't add the tab
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wiki\extensions\WikiChat.php:1) in C:\xampp\htdocs\wiki\includes\WebResponse.php on line 10

This might have to do something with the fact that I already have an extra tab (Extension:Attribute) although I can't find any special page for chat in Specialpages either. 354d 17:59, 20 August 2007 (UTC)

Multiple Chat Room Problems
I have a problem using the "$params["channels"] = array($wgTitle->getPrefixedText);" setting. It seems that whenever I go to the WIKI after manually clearing the cache ( or reinstalling) - I get the chatroom created for the first page I try the chat tab from. It will not create separate rooms for each page. Any thoughts?

MediaWiki 1.11 - using MYSQL container

Error: GetScriptFilename function returns a wrong path
When I click on the "Chat" tab, I get the error:

"Error: GetScriptFilename function returns a wrong path"

Can anybody please point me in the right direction. Thank you. Polo

chat in sidebar
I would like a small footprint chat program. It would always be on the page. (perhaps on the right)So that even when you are viewing and article you would still see the chat program. That way a person does not have to click on a tab to get to chat. --72.165.30.2 01:40, 11 January 2008 (UTC)

Pb with title and user witch is connected
Problems with the title of room when I want a room per Page : $wgTitle->getPrefixedText in WikiChat.php return wrong name. Username is sometime wrong. Could you help me to make it run with on chat per page ?

question
wich price has the download?--87.179.244.252 22:53, 28 June 2008 (UTC)

Same Chat Across Multiple Wikis
I am trying to let users from multiple wikis chat. I have been able to get users from multiple websites to chat using the phpFreeChat, it is just a mater of changing the serverid parameter to be the same for each site, instead of being generated. Change $params["serverid"] = md5(__FILE__); to $params["serverid"] = "SOMENAME";

but when I try the same from the extension change $params["serverid"] = $wgSitename; to $params["serverid"] = "SOMENAME"; the page starts to load, but will never finish. Anybody have any ideas? --Jeff.worldwide 20:41, 31 July 2008 (UTC)

Actually it worked with a shorter server name. This will alow multiple wikis to speak, just set the server id to something other than a hash of the wiki name. --160.79.105.46 19:15, 26 August 2008 (UTC)

Need Help on phpfreechat-1.0-beta11
I have installed phpfreechat-1.0-beta11 on my mediawiki-1.13.3 and cant login chat room as user, I can only login as admin. What can I do???

KimLorentz, kimlorentz@hotmail.com