| Author |
Message |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Tue Mar 11, 2003 10:22 pm |
  |
As the title says, can anyone recommend any chat module/block that works with version 6.5 RC2 or RC3? |
|
|
   |
 |
Zer0_T0lerance
Nuke Soldier


Joined: Mar 12, 2003
Posts: 10
|
Posted:
Wed Mar 12, 2003 11:47 am |
  |
| boonkwee wrote: |
| As the title says, can anyone recommend any chat module/block that works with version 6.5 RC2 or RC3? |
chats as modules suck a lot in case of security and speed.
better - get a stand alone version of a chat (like php my chat)
i made my own one (CCCP chat 3.0), based on php my chat - changed the basic code and made chat work faster - see in action here http://www.cccp-clan.net/chat/
avalible now in english and russian. |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Wed Mar 12, 2003 4:36 pm |
  |
Is it available for download at your site? I'm sorry but I can't read Russian and I couldn't find the language module. |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Fri Mar 14, 2003 7:50 am |
  |
Ok, I took Zer0_T0lerance suggestion and installed phpMyChat. Works rather nicely but I'm running into some problems. Can anyone help solve this? (Please forgive the long post)
1. Found a block from phpheaven that shows users online that are using phpmychat. Works pretty well but it causes the following error to occur when used in conjunction with top10 version 2.
| Quote: |
· 1: admin's entry: Testing for line 392 errors (03-14-2003 at 10:13 am)
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/admin/public_html/test65/modules/Top/index.php on line 392
Table 'admin_pchat2.nuke_journal_comments' doesn't existTable 'admin_pchat2.nuke_journal_comments' doesn't existTable 'admin_pchat2.nuke_journal_comments' doesn't existTable 'admin_pchat2.nuke_journal_comments' doesn't existTable 'admin_pchat2.nuke_journal_comments' doesn't exist |
Line 392 reads like this:
| Quote: |
while ($rowscnd = mysql_fetch_array($rstscnd)) {
|
Now, the problem is that nuke_journal_comments is not linked to admin_pchat2. admin_pchat2 is the database for the phpmychat. The query should actually look for nuke_journal_comments in table admin_test65 instead. This works fine on its own and like I said, only occurs when phpheaven's block is used. I quote the whole code below.
| Quote: |
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("block-Sample_Block.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
// The Old Communicate Block
#$content = "<a href=\"modules.php?name=XForum&file=index\"><img src=\"images/forum.gif\" border=0><br>Discussion Forum</a><br>\n";
#$content .= "<br>\n";
#$content .= "\n";
$content .= "<a href=\"http://englishdept.net/pulsechat\" target=\"_blank\"><img src=\"images/irc.gif\" border=0><br>Pulse! Chat</a><br>\n";
require("/home/admin/public_html/pulsechat/chat/config/config.lib.php3");
require("/home/admin/public_html/pulsechat/chat/localization/english/localized.chat.php3");
require("/home/admin/public_html/pulsechat/chat/lib/release.lib.php3");
require("/home/admin/public_html/pulsechat/chat/lib/database/".C_DB_TYPE.".lib.php3");
require("/home/admin/public_html/pulsechat/chat/lib/clean.lib.php3");
$DbLink = new DB;
?>
<?php
function special_char($str,$lang,$type)
{
$tag_open = (($type == 'a' || $type == 'm') ? "<I>":"");
$tag_close = ($tag_open != "" ? "</I>":"");
return $tag_open.($lang ? htmlentities($str) : htmlspecialchars($str)).$tag_close;
}
// ** count rooms **
$DbLink->query("SELECT DISTINCT u.room FROM ".C_USR_TBL." u, ".C_MSG_TBL." m WHERE u.room = m.room AND m.type = 1");
$NbRooms = $DbLink->num_rows();
$DbLink->clean_results();
if ($NbRooms > 0)
{
// ** count users **
$DbLink->query("SELECT DISTINCT u.username, u.latin1 FROM ".C_USR_TBL." u, ".C_MSG_TBL." m WHERE u.room = m.room AND m.type = 1 ORDER BY username");
$NbUsers = $DbLink->num_rows();
$DbLink->clean_results();
}
?>
<?php
// ** Build users list **
if(isset($NbUsers) && $NbUsers > 0)
{
if($DbLink->query("SELECT DISTINCT room FROM ".C_MSG_TBL." WHERE type = 1 ORDER BY room"))
{
if($DbLink->num_rows() > 0)
{
$Users = new DB;
while(list($Other) = $DbLink->next_record())
{
if($Users->query("SELECT username, latin1, status FROM ".C_USR_TBL." WHERE room = '".addslashes($Other)."' ORDER BY username"))
{
if($Users->num_rows() > 0)
{
$content .= "<B>".htmlspecialchars($Other)."</B><SPAN CLASS=\"small\"><BDO dir=\"${textDirection}\"></BDO>&(".$Users->num_rows().")</SPAN><BR>";
while(list($Username,$Latin1,$status) = $Users->next_record())
{
$content .= "-&".special_char($Username,$Latin1,$status)."<BR>";
}
}
}
$Users->clean_results();
}
}
}
}
/*$DbLink->close();*/
?> |
Thanks for looking into this. |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Sun Mar 16, 2003 4:51 pm |
  |
Is there anyone out there who is able to take a swipe at this? Thanks!!! |
|
|
   |
 |
IACOJ
Major


Joined: Jan 15, 2003
Posts: 1269
Location: USA
|
Posted:
Sun Mar 16, 2003 8:28 pm |
  |
My site isn't using 6.5, it uses 6.0 I tried phpmychat before and didn't really like it.
I'm using SPchat which is available over at Saarport.com I don't know if it will work with 6.5, but I'm sure Frank (the admin) could tell you. I know he is working on another release. It is the replacement for Webchat, they basically reworked everything. |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Sun Mar 16, 2003 9:43 pm |
  |
Thanks for breaking the drought! I've downloaded spchat and you're right it does look better. Unfortunately, it's not working with 6.5. See for yourself at http://test65.englishdept.net
I've managed to get something going but I think it's still beyond my limited working knowledge of php. He says in his website that they are testing beta 0.62 so I'll wait. In the meantime, I'll stick with phpmychat.
Thanks!  |
|
|
   |
 |
macro
Sergeant


Joined: Feb 02, 2003
Posts: 80
Location: USA
|
Posted:
Mon Mar 17, 2003 12:18 am |
  |
guesss what i have 6.5 rc3 and i downloaded the SPchat from Saarport.net. I Changed some codes and it work perfectly i have found no bugs yet.The user name worked too |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Mon Mar 17, 2003 2:47 am |
  |
care to post the changes?  |
|
|
   |
 |
macro
Sergeant


Joined: Feb 02, 2003
Posts: 80
Location: USA
|
Posted:
Mon Mar 17, 2003 3:54 am |
  |
there is a lot of things to change and is hard to example |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Mon Mar 17, 2003 4:51 am |
  |
If you go real slow, I'm sure we can all understand
Actually, it's quite alright. I'll just wait patiently for the next version to be released. Thanks anyway!!! |
|
|
   |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Mon Mar 17, 2003 7:08 am |
  |
Guess what, I've got it running too! Only thing is there're some errors with private rooms. I'll still have to tweak that a little. Thanks for pointing me to this chat module! It's nice, very nice! |
|
|
   |
 |
IACOJ
Major


Joined: Jan 15, 2003
Posts: 1269
Location: USA
|
Posted:
Mon Mar 17, 2003 12:03 pm |
  |
There was a couple of fixes that Frank had posted for the emoticons, and passwording.
I have a minor glitch that I can't make extra normal rooms, or private rooms in my admin cp, but I can as a user, I'm not sure why that is.
There are a few lang files that need to be updated as well. I think most of them are included in a downloadable file if you search the forum over there. The only ones that aren't included in that file are for when a user wants to create a room. They are listed in a couple of the forums so its no big deal to update your file.
If you want to change what is listed in the drop down box in the users profile in the chat, you can change that in your lang file as well. |
|
|
   |
 |
saarport
Nuke Cadet


Joined: Mar 19, 2003
Posts: 1
|
Posted:
Tue Mar 18, 2003 11:11 pm |
  |
Hi Folks,
thanks to IACOJ i heard about this forum discussion.
As you are talking about SPChat i want post some new informations.
We are now in betatest with the new SPChat.
It is now a Cross Nuke Chat which will running on PHPNuke Systems versions 5.4 and above and Postnuke 7.2.2 and above.
It's running on 6.5 like a charm
We included a totally new permission system into the chat, rewrited nearly the whole code to make it more stable and more secure.
It does use the Adodb to make it independend from Nukes Databaselayer to make Crossnuking easier.
If anyone wants join the betatest, he may send me an email.
The new version is installed for testing on my main page http://www.saarport.net (nuke 6.0 but will be updated on 6.5 soon) and running under Postnuke on http://www.stottern.info
Betafiles are only available for testers at this time.
Hope this information will help a little.
Regards
Frank Wallacher
----------------------------------
Admin Saarport.NET
http://www.saarport.net |
|
|
     |
 |
boonkwee
Corporal


Joined: Feb 14, 2003
Posts: 74
Location: Singapore
|
Posted:
Thu Mar 20, 2003 4:06 am |
  |
I would love to help out with the beta test and I've sent emails to you previously. Please let me know how I can be involved.  |
|
|
   |
 |
|
|