[ BETA ] Chat Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
gatekeep2
Registered User
Posts: 173
Joined: Sat Feb 16, 2002 5:26 am
Location: /dev/null
Contact:

[ BETA ] Chat Mod

Post by gatekeep2 »

I've been working on a chat mod for phpBB .. and I came up with:

Demo | Download
The BETA has been released!
NOTE: Zip has been updated, with a file outlining the Chat System commands. Fix, chat.php was excluded from the file, it has been put back in.

Username: test
Password: test

Note the test user doesn't have moderator control over it. Although there are moderator controls, it does currently emulate some IRC commands .. I'll add more after I release it. After some more testing.. I'll release the beta code here (yes, its already ready for beta).
Last edited by gatekeep2 on Tue Mar 04, 2003 6:43 am, edited 9 times in total.
Please, do not conact me for phpBB support.

User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

Hehe its cool... but shoutboxes are better as they are lightweight. Too much waiting if you ask me.

(Just my opinion)

Anyway, great job

.pd

gatekeep2
Registered User
Posts: 173
Joined: Sat Feb 16, 2002 5:26 am
Location: /dev/null
Contact:

Post by gatekeep2 »

thanx, its ok, i do a agree with you on the shoutbox's but, this is for a more IRC like chat.. since PHP isn't fully realtime without actually using IRC there will be that type of delay.
Please, do not conact me for phpBB support.

User avatar
Pda0
Registered User
Posts: 217
Joined: Sun Apr 14, 2002 5:00 am
Location: Chile

Post by Pda0 »

If you really want to do a webchat ircstyle... I would go for Java on that one..more agile :)

.pd

User avatar
LaZeR
Registered User
Posts: 671
Joined: Sat Jun 29, 2002 8:38 pm
Contact:

Post by LaZeR »

Good work :wink: This is the first chat development for phpbb that I have seen allowing IMG tags which is nifty indeed 8)

Suggestions:

-Make the (Message Box) external or move-able.
-Have a Scrollable main window.
-Possible support added for ForumAI bot to join in :P

gatekeep2
Registered User
Posts: 173
Joined: Sat Feb 16, 2002 5:26 am
Location: /dev/null
Contact:

Post by gatekeep2 »

Since this is still being developed I will look into these features..
Please, do not conact me for phpBB support.

baselineace
Registered User
Posts: 177
Joined: Sat Oct 05, 2002 2:46 pm
Contact:

Post by baselineace »


karenlam
Registered User
Posts: 31
Joined: Sat Dec 07, 2002 2:42 am
Location: Hong Kong

cannot create a room

Post by karenlam »

I have installed the mod on 2.0.3.

Go to admin panel to create the room with the general error said "Couldn't update chat information".

Please advice.

solved]

karenlam
Registered User
Posts: 31
Joined: Sat Dec 07, 2002 2:42 am
Location: Hong Kong

Language display

Post by karenlam »

The online chat mod did not allow to display the Chinese simplified language, is there anyway to change??

gatekeep2
Registered User
Posts: 173
Joined: Sat Feb 16, 2002 5:26 am
Location: /dev/null
Contact:

Post by gatekeep2 »

karenlam, you will probably have to look at the files, I didn't do any other languages other then english for one simple reason ... its the only language i know
Please, do not conact me for phpBB support.

amp3dmoshpit
Registered User
Posts: 9
Joined: Mon Jan 20, 2003 6:09 am
Contact:

Re: cannot create a room

Post by amp3dmoshpit »

karenlam wrote: I have installed the mod on 2.0.3.

Go to admin panel to create the room with the general error said "Couldn't update chat information".

Please advice.

solved]


I get the same error...what did you do to fix it?

amp3dmoshpit
Registered User
Posts: 9
Joined: Mon Jan 20, 2003 6:09 am
Contact:

Post by amp3dmoshpit »

are there docs or a readme? I realize its just a beta, but keep running into problems
Last edited by amp3dmoshpit on Mon Jan 20, 2003 6:47 am, edited 1 time in total.

amp3dmoshpit
Registered User
Posts: 9
Joined: Mon Jan 20, 2003 6:09 am
Contact:

Post by amp3dmoshpit »

Ok...figured the reason it wouldn't work was I didn't get the chat_room table added. I couldn't find any info on creating the needed sql tables, so this is what I did

CREATE TABLE chat_room (
room_id int(10) NOT NULL auto_increment,
room_name text,
description text,
type text,
admin_id int(11) default NULL,
oper text,
PRIMARY KEY (room_id)
) TYPE=MyISAM;


is this correct? I can now add a chat room, just can't chat I get these errors

Couldn't obtain chat message information

Couldn't get the chat privilges

gatekeep2
Registered User
Posts: 173
Joined: Sat Feb 16, 2002 5:26 am
Location: /dev/null
Contact:

Post by gatekeep2 »

Code: Select all

#
# Table structure for table `chat_message`
#

CREATE TABLE chat_message (
  timestamp timestamp(14) NOT NULL,
  room_id int(11) NOT NULL default '0',
  user_id int(11) NOT NULL default '0',
  username varchar(25) NOT NULL default '0',
  bbcode_uid varchar(10) NOT NULL default '',
  user_level tinyint(4) NOT NULL default '0',
  message text NOT NULL,
  PRIMARY KEY  (timestamp)
) TYPE=MyISAM;

#
# Table structure for table `chat_room`
#

CREATE TABLE chat_room (
  room_id int(11) NOT NULL auto_increment,
  room_name varchar(20) NOT NULL default '',
  description varchar(255) NOT NULL default '',
  type char(1) NOT NULL default '',
  admin_id int(11) NOT NULL default '0',
  oper char(2) NOT NULL default '',
  PRIMARY KEY  (room_id)
) TYPE=MyISAM;

#
# Table structure for table `chat_users_priv`
#

CREATE TABLE chat_users_priv (
  auth_id int(11) NOT NULL auto_increment,
  user_id int(11) NOT NULL default '0',
  username varchar(25) NOT NULL default '0',
  chat_priv tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (auth_id)
) TYPE=MyISAM;
these are the tables needed.
Please, do not conact me for phpBB support.

khisanthax
Registered User
Posts: 443
Joined: Sun Mar 02, 2003 1:49 am

Post by khisanthax »

it could be just me, but the link didn't work

Post Reply

Return to “[2.0.x] MODs in Development”