[RC] Simple Chat v2.1 - new AJAX chat for phpBB3

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!
Scam Warning
Mudjosh
Registered User
Posts: 234
Joined: Sat Jun 14, 2008 11:04 pm

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by Mudjosh » Thu Jan 29, 2009 4:27 am

lol.. THAT was a lot of quoting!!!
It needs additional modifications. Sorry, i have no time for it now :(
No problem to me.. I'll look at it and see if I can figure out a way. (I'll probably break it but hey, it will be fun.. :D )

austriaka
Registered User
Posts: 8
Joined: Wed Jan 21, 2009 7:21 am

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by austriaka » Thu Jan 29, 2009 7:23 am

Mudjosh wrote:How would you show who is in chat at the bottom of the index_body/overall_footer (Which ever it is.. )
I took a look into it but this is rather complicated.
The User statistics are in the index_body template (quite at the end)
You have to define a db query in include/functions.php which goes into the sessions table looking for users in the session_page row, create a constant for them and displaying it in the template.
I will try to do it in the next days, but unfortunately I have some "real" work to do too...
katib wrote:How to put this chat in an iframe on index_body.html ?
Just use <iframe src="chat/index.php" width="...></iframe> in the index_body.html

I have the chat in a popup since I was too lazy integrating it in an extra page :roll:
Unfortunately you can't see it in live action since only registered users can enter the chat...

@ VEG:
I will try to realize a chatlog, is it ok for you if I post the result here?

subfighter
Registered User
Posts: 46
Joined: Wed Sep 05, 2007 9:10 pm

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by subfighter » Thu Jan 29, 2009 7:51 am

yeah it needs a block showing who is currently live chatting.. its a must or no one will go there and sit... hope someone can solve this :mrgreen:

austriaka
Registered User
Posts: 8
Joined: Wed Jan 21, 2009 7:21 am

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by austriaka » Thu Jan 29, 2009 8:45 am

using the hack I posted above you can already watch the users in the "who is online" page

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by katib » Thu Jan 29, 2009 2:42 pm

austriaka wrote:
katib wrote:How to put this chat in an iframe on index_body.html ?
Just use <iframe src="chat/index.php" width="...></iframe> in the index_body.html
Thank so much austriaka
I get it in iframe box :D
but cant get the sound to work :roll:

austriaka
Registered User
Posts: 8
Joined: Wed Jan 21, 2009 7:21 am

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by austriaka » Thu Jan 29, 2009 2:50 pm

You switched it on? (=symbol not striked)
It should sound when a user enters the chat and when there is a new message

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by katib » Thu Jan 29, 2009 3:42 pm

yes symbol is not striked :?
still no sound

EDIT: sound is ok on opera
nothing on IE6

austriaka
Registered User
Posts: 8
Joined: Wed Jan 21, 2009 7:21 am

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by austriaka » Thu Jan 29, 2009 4:57 pm

Firefox and IE7 is ok

User avatar
Traction
Registered User
Posts: 288
Joined: Fri Jun 06, 2003 8:42 pm
Location: Staten Island, New York
Contact:

Re: [BETA] SimpleChat v2.0b - new AJAX chat for phpBB3

Post by Traction » Sat Feb 14, 2009 6:54 am

Two things: The time is off by two hours, can I fix it? Also, is there a chat log feature? If yes, how do I access it? This would be a major feature, hope it's there (or planned). :)
Failure is not an option.
Zap! Classic Video Game Forums

austriaka
Registered User
Posts: 8
Joined: Wed Jan 21, 2009 7:21 am

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by austriaka » Sat Feb 14, 2009 3:35 pm

I implemented a very simple chatlog function for my forum, but this needs some changes in the original script.
Furthermore I implemented the display of the number of people in the chat (besides the Chat link).
I already posted all necessary changes here but due to the server break it is lost and I had no time so far to post it again

KArin

User avatar
Traction
Registered User
Posts: 288
Joined: Fri Jun 06, 2003 8:42 pm
Location: Staten Island, New York
Contact:

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by Traction » Sat Feb 14, 2009 7:32 pm

austriaka wrote:I implemented a very simple chatlog function for my forum, but this needs some changes in the original script.
Furthermore I implemented the display of the number of people in the chat (besides the Chat link).
I already posted all necessary changes here but due to the server break it is lost and I had no time so far to post it again

KArin
Cool, look forward to it. It also needs a scroll bar so I can see past chat. The time being off is the only other issue.
Failure is not an option.
Zap! Classic Video Game Forums

User avatar
Traction
Registered User
Posts: 288
Joined: Fri Jun 06, 2003 8:42 pm
Location: Staten Island, New York
Contact:

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by Traction » Mon Feb 16, 2009 3:21 am

One more thing: How about the ability for guests to use chat or at least be able to read it? So just add that, fix the time being off, and add a chat log and this thing will be PERFECT. :)
Failure is not an option.
Zap! Classic Video Game Forums

Mudjosh
Registered User
Posts: 234
Joined: Sat Jun 14, 2008 11:04 pm

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by Mudjosh » Mon Feb 16, 2009 4:36 am

I would love to see the option to make private (lockable) rooms..

I have a Christian forum and this would be great for counseling.. Or for any forum that has that need..

User avatar
TonyF80
Registered User
Posts: 23
Joined: Sun Aug 24, 2008 8:02 pm

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by TonyF80 » Tue Feb 17, 2009 2:52 pm

once this is installed, does it work on all the styles available to members? I use black pearl as a default style but offer members 4 or 5 different styles to choose from.

I started my site less then 6 months ago and am very new to this. So please forgive if my questions

naushadhassam
Registered User
Posts: 506
Joined: Wed Aug 15, 2007 9:57 pm
Contact:

Re: [BETA] SimpleChat v2.0 - new AJAX chat for phpBB3

Post by naushadhassam » Sat Feb 21, 2009 12:15 pm

Mudjosh wrote:Run this sql:

Code: Select all

CREATE TABLE IF NOT EXISTS `phpbb_chat_messages2` (
	`msg_id` int(11) unsigned NOT NULL auto_increment,
	`user_id` mediumint(8) unsigned NOT NULL default '0',
	`username` varchar(255) collate utf8_bin NOT NULL default '',
	`time` int(11) unsigned NOT NULL default '0',
	`text` varchar(255) collate utf8_bin NOT NULL default '',
	`color` varchar(6) collate utf8_bin NOT NULL default '',
	PRIMARY KEY  (`msg_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=0;

CREATE TABLE IF NOT EXISTS `phpbb_chat_sessions2` (
	`user_id` mediumint(8) unsigned NOT NULL default '0',
	`username` varchar(255) collate utf8_bin NOT NULL default '',
	`last_active` int(11) unsigned NOT NULL default '0',
	`user_status` tinyint(3) unsigned NOT NULL default '0',
	`user_activity` smallint(6) NOT NULL default '0',
	`user_blocked` tinyint(1) NOT NULL default '0',
	UNIQUE KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

root/chat/index.php

Find:

Code: Select all

define('CHAT_MESSAGES_TABLE',	$table_prefix . 'chat_messages');
define('CHAT_SESSIONS_TABLE',	$table_prefix . 'chat_sessions');
Replace:

Code: Select all

define('CHAT_MESSAGES_TABLE',	$table_prefix . 'chat_messages2');
define('CHAT_SESSIONS_TABLE',	$table_prefix . 'chat_sessions2');
That should work..

Hope I helped!
I have handy mans chat too?

do i need to change the chat.php?
Free Hosting - Here
Sports Entertainment Online ( A PS3 Online Gaming Community ) - Here
FREE UNLIMITED HOSTING FOR PHPBB MOD MAKERS - PM ME FOR MORE INFO ( MY WAY ON DONATING TO PHPBB )

Locked

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