Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Chat Program for 8.00.100

Asked Modified Viewed 3,319 times
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
asked
Senior Member

Does anyone know of a chat program or is someone working on a chat program for 8.00.100?

Thanks
Gene
0 replies

34 posts

D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

The problem to use of an existing chat programs with PF is to keep the users database in sync.

Especially when the encryption protocol for the passwords are different
1 reply
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

In post#28 where I said I had found another one, I don't think it's fit for your purposes dude! It's huge and very complicated almost as much as a CMS. Incredible amount of configuration options that are not common. But if you want to check it out anyway here is the url:
https://mibew.org

But I did find another non-db one that I will check out and let you know.
1 reply
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

OK... I have so much code in my head from looking at so many different chat apps that I feel like my head will explode. I'm gonna have to lay off this for a while but I will get back to it. I have one that really looks promising but there is a lot of backend configurations to do. I'll give you the url if you want to take a look yourself.
http://www.phpfreechat.net/documentat...tion/start
Click the link below for a full blown demo:
http://www.phpfreechat.net/src/1.0/
Edited by Grimloch on 17-08-2022 18:26,
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
answered
Senior Member

It may be easier to go with GroChat and make that work with Fusion. When your up to it again that is.....
0 replies
A
afoster
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
answered
Senior Member

Have to figure out how to fix that error message in GroChat because as it is, nothing gets posted.
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

Fred. If you have the GroChat script please send it to me.
1 reply
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

@daimonbok1
Thanks for the link but my friend Fred already sent me the zip.
I'm afraid I have some bad news. After trying to run this script(s) and examinng all the error logs I'm getting, this code is just too old and would require an almost complete re-write. That is sometning that unfortunately, is beyond my capabilities. I tried several things such as re-doing the 'class' part in chat.php and can't even get that to work. I'm pretty good at modifying someone elses code to do what I want it to do as long as it's fairly new stuff but this is beyond me as like I said, it requires an almost complete re-write.
Sorry man; this is a hill I just can't climb.
1 reply
A
afoster
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
answered
Senior Member

After doing some googling, I found that if you change this "$HTTP_SESSION_VARS" (without the quotes) to $_SESSION in all the files, the binding error message goes away and a message that [username] enters the room is displayed.

The problem is that if you enter a message, what you get is "username > lack" (again without the quotes) and I have not been able to figure out how to fix that bit of problem.
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

That's funny; I extracted a fresh copy from the zip and did the same thing. Changed $HTTP_SESSION_VARS to $_SESSION_VARS but it doesn't work for me. I still get the message 'Cannot bind session'. I also changed all open php short tags '<?' to the full tag '<?php' that didn't help either. When I try to run it I get like 92K of errors in the error_log. Here are the errors I get:
[18-Aug-2022 12:42:58 America/Chicago] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Chat has a deprecated constructor in /home/grimsweb/rogue.grimswebdesign.us/grochat-0.4/chat.php on line 3
[18-Aug-2022 12:42:58 America/Chicago] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Message has a deprecated constructor in /home/grimsweb/rogue.grimswebdesign.us/grochat-0.4/chat.php on line 300

Dunno man...

I just tried lowering my php version from 7.4 to 5.6... made no difference...
Edited by Grimloch on 18-08-2022 20:30,
1 reply
A
afoster
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
answered
Senior Member

I think that if you change from $HTTP_SESSION_VARS" (without the quotes) to $_SESSION it will work. You have added a VARS to the $_SESSION which is why I don't think it works in your case.

I still have not figured out why it won't posts any messages however.
0 replies
A
afoster
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
answered
Senior Member

I just came across this chat script that gives you the option of using a database or text files.

https://coursesweb.net/php-mysql/scri...-simple_s2
2 replies
E
Ernst74
E
  • Junior Member, joined since
  • Contributed 32 posts on the community forums.
  • Started 14 threads in the forums
answered
Junior Member

@Grimloch
Change
function Chat() {

to
function __construct() {


and
function Message($line) {

to
function __construct($line) {
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
answered
Senior Member

Ernst74 thanks!!!

Gene
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

Yes this is the one guys!! Really great script. Here is mine if you want to check it out:
Chat Test of Simple Chat
Edited by Grimloch on 19-08-2022 17:00,
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
answered
Senior Member

Looks Nice. Now to add to the rest of my sites. wink
1 reply

Statistics

  • Views 0 views
  • Posts 34 posts
  • Votes 0 votes
  • Topic users 6 members

6 participants

A
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
K
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 310 posts on the community forums.
  • Started 94 threads in the forums
  • Answered 1 question
G
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
E
E
  • Junior Member, joined since
  • Contributed 32 posts on the community forums.
  • Started 14 threads in the forums
D
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet