PDA

View Full Version : [RELEASE] Chat hack .03


31 Jul 2000, 14:10
This version fixes the problem with username's that are valid in vB, but not in phpMyChat. Add this code to index.lib.php3 right below the line unset($Regs). You can see a demo at http://www.linuxquestions.org (click on forum, then chat).


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

30 Aug 2000, 22:41
Darned if I could get this to work. :(

I'm using phpMyChat v0.13.1 + vb 1.1.3

Do we remove anything below unset($Regs)?

Maybe I'm missing something... :(

30 Aug 2000, 22:51
Shaman,
What error do you get? I have phpMyChat version 0.13.0, they may have made a change in the two versions.

02 Sep 2000, 12:40
Hi,

I got vBB 1.1.3 and phpMyChat 0.13.1. Put the code above into index.lib.php and got this error:

Fatal error: Failed opening required 'admin/config.php' (include_path='') in /home/kowtun/htdocs/vbb/global.php on line 31

When I change the path to http://std.krawall.de/vbb/admin/config.php the whole board dosen't work!

So what can I do? Test it under: http://std.krawall.de/vbb/index.php
on the right side at the bottem you find a small "." where you cann test the chat.

Thanks

02 Sep 2000, 18:11
work now!!!

But now another prob:

In the config file I used: define("C_MSG_NB", 100);
so that 100 messeges are displayed! But the chat show only 20! Whats the problem?

03 Sep 2000, 01:06
Custom CPU - do you have a fake account we can use to see the chat in action - I didn't want to reg a fake user on your live vB. Also - when I put a wrong username/password into the chat sign-in and hit submit, I get a 404 error instead of a "Password Incorrect" message. Thanks!

03 Sep 2000, 13:06
Go to the forum: http://std.krawall.de/vbb/index.php and on the right side at the button is a ".". This is the link to the chat. Log in as test/test to the forum this is a fake account!

03 Sep 2000, 15:24
UserName, I don't have a fake user set up , but thanks to The_Sisko I don't need one :) The_Sisko, I am not sure about the problems you are having with C_MSG_NB. Did you figure it out? If not let me know and I will look into it. BTW, I am working on a second chat which is a real-time chat. The downside is that is a java applet. I am about 80% done. I will let you guys know when I am done.

11 Feb 2001, 13:59
Originally posted by The_Sisko
Fatal error: Failed opening required 'admin/config.php' (include_path='') in /home/kowtun/htdocs/vbb/global.php on line 31


How did you fix this? I'm having the same problem with version 0.14.1 of phpMyChat. Thanks for any suggestions!

20 Feb 2001, 22:37
I am using 0.14.1 of phpMyChat also and would love to know how to integrate my VB with it, so my vb users and only my vb users can get into the chat.

Thanks!!!

27 Feb 2001, 18:07
Does this work with V2?

Phil

28 Feb 2001, 00:05
Many things were changed in 0.14.1 and this script will not work as is.

Steggy
09 May 2001, 18:31
I got it to work, but not completely. I don't know really where to put the code from Jeremy (customcpu).

I put it on top of index.lib.php and on some other different places..
It logs in allright.. I can chat. But it refreshes the whole chat window instead of adding a line.. And I can only see the messages posted when I send a message. Does someone have a clue how to hack it in order it will work right?

Thanks!