vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   A phpMyChat integration Hack (https://vborg.vbsupport.ru/showthread.php?t=21329)

scsa20 06-03-2002 04:04 AM

hey all...I was able to get it installed, and I was able to get it to work with the user table that vBulletin gives you (after making 4 other tables), now I keep getting this on the right frame:

Quote:

Invalid SQL: SELECT usr.username, usr.latin1, usr.status, reg.gender FROM c_users usr LEFT JOIN user reg ON usr.username = reg.username WHERE usr.room = 'Default' ORDER BY username
MySQL error: 1054 (Unknown column 'reg.gender' in 'field list')
Session halted
how can I stop giveing me that error?? thanks

BabyU 07-17-2002 09:42 PM

This worked great through all of the upgrades, but when I went to 2.2.6, only admin can get into the chat rooms. Everyone else gets the "NO" message. Any idea why??? I thought maybe I needed to reinstall something, but when I looked back over the instructions, all changes were made to the chat files only. HELP! I loved this integration!

Stasik 07-17-2002 09:44 PM

make sure all user have cookes tuned on in their CP

BabyU 07-17-2002 10:01 PM

They do .>

BabyU 07-17-2002 10:02 PM

They do ... I checked ot myself. I even have a test user name that I tried it with, but no go. These same users were able to access the chat room the day before the upgrade, but not afterwards.

BabyU 07-17-2002 10:12 PM

Hmmm ... interesting. I get the "NO" message in IE, but in Netscape, the page just never loads.

Stasik 07-18-2002 09:23 AM

dont know :bunny: i have seen some 2.2.6 forums with hack working

Shawnn 10-25-2002 08:31 PM

I keep getting this error:

Parse error: parse error, unexpected '*' in /home/nytechfo/public_html/chat/chat/lib/index.lib.php3 on line 1

Fatal error: Call to undefined function: send_headers() in /home/nytechfo/public_html/chat/phpMyChat.php3 on line 20

Stasik 10-25-2002 08:35 PM

are you sure you have installed it right?

Shawnn 10-25-2002 10:14 PM

You are fast

Are you talking about phpMyChat or the Hack? phpMyChat works great untill I add the hack.

my site is www.nytechforums.ca and the chat room is located at http://nytechforums.ca/chat/phpMyChat.php3 and it's running now with out the hack.

Stasik 10-25-2002 10:18 PM

i saw it..... hmm.. its 14.5 chat? why dont u try 14.4 i have tested the hack with?

Shawnn 10-25-2002 10:25 PM

Version 14.5 was on the server when I started. Where would I find 14.5 and I would also need instructions to install as well.

Stasik 10-25-2002 10:36 PM

u`ll find it all on phpmchat homepage.. phpheaven.com i think... lookup in google :)

Shawnn 10-25-2002 10:49 PM

It was at: http://www.phpheaven.net/projects/phpMyChat/download/

Will try and upload 14.4 see what happens.

Shawnn 10-25-2002 11:29 PM

I tried downdrading to 14.4 and couldn't get it to work. I will just wait untill a hack comes out for 14.5.

Shawnn 10-30-2002 05:10 PM

For this hack to work. Should PHP chat and vBulletin share the same Mysql Database. Presently I have them on 2 differnet Mysql Databases.

Shawnn 12-01-2002 08:43 PM

I have moved my forums and php chat to the same data base. I'm now getting this error:

Parse error: parse error in /home/virtual/site101/fst/var/www/html/forums/chat/lib/index.lib.php3 on line 102

Fatal error: Call to undefined function: send_headers() in /home/virtual/site101/fst/var/www/html/forums/chat/index.php3 on line 20

I'm running Vbullentin 2.2.9

Below is the page code for index.lib:

TheSonic 12-15-2002 11:52 AM

The Hack works fine for the Users, but i cant login with my AdminAccount.

phpmychat says:
This username is registered. Please type your password or chose another username.

I know that Admins have to enter their password (i read it here :D ), but i don't know there i have to do this (maybe i am stupid, i know :D )

So, how can i login in phpmychat as an admin and there do i have to enter my password (i dont see a login-screen or something else - just the errormessage above)

Thank you!

rstark 01-21-2003 01:48 AM

Great hack! Works great. I have a question though, I'm running my chat in a new window when someone clicks on my chat button, but how do I close that window when someone clicks on Exit from the chat window?

scottct1 01-29-2003 06:32 PM

Help...

I have installed this and been working on it for HOURS now and can't figure it out...

I have made all changes and when I am an unregistered user I get the "NO" message (like its supposed to)

However when I log in and go to http://www.myforum.com/chat I just get a blank page.

Can ANYONE help please? I have seen a few people mention this blank page in this thread but I have not seen a fix for it yet.

Thank you!

forumsinfo 02-03-2003 06:26 AM

Will there really be 0.15 version.
Long time no see, Stasik.
Rodjina calls you home.

:Judge: 02-05-2003 07:54 PM

I just went over his myself for awhile and I am getting the note now when I enter the chat..

Parse error: parse error in /home/judge/public_html/chat/lib/index.lib.php3 on line 275

Fatal error: Call to undefined function: send_headers() in /home/judge/public_html/chat/index.php3 on line 20


This is not a good thing :p

Any help here?

rstark 02-08-2003 08:08 AM

Here's another problem I found, when you click on a username to send a private message and send it, it's readable by everyone! Does anyone know how to fix this?

97cobracpe 03-01-2003 10:49 PM

I make the changes, and all I get is a page cannot be displayed error. :(

It doesn't even come close to working for me. phpmychat works fine otherwise.

Do I gotta make some changes other than simply copying and pasting code?

webhost 03-01-2003 11:34 PM

same database

webhost 03-01-2003 11:42 PM

Shawnn
download attached file look at line 91 and 93 changeout username with your username.

97cobracpe 03-02-2003 01:36 PM

Quote:

Originally posted by webhost
Shawnn
download attached file look at line 91 and 93 changeout username with your username.


I tried this and it did nothing for me. I get a page not found error. I'm running vb2.2.9.

webhost 03-02-2003 01:47 PM

require("./${ChatPath}config/config.lib.php3");

what do those files look like

webhost 03-02-2003 01:50 PM

put your line 91 and 93 here

97cobracpe 03-02-2003 02:40 PM

I fixed it. Apparantly I shouldn't have used the autoinstaller for phpmychat my webhost has put on my control panel for the site. I couldn't get it to work for the life of me.

I ended up deleted everything, and reinstalled a fresh copy of phpmychat myself. I made the necessary changes, and voila, it worked on the first try.

Craigr 03-02-2003 08:59 PM

I've installed it correctly, when i login to the forum then go to the chat i get this screen (see attached).

I can't login there, any ideas?

The URL is http://www.steven-seagal.net/forum/chat/

Craig

webhost 03-02-2003 09:05 PM

do you have chat and forums in same db? Do you have the correct admin username for chat in index.lib.php3 file?

Craigr 03-02-2003 09:17 PM

Chat and forums are in the same db.

I have the same admin name:

//Replace admin with your administration nick
if($U != "Admin")
{
$PASSWORD="My Password Here";
}

Is this what you mean?

Craig

webhost 03-02-2003 09:20 PM

check your pm

May have to set your cookies in forums admin panel also trying to remember

diettalk 03-13-2003 12:25 PM

Seems Mozilla doesn't like the javascript that this hack uses.. is there a fix?

X-Fan 03-22-2003 01:12 PM

Has anyone come up with a quick and easy step-by-step install/configuration for phpMyChat and having it use a forum's existing user database?

And has anyone come up with a good way to have a site's header/footer surrounding the chatroom in its own window?

SloppyGoat 03-22-2003 06:41 PM

Quote:

07-12-01 at 07:00 AM rmusic said this in Post #7
is there a php4 version of phpmychat because i cant use php3 on my site :(
I found some code that will convert php3 to php, if I can find someone who can figure out how to use it.

https://vborg.vbsupport.ru/showthrea...threadid=50649

X-Fan 03-25-2003 10:50 AM

Bump...

diettalk 03-25-2003 02:13 PM

Quote:

03-22-03 at 03:41 PM SloppyGoat said this in Post #358


I found some code that will convert php3 to php, if I can find someone who can figure out how to use it.

https://vborg.vbsupport.ru/showthrea...threadid=50649

I just created a .htaccess file in the chat directory saying....

<Files *.php3>
ForceType application/x-httpd-php
</Files>

and it worked fine with Apache 2.x

diettalk 03-26-2003 06:12 PM

?

Quote:

03-13-03 at 09:25 AM diettalk said this in Post #356
Seems Mozilla doesn't like the javascript that this hack uses.. is there a fix?


All times are GMT. The time now is 09:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01648 seconds
  • Memory Usage 1,810KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete