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)

Shawnn 04-10-2003 04:33 AM

Sorry for the late reply. I gave up for a bit and would like to go at it again I used the index.lib.php3 and changed the info now I'm getting this error

Parse error: parse error, unexpected '}' in /home/virtual/site101/fst/var/www/html/chat/lib/index.lib.php3 on line 901

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

Thanks for the help

floridaideal 04-12-2003 03:27 PM

Hi all

I am having problems with my exit.php , my exit.php3 seems different to the one on this script.

For example:

Look for

<A HREF="<?php echo("$From?Ver=$Ver&L=$L&U=".$U))."&E=".$R))."&EN =$T"); ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>

I don't have it, nearest I have is this:

<A HREF="<?php echo("$From?Ver=$Ver&L=$L&U=".urlencode(stripslash es($U))."&E=".urlencode(strips lashes($R))."&EN=$T"); ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>

But when I change it all I get are these errors:

Parse error: parse error, unexpected ')', expecting ',' or ';' in /home/virtual/site38/fst/var/www/html/forum/chat/exit.php3 on line 64

Anyone got any ideas? I am using the latest version of 14.5 and at the moment my chat seems to refresh itself when I exit, and yes I do have the correct url in the index.lib.php3 file.

Thank you

Stuart

chitown 04-26-2003 10:26 PM

my exit will not exit back to my forum

also how can i get it to open in a different windo?

Loxias 04-27-2003 01:37 AM

Quote:

Today at 07:26 PM chitown said this in Post #364
my exit will not exit back to my forum

also how can i get it to open in a different windo?


Not sure about your exit issue, but just add a target="_blank" for your link to open in a new window.

chitown 04-27-2003 03:18 AM

thank you & i fixed the exit myself

Craigr 04-27-2003 04:04 PM

Quote:

Today at 05:18 AM chitown said this in Post #366
fixed the exit myself
What did you do as the exit doesn't work on mine.

Craig

chitown 04-27-2003 10:22 PM

intstead of this code in the hack

<A HREF="<?php echo("$From?exit=1&Ver=$Ver&L=$L&U=".$U))."&E=".$R ))."&EN=$T"); ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>

i changed it to this

<A HREF="<?php echo("http://www.yourhome.com");"&E=".$R;"&EN=$T"; ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>

dotagious 04-28-2003 12:03 PM

Does anyone have this working on 2.3.0?

Loxias 04-28-2003 09:16 PM

Quote:

Today at 09:03 AM dotagious said this in Post #369
Does anyone have this working on 2.3.0?

Yep

dotagious 04-29-2003 05:48 AM

Quote:

Yesterday at 06:16 PM Loxias said this in Post #370
Yep
Any troubles? Did you have to do anything other than follow the instructions in the first post of this thread?

Loxias 04-29-2003 11:04 PM

The only other thing I did was install the who's chatting hack. But that's after the chat room was setup. This is what I did:

1) Install Chat
2) Followed instructions to integrate vB db
3) Installed who's chatting

Things went smoothly for both hacking parts.

dotagious 04-30-2003 02:59 AM

Great, thanks Loxias. :)

Craigr 04-30-2003 12:55 PM

Quote:

04-28-03 at 12:22 AM chitown said this in Post #368
intstead of this code in the hack

<A HREF="<?php echo("$From?exit=1&Ver=$Ver&L=$L&U=".$U))."&E=".$R ))."&EN=$T"); ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>


i changed it to this

<A HREF="<?php echo("http://www.yourhome.com");"&E=".$R;"&EN=$T"; ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>

Thanks, i'll give it a go.

Craig

floridaideal 05-03-2003 08:11 AM

This is a wonderful chat hack and with the users chatting online at the top of the forum index really helps push more users into it BUT.....

Can someone please tell me how I can add 'Users Chatting Online' to other parts of the forum, for example 'View New Posts' and at the top of every forum (or sub forum).

Can this be done please?

Thank you

Stu

gmarik 05-17-2003 08:59 PM

Ñòàñ, íàäî ïåðåïèñàòü êîå ÷òî...

veedee 05-21-2003 05:55 PM

I have a few questions:

1) Is this the best PHPMyChat integration hack?

2) Does anyone have a demo they can show / PM me?

3) Wiih the impending release of vB3, will it mean this hack becomes obsolete, when I upgrade to vB3?

4) Roughly how long will this take to install?

5) Does anyone have the "latest" version of this hack?

Thanks a lot,

Ben

kaotic 05-22-2003 04:32 PM

yes, http://chat.legacynexus.com, probably, not long for me, yes

veedee 05-22-2003 04:40 PM

Thanks, your chat link doesn't work.

Do you have the URL to the latest version?

Regards,

X-Fan 05-24-2003 02:52 PM

Okay, this is bizarre. I've set up phpMyChat on my server with this vB integration, but I can't get into the chat. I've set up multiple admins, and the other admins can get in but I get held up on the "You typed a incorrect password." which is weird as I didn't have to type one originally to get in, it was automatic!

I can edit my profile and log into the chat admin, but I can't get into the chat proper. My chat username/password I set to be the same as my forum username/password, but every time I enter my username/password under the "Please set..." section, it just goes back to the same page with the same "incorrect password" error.

Please help!!!

X-Fan 05-24-2003 03:00 PM

Weirder still... I changed my phpMyChat username, and it lets me straight into the chatroom now but under my forums username!

Bizarre...

veedee 06-01-2003 06:44 PM

Hi guys,

I've installed the default chat here: http://visordown.com/chatroom/phpMyChat.php3

I did install it in another location but cocked it up trying to do this hack.

Can anyone help me out, like offer me some support via msn messenger or something?

veedee 06-04-2003 11:16 PM

Can *anyone* help out?

Please..


http://www.visordown.com/chatroom/chat/index.php3

I am lost and don't know how to get this working.

movielist 06-09-2003 03:06 PM

quick question...

got mine all working great, but...

i see that it removes spaces from user names. (this is good)

Any idea how i can get it to remove apostrophes (') from names?
(i would think it's fairly simple, but cant do it myself)

trilOByte 07-19-2003 11:09 PM

Great hack. Works fine with vB3 beta 4 too. :)

I wrote up a "who's in chat" addon that is basically a mod of one of the distro files.

See here:

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

diettalk 07-20-2003 04:44 PM

I'd still like to see this hack updated to incorporate more browsers....

djnth 08-01-2003 06:18 AM

Ok I have installed the hack. But I keep getting the NO message. I thought I read somewhere in the thread that I have to use the same database as VB, but it doesn't say anything about this on the first post. If I do have to use the same database, could somebody please explain to me how to do this? I installed phpMyChat via the CPanel control panel my host provides, and I have no Database knowledge at all.

my forum http://www.teenaz.com/forum
phpmychat http://www.teenaz.com/chat/chat/index.php3

this is the error I'm getting:
Fatal error: Call to undefined function: pereg_replace() in /home/rephil/public_html/chat/chat/lib/index.lib.php3 on line 116

Thanks.

DJNTH

djnth 08-03-2003 01:35 AM

Is there anyone that can answer this question for me? Thanks a ton!!

DJNth

Ig@r 08-11-2003 03:39 AM

Who can ansver how to prevent banned users from entering the chat? Please! :)

JamesFrost 12-24-2003 10:32 AM

Quote:

Who can ansver how to prevent banned users from entering the chat? Please
I just add them as a 'user' in phpmychat with a password that they dont know. The integration hack tries to pass the password through and it denies them entry. A bit messy, but it works (if the username is over 8 chars you have to modify it manually in MySQL)

Smitty 12-30-2003 06:32 PM

Anyone have this running on Gamma?

Smitty 01-23-2004 09:27 AM

Quote:

Originally Posted by JamesFrost
I just add them as a 'user' in phpmychat with a password that they dont know. The integration hack tries to pass the password through and it denies them entry. A bit messy, but it works (if the username is over 8 chars you have to modify it manually in MySQL)

Anyone using this on RC3?

Edit: never mind. Sorry. I found these:
https://vborg.vbsupport.ru/showthread.php?t=59592
https://vborg.vbsupport.ru/showthread.php?t=55432

danrak 01-26-2004 07:56 PM

Can anyone help with a user that is getting this error message?

Database error: Invalid SQL: UPDATE c_users SET u_time = 1075093417 WHERE room = 'Default' AND name = 'slemaire195'
MySQL error: 1054 (Unknown column 'name' in 'where clause')
Session halted.

LaserRST90 03-11-2004 12:12 AM

Can anyone help me with this, I am useing VB 2.2.9 with phpMychat version 0.14.5 I am getting the following error after installing the hacks
Code:

Parse error:
parse error in /usr/home/web/users/a0012371/html/forums/chat/lib/index.lib.php3 on line 59

Fatal error:
Call to undefined function: send_headers()in /usr/home/web/users/a0012371/html/forums/chat/index.php3 on line 20

Any help would be greatly appreciated.

MikeAssad 03-11-2004 06:24 PM

I keep getting a blank screen

http://www.scottandcasey.org/chat/

what could be the problem???


All times are GMT. The time now is 10:59 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.01528 seconds
  • Memory Usage 1,809KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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