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)

Gholsie 02-05-2002 03:00 AM

One of my users keeps getting this error. It's kind of odd because only one person has this issue. Can someone help me figure this out? Here's his error: (2ManyZ's is his username)

Database error: Invalid SQL: SELECT room FROM c_users WHERE username='2ManyZ's' LIMIT1

MY SQL error: 1064 ( You have an error in your SQL suntax near "s" LIMIT 1' at line 1) Session halted.

UPDATE: I was just thinking about this, could this be a result of an apostrophe (') in his username?

Bally 02-05-2002 12:32 PM

Look at the USer name!

It´s: 2ManyZ's

rename the user to 2ManyZs and it will work fine!

Best regards!

Gholsie 02-05-2002 03:57 PM

Thanks....

saab340 02-07-2002 11:14 PM

I got the chat running, but now I need to know how to integrate the Who's chatting to show next to my who's online...

How do I do that?

Gholsie 02-08-2002 01:58 AM

I'd even like to add a block to my phpportals front page that shows who is in the chat room. Anyone know how to do this?

Stasik 02-08-2002 06:09 AM

there is a script coming with phpmychat...

KevinG 02-08-2002 02:43 PM

Quote:

Originally posted by Stasik
there is a script coming with phpmychat...
What do you mean by that?
Are you saying a new phpmychat is coming out now?

Stasik 02-09-2002 09:58 AM

there is a script in phpmychat zip which allows you to see users chatting at the moment

Gholsie 02-09-2002 04:34 PM

Yep, you're right. The file is called chat_activity.php3. It's included with the distribution of phpMyChat. The file is NOT inside your chat directory, but, one back.

It's a cool little program. But, I want to make it work with my phpportals mod in a block. Maybe I'll try to take the code and copy it to a block.

-- Mike
:stoned:

MomofThree 02-14-2002 11:44 AM

I hope someone can help me and hope you have some patience too, because I have only tried to do simple hacks and having problems with this one.

I did exactly what the instructions said and I am getting this error:

Parse error: parse error in /lib/index.lib.php3 on line 741

Fatal error: Call to undefined function: send_headers() in /home/www/theparentclub/tpcchat/index.php3 on line 20


http://www.theparentclub.com/tpcchat/index.php3

Now here's my other question. How do I exactly make the chat show up within my boards? How do I integreate it seemlessly?

Hope someone can help guide me on how to do this.

Thank you so much.


All times are GMT. The time now is 08:03 AM.

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.01817 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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