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)

christina 02-28-2002 01:09 PM

My www site is on the DSL line and the beta site is at VO. I can't tell huge speed differences and I don't even have caching or gzip on the one on the DSL yet. I hope the beta doesn't get slower once I make it the main one.

ANYWAY, I should let us return to the topic at hand. Thanks!

eg_92901 02-28-2002 06:23 PM

Does anybody else have some sort of refresh problem? Everything works great except sometimes it repeats what you type over and over.

Seems like only I can see it and the others on the chat can't. Yet at the same time their text is repeating and I don't see it. If you refresh the chat room it goes back to normal only to do it again soon after.

???

christina 03-01-2002 06:54 PM

Dave,

I had a question on this...

Do you have to dump the tables from the phpMyChat database and then load them in to the vB forums database? Or do you just have to create some blank tables with the same names?

TIA!
Quote:

Originally posted by SneakyDave
OK, here is what I've done. I've created a separate script for phpMyChat and vBulletin integration. It includes the hacks discussed here, and should work well for more people. I've made a few small enhancements, and added a few installation notes.

Some points of interest.
1) These files are all .php extensions.
2) No chat registration exists, including administration. You can create rooms in the setup, but that's it. No private rooms, no banning, etc. That's because the setup that works for me has the "no registration" option on. So if you can handle that, this should work.
3) I can answer the questions I can, but not detailed specifics on phpMyChat or vBulletin.
4) I don't have CVS available for any fixes or changes, if I update anything, I'll post it here.
5) This is of course, an unofficial release of the phpMyChat script, but I've left all documentation intact.

Thanks to phpProbe, Tom, phpMyChat, and vBulletin for great hacks and products.

You can download the zip file here:
http://www.auctioncrotch.com/downloa...download&cid=1


Jamer 03-06-2002 12:49 PM

I love the idea of this!! but I am having a few problems with installing mychat:
Error message I receive is;

Warning: MySQL Connection Failed: Access denied for user: '*************' (Using password: YES) in ./lib/database/mysql.lib.php3 on line 26
Database error: Link_ID == false, connect failed
MySQL error: 0 ()
Session halted.

any idea's how to fix this, then I can start to use it.

Twin-x 03-13-2002 06:27 AM

Hello i have this error.
Quote:

Parse error: parse error in /home/twin-xc/public_html/synthforum/phpchat/chat/lib/index.lib.php3 on line 1

Fatal error: Call to undefined function: send_headers() in /home/twin-xc/public_html/synthforum/phpchat/phpMyChat.php3 on line 20
Can some one explain what i have done wrong?
Thanks in advance.

version 03-13-2002 11:25 AM

i have completely integrated phpmychat with vbulletin on my site. it authenticates via the 'users' table, determines permissions via 'usergroupid' and is also integrated with the gender hack. all commands are working (ie. /kick, /ban, /promote) and has been nicely customized to match the style of my site. come take a look at http://www.enterthemuse.com/ username/password: test

pgowder 03-13-2002 11:38 AM

Can you post how you did the usergroup id part??

version 03-13-2002 12:38 PM

it's not very easy, you have to manually edit each file and replace quite a few hardcoded references to 'perms' to 'usergroupid', and all references of 'a' to '6', 'm' to '7' and 'u' to whatever groupid you have assigned to normal users. you have to either add a few fields into your 'user' table that phpmychat requires (ie. 'latin1', etc), or else edit it out of the files. it's much easier to add it to the DB, in my opinion.

Twin-x 03-15-2002 01:58 PM

Oi it looks great.

Is there any chance you will post your version of this hack?

TIA

JediKNight 03-22-2002 05:00 AM

is it working with 2.2.4?
I tried but it is not working...

Jedi


All times are GMT. The time now is 07:07 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.01511 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)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