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)

Stasik 11-18-2001 04:22 PM

Quote:

Originally posted by dbdbdbdb
Hi Stasik,

first, thanks for this hack! :) I hope I'll be able to give something back to the community of vbhackers.

And here is my question:

I don't get it working. I can't get rid of the "no".

What I did:

First I installed the chat in a second database, so now i use the same as vbulletin.

I've set "Registration of users" to:
define("C_REQUIRE_REGISTER", '0');
define("C_EMAIL_PASWD", '0');

I've got clean tables. Just myself in "c_reg_users" with the same password and the same username as in my forum.

In index.lib.php3 I configured:

chdir("/homepages/htdocs/forum/");
require("./global.php4");
chdir("/homepages/htdocs/chat/");

I cleaned all my cookies, reloged in again and again, but I can't get rid of the "no". Why?

Please help. I've been searching for ages... ;)

dbdb

Ps: I am able to login admin.php3, but there are no rooms listed (to clean up).

PS: I had phpmychat working before, but did a clean install.

First.. make sure, cookies can work on your chat domain (better you use same domain name as forum)
Second: make sure vb saves cookies....

pgowder 11-18-2001 05:16 PM

What type of admin functions can be done in this chat room?

Can moderators ban users? Edit things?

When I go into admin.php3, should all my users show up there as registered users? It is empty?

thanksa

webhost 11-18-2001 05:19 PM

click the "?' in chat

pgowder 11-18-2001 05:21 PM

Thanks, I see all the commands now.

What about the users, should they show up?

webhost 11-18-2001 05:26 PM

As far as users that have logged into your forum then when they go into the chat room then yes there name should should show up in chat like ours did when we were there. I don't believe however that the user names will showup in the chat admin panel, Don't see how they can because they do not show up in the chat user table anymore because you are now using the forum user table.

pgowder 11-18-2001 05:28 PM

Ok, that makes sense!

Thanks!

pgowder 11-18-2001 06:57 PM

I'm testing out the chat room now. I just tried to kick someone out.

But it said I wan't a moderator. Does it not pick up the moderators from vb?

Stasik 11-18-2001 07:27 PM

You have to put you nickt to the hack part

pgowder 11-18-2001 07:28 PM

Can you explain that? I don't understand?

pgowder 11-19-2001 02:00 AM

Ok, I replaced nickname with my username on vb. But I still can't make announcements etc.

???


All times are GMT. The time now is 05:03 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.01279 seconds
  • Memory Usage 1,735KB
  • 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