vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   MultiCity Chat Hack (https://vborg.vbsupport.ru/showthread.php?t=18358)

RobAC 08-06-2001 07:07 PM

Quote:

Originally posted by rockergrrl
Anyone know how I could put what people are in the chatroom in forumhome??

Say under current users...

----
Forum: username, username2
Chat: username, username2
----

etc?

Nope. I've been wanting to do this for a while. I believe someone has a hack that will work with JIRC only to do just that.

Evoir 08-06-2001 07:14 PM

Rob,

Well, I have gone to multicity and opened the chat. I clicked on the chatroom and it opens a chat window. I am the only person in it, however.

The weird thing is that chat.php opens a completely blank page. I ahev gone over the steps over and over again. In chat.php, there is just that little bit of code that i wrote above. Is that it? Was there something implied that I am not understanding?

arg.

RobAC 08-06-2001 07:19 PM

Well, I think your problem is the type of chat room you're running. The code that I'm using, I purchased from Multicity and I see minor differences between your chat room code and mine. My code was made to run on my web site in an html document. All the coding with the hack between your version and my version is exactly the same. The differences I'm seeing lie in the java coding for your chat room.

Evoir 08-06-2001 07:27 PM

hmmm.

I haven't paid yet casue they offer a free version and I thought I'd try it.

I loaded the chat stuff on an html page and it works just fine:
http://www.curvemag.com/chat.html

It seems like there is something wrong with my chat.php file. :(

RobAC 08-06-2001 07:34 PM

Let me try something...hold on.

RobAC 08-06-2001 07:38 PM

I have to be honest with you, I can't find anything wrong. Go here: http://corvetteactioncenter.com/forums/chat2.php

RobAC 08-06-2001 07:40 PM

Nevermind, you won't be able to enter because you're not a member of my forums. I used my chat.php file and your chat room code and plugged it in and it worked for me. Here is my chat.php file for your reference:

PHP Code:


require( 
"global.php" ); 

if( 
$bbuserid ) { 

$user $DB_site->query_first"SELECT username 
FROM user 
WHERE userid = 
$bbuserid); 
$bbusername $userusername ]; 
eval(
"dooutput(\"".gettemplate('chat2_hack')."\");"); 
} else { 
eval(
"dooutput(\"".show_nopermission()."\");"); 
// end if 
?> 

Change the chat2_hack to chat_hack

Evoir 08-06-2001 07:44 PM

I get a big blank page. Is that what you get?

I am able to see the chat via a plain html page, but when I try accessing it through the php file, I get nothing. Even on the above link running on your board. Hmmmph.

RobAC 08-06-2001 07:46 PM

Nope, I'm in the room right now.

What are you using for a web browser? Version?

RobAC 08-06-2001 07:49 PM

I get a blank page in Netscape Navigator, but it works in IE. There is definitely a problem with Multicity's code because my forum's chat room runs in Netscape and your's won't and both the the hack coding is the same , but the chat room code that we're using isn't. That's the only thing I can come up with.


All times are GMT. The time now is 12:01 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.01722 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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