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)

Fred 08-04-2001 10:40 PM

I like the numbers 2.0.0 rahter than 2.0.3 :)

mojotim 08-04-2001 11:48 PM

When I use the <applet> code in this hack, it just hangs up. Keeps trying to dowload...When I just use the multicity <applet> it's no problem. Anybody have any ideas for me?

blade 08-05-2001 01:30 PM

This is cool, thanks :)

2 questions.

How do you get it to show online uses? I do have vb 2.03 and it doesn't show. Is there a code to insert in loggedonusers?.

And when clicking on "disconnect" it doesn't go to the forums, just to a part having "guest' on it to log back into chat.

Evoir 08-06-2001 05:45 PM

I very much want this to work, but I can't seem to figure it out. I'll go over the steps I did:

I'm running vB 2.03

1) got a multicity account (free)

2) created a new template and called it "chat_hack" and pasted the code that Mark0380 suggested (of course, I used my own multicity account)

Looks like this:
Code:

<!DOCTYPE?HTML?PUBLIC?"-//W3C//DTD HTML 4.0 Transitional//EN"?"http://www.w3.org/TR/REC-html40/loose.dtd">

<HTML>

<HEAD>

<TITLE>$bbtitle?-?Live?Chat</title>

$headinclude

</head>

<body>

$header



<table?border="0"?width="100%"?cellpadding="0"?cellspacing="0"><tr>

<td?width="100%">$navbar<br></TD>

</tr></table>



<div?align="center">

<center>

<applet codebase="http://chat.multicity.com/Chat8/" code="GUIClient.class" width="400" height="500" archive=multichat.jar>

<PARAM?NAME="cabbase"?VALUE="multichat.cab">

<param name="roomid" value="XXXXXXXXXX">

<PARAM?NAME="affiliate"?VALUE="">

<PARAM?NAME="AllowCreateForum"?VALUE="TRUE">

<PARAM?NAME="AppletBackground"?VALUE="#CCCCCC">

<PARAM?NAME="AutoForwardingURL"?VALUE="http://www.curvemag.com">

<PARAM?NAME="BannerImage"?VALUE="">

<PARAM?NAME="Category"?VALUE="6">

<PARAM?NAME="ChatAreaBackground"?VALUE="white">

<PARAM?NAME="ChatAreaForeground"?VALUE="black">

<PARAM?NAME="Description"?VALUE="Private Chat for Curve Magazine">

<PARAM?NAME="Domain"?VALUE="0">

<PARAM?NAME="FontName"?VALUE="Verdana, Arial, Helvetica, sans-serif">

<PARAM?NAME="FontSize"?VALUE="12">

<PARAM?NAME="HelpURL"?VALUE="http://www.multicity.com/support/chat/index.htm">

<PARAM?NAME="hidepassword"?VALUE="TRUE">

<PARAM?NAME="HomepageURL"?VALUE="http://www.curvemag.com">

<PARAM?NAME="Language"?VALUE="EN">

<PARAM?NAME="LocatorEnabled"?VALUE="TRUE">

<PARAM?NAME="ShowLiveChat"?VALUE="T">

<PARAM?NAME="ShowUserInfoLine"?VALUE="FALSE">

<PARAM?NAME="Subject"?VALUE="*Replacing the random threads">

<PARAM?NAME="Translation"?VALUE="FALSE">

<PARAM?NAME="UseGraphicText"?VALUE="F">

<PARAM?NAME="Registered"?VALUE="FALSE">

<param?name="AutoLogin"?value="TRUE">

<param?name="AutoLoginName"?value="abc_{$bbuserinfo[username]}">

Your?browser?does?not?support?Java?applets.

Upgrade?to?a?newer?browser?or?use?the?Options?menu?to?enable?Java.

You?may?also?use?the?link?below?to?access?the?HTML?version?of?your?chat?room.

</APPLET>



</center>



</div>



<!--?Time-->

<table?border="0"?width="100%"?cellpadding="4"?cellspacing="0"><tr>

<td?width="100%"?valign="middle"?align="center"?nowrap><b><smallfont>$timezone</smallfont></b></td>

</tr></table>

<!--?/Time-->


$footer

</body>

</html>

Then, I created a file, calling it "chat.php" and uploaded it into my vB main directory. That file looks like this:
Code:

<??

require(?"global.php"?);?



if(?$bbuserid?)?{?



$user?=?$DB_site->query_first(?"SELECT?username?

FROM?user?

WHERE?userid?=?$bbuserid"?);?

$bbusername?=?$user[?username?];?

eval("dooutput(\"".gettemplate('chat_hack')."\");");?

}?else?{?

eval("dooutput(\"".show_nopermission()."\");");?

}?// end if

?>

When I call the script, I get a blank page:
http://www.curvemag.com/speak/chat.php

Any suggestions? Is it clear what i might be doing wrong?

RobAC 08-06-2001 06:40 PM

Is the path to your global.php file correct?

Evoir 08-06-2001 06:43 PM

[QUOTE]Originally posted by RobAC
Is the path to your global.php file correct?

RobAC 08-06-2001 06:45 PM

You also need to take a look at some of the parameters that you're specifying near the end of the chat room coding from Multicity. This is what I have:

Quote:

<PARAM NAME="Subject" VALUE="*Solid Axle Lounge-Corvette Chat">
<PARAM NAME="Translation" VALUE="TRUE">
<PARAM NAME="UseGraphicText" VALUE="FALSE">
<PARAM NAME="roomid" VALUE="#########">
<PARAM NAME="AutoLogin" VALUE="TRUE">
<PARAM NAME="AutoLoginName" VALUE="{$bbuserinfo[username]}">

Evoir 08-06-2001 07:01 PM

Thanks Rob,

Can you or anyone tell me if my parameters are correct? It seems most weird that the page is BLANK.

Code:

<applet codebase="http://chat.multicity.com/Chat8/" code="GUIClient.class" width="400" height="500" archive=multichat.jar>
<PARAM?NAME="cabbase"?VALUE="multichat.cab">
<PARAM?NAME="roomid" VALUE="xxxxxxxxxx">
<PARAM?NAME="affiliate"?VALUE="">
<PARAM?NAME="AllowCreateForum"?VALUE="TRUE">
<PARAM?NAME="AppletBackground"?VALUE="#CCCCCC">
<PARAM?NAME="AutoForwardingURL"?VALUE="http://www.curvemag.com">
<PARAM?NAME="BannerImage"?VALUE="">
<PARAM?NAME="Category"?VALUE="6">
<PARAM?NAME="ChatAreaBackground"?VALUE="white">
<PARAM?NAME="ChatAreaForeground"?VALUE="black">
<PARAM?NAME="Description"?VALUE="Private Chat for Curve Magazine">
<PARAM?NAME="Domain"?VALUE="0">
<PARAM?NAME="FontName"?VALUE="Verdana, Arial, Helvetica, sans-serif">
<PARAM?NAME="FontSize"?VALUE="12">
<PARAM?NAME="HelpURL"?VALUE="http://www.multicity.com/support/chat/index.htm">
<PARAM?NAME="hidepassword"?VALUE="TRUE">
<PARAM?NAME="HomepageURL"?VALUE="http://www.curvemag.com">
<PARAM?NAME="Language"?VALUE="EN">
<PARAM?NAME="LocatorEnabled"?VALUE="TRUE">
<PARAM?NAME="ShowLiveChat"?VALUE="TRUE">
<PARAM?NAME="ShowUserInfoLine"?VALUE="FALSE">
<PARAM?NAME="Subject"?VALUE="*Replacing the random threads">
<PARAM?NAME="Translation"?VALUE="FALSE">
<PARAM?NAME="UseGraphicText"?VALUE="FALSE">
<PARAM?NAME="Registered"?VALUE="FALSE">
<PARAM?NAME="AutoLogin"?VALUE="TRUE">
<PARAM?NAME="AutoLoginName"?VALUE="{$bbuserinfo[username]}">

Your?browser?does?not?support?Java?applets.
Upgrade?to?a?newer?browser?or?use?the?Options?menu?to?enable?Java.
You?may?also?use?the?link?below?to?access?the?HTML?version?of?your?chat?room.
</APPLET>

also, the chat.php page that I created and uploaded to the vb main directory:

Code:

<??

require(?"global.php"?);?



if(?$bbuserid?)?{?



$user?=?$DB_site->query_first(?"SELECT?username?

FROM?user?

WHERE?userid?=?$bbuserid"?);?

$bbusername?=?$user[?username?];?

eval("dooutput(\"".gettemplate('chat_hack')."\");");?

}?else?{?

eval("dooutput(\"".show_nopermission()."\");");?

}?// end if

?>

does anything look worng?

RobAC 08-06-2001 07:04 PM

Out of curiosity, has this chat room worked for you before incorporating it into this hack?

rockergrrl 08-06-2001 07:06 PM

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?


All times are GMT. The time now is 11: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.01528 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_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