The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Realchat Integration
I've managed to find an hack integration with Realchat and Vb.
Note that I did not write the source code. But I had to update it a little bit in order to make it work with Vb3 though. I originally found this at http://forum.net-build.net/showthrea...light=realchat It was in german. It wouldn't work as is. So, I modified a little bit. This worked in Vb 3.0x, not certain about 3.5.x though. Here it goes. Add following to middle of misc.php Code:
// ############################### start chat ############################### if ($_REQUEST['do'] == 'chat') { $$page = intval($HTTP_GET_VARS['page ' ]); if (!$page) $$page = ' '; $$templatesused = "chat$page"; include("./global.php"); eval('print_output("' . fetch_template('chat') . '");'); } And then add a new template called "chat" in your active template set. Code:
<html> <head> <title>Your title</title> </head> <body> $header $navbar <p> <!-- Begin: RealChat Client code --> <applet archive =" RealChat.jar" codebase =" /chat/" code =" rcs.client.RealChatClient.class" name =" ChatClient" width =" 300" height =" 100" align =" top" alt =" RealChat Client applet" MAYSCRIPT> <param name="nick" value="$bbuserinfo[username]"> <param name="canChangeProfile" value="no"> <param name="pLabel1" value="Username:"> <param name="pValue1" value="$bbuserinfo[username]"> <param name="pLabel2" value="Birthday:"> <param name="pValue2" value="$bbuserinfo[birthday]"> <param name="pLabel3" value="Hobbys:"> <param name="pValue3" value="$bbuserinfo[field3]"> <param name="pLabel4" value="Location:"> <param name="pValue4" value="$bbuserinfo[field2]"> <param name="pLabel5" value="Homepage:"> <param name="pValue5" value="$bbuserinfo[homepage]"> <param name="pLabel6" value="email:"> <param name="pValue6" value="$bbuserinfo[email]"> <param name="pLabel7" value="ICQ:"> <param name="pValue7" value="$bbuserinfo[icq]"> <!-- no java or java disabled --> RealChat client requires Java compatible web browser. </applet> <!-- End: RealChat Client code --> </applet> </p> $footer </body> </html> <a href="misc.php?s=$session[sessionhash]&do=chat">Chat now</a> I do not know if this really works. I tried it on my forum and , as far as I can tell, it worked. If anyone is using realchat, mind testing it ? |
#2
|
|||
|
|||
2 comments:
- Did you ask the original coder permission to use his code? - If you did, please post it in the correct Release forum. (as a beta if you're not sure) |
#3
|
|||
|
|||
Not sure if there is an original coder. It was made from a discussion.
Besides, this was made in late 2002 and the user who contributed the most was last online back in 2002. His total post count is 3. I am not even sure if I can get a hold of him. The code was too old to be used in Vb3. I believe it was for Vb2. But I will try to contact. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|