The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Can anyone please tell me how integrate RealChat with Vbulletin 3.5.0? I want to password protect the RealChat chat room with the member list from Vbulletin. I know there are a few websites that have successfully done this, but the RealChat support pages are not detailed enough.
Thanks in advance for anyone that can help me Jaime |
#2
|
|||
|
|||
![]()
I used http://www.realchat.com/doc/adv-server-api.html to make a vBadvanced module that only displays to registered users, then used http://www.realchat.com/doc/howto-integration.html to pass the username to the chat room.
|
#3
|
|||
|
|||
![]()
What do you put in replace of the value "BadJohn" in this line <param name="nick" value="BadJohn"> ? Whatever I put in for the value it logs into the chat room as.
Thank you! Jaime |
#4
|
|||
|
|||
![]()
At the top of the applet page, put this to get access to vB's varaibles -
PHP Code:
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
![]()
I log into the message board and have a chat link, when I click on it, it automatically logs me in like it should, but it logs me in as "?php echo $bbuserinfo['username']; ?". Could you tell me why it is doing that?
Thank you! Jaime |
#6
|
|||
|
|||
![]()
Is your applet page a .php and you added the globals code at the top?
|
#7
|
|||
|
|||
![]()
Yes I put the globals at the top of the page and the page is named chat.php.
The page loads now, but doesn't automatically log me in. When it was automatically logging me in before, but as "?php echo $bbuserinfo['username']; ?", I had the page named chat.html. It's chat.php now and it isn't automatically logging me in. Hope this can help you know what the problem is and help me figure it out. Would greatly appreciate it. Thank you! Jaime |
#8
|
|||
|
|||
![]()
Please show the contents of that file.
|
#9
|
|||
|
|||
![]()
<?php
error_reporting(E_ALL & ~E_NOTICE); define('NO_REGISTER_GLOBALS', 1); chdir('/home/myurl.com/forum directory'); require_once('./global.php'); ?> <html> <head> <title>Chat Login Page</title> <link rel="stylesheet" href="styles.css" type="text/css"> <meta name="description" content="RealChat Software"> <meta name="keywords" content="chat, client, server, java, realchat"> </head> <body topmargin=0 leftmargin=0> <center> <!-- Begin: RealChat Client code --> <applet archive = "RealChat.jar" codebase = "." code = "rcs.client.RealChatClient.class" name = "ChatClient" width = "100%" height = "100%" align = "top" alt = "RealChat Client applet" MAYSCRIPT> <param name="nick" value="<?php echo $bbuserinfo['username'];?>"> <param name="embedded" value="yes"> <!-- no java or java disabled --> RealChat client requires Java compatible web browser<br>For more information visit our <a target="_blank" href="http://www.realchat.com/">java chat software</a> support page<br><br><a target="_blank" href="http://www.java.com/"><img src="getjava.gif" alt="Java - Get it now!" width="88" height="31" border="0"></a><br><br>Please click the button above to get the Java plug-in now </applet> <!-- End: RealChat Client code --> <br><br> <small> Please wait for applet to load. </small> </center> </body> </html> |
#10
|
|||
|
|||
![]()
You need to update the chdir line to the path to your forum.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|