danieltm3
08-01-2010, 04:01 AM
Hello.
We are trying to integrate Parachat with VBulletin 4.0. The database has already been setup through the chat_auth.php file. I know it is working because when users login to the chat manually, they can enter their forum user name and password to enter the chat room.
What we are wanting is have an "Auto-Login" to the chat room with their user name and password.
Currently for the Applet Code I have this:
---------
<!-- Begin ParaChat Applet Code -->
<APPLET CODEBASE="http://host7.parachat.com/pchat/applet"
ARCHIVE=papplet.jar CODE=pclient.main.ChatClient.class HEIGHT=400 WIDTH=600>
<PARAM NAME="cabbase" VALUE="*****">
<PARAM NAME="Net.Site" VALUE="*****">
<PARAM NAME="Net.Room" VALUE="*****">
<param name="Ctrl.AutoLogin" value="true">
<param name="Net.User" value="$bbuserinfo[username]">
<param name="Net.UserPass" value="$bbuserinfo[password]">
Sorry, your browser is not Java enabled, please visit
<a href="http://www.parachat.com/faq/java.html">our java support pages</a>
</APPLET>
<!-- End ParaChat Applet Code -->
---------
However this results in an error. I've tried everything in place of the $bbuserinfo[], such as "username" "userid" "user" etc. all to no avail. Any clue on what I should be using?
Thanks in advance!
We are trying to integrate Parachat with VBulletin 4.0. The database has already been setup through the chat_auth.php file. I know it is working because when users login to the chat manually, they can enter their forum user name and password to enter the chat room.
What we are wanting is have an "Auto-Login" to the chat room with their user name and password.
Currently for the Applet Code I have this:
---------
<!-- Begin ParaChat Applet Code -->
<APPLET CODEBASE="http://host7.parachat.com/pchat/applet"
ARCHIVE=papplet.jar CODE=pclient.main.ChatClient.class HEIGHT=400 WIDTH=600>
<PARAM NAME="cabbase" VALUE="*****">
<PARAM NAME="Net.Site" VALUE="*****">
<PARAM NAME="Net.Room" VALUE="*****">
<param name="Ctrl.AutoLogin" value="true">
<param name="Net.User" value="$bbuserinfo[username]">
<param name="Net.UserPass" value="$bbuserinfo[password]">
Sorry, your browser is not Java enabled, please visit
<a href="http://www.parachat.com/faq/java.html">our java support pages</a>
</APPLET>
<!-- End ParaChat Applet Code -->
---------
However this results in an error. I've tried everything in place of the $bbuserinfo[], such as "username" "userid" "user" etc. all to no avail. Any clue on what I should be using?
Thanks in advance!